User Tools

Site Tools


phase2:phase2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
phase2:phase2 [2015/01/22 19:18] taarrephase2:phase2 [2015/03/02 14:05] (current) clange
Line 12: Line 12:
 There is an FAQ for CMSSW (http://cms-sw.github.io/faq.html), which is not needed for this tutorial, but you should make sure that you added your private ssh key to your github account as detailed here: https://help.github.com/articles/generating-ssh-keys/ There is an FAQ for CMSSW (http://cms-sw.github.io/faq.html), which is not needed for this tutorial, but you should make sure that you added your private ssh key to your github account as detailed here: https://help.github.com/articles/generating-ssh-keys/
  
 +If you don't have a wiki account (it should be your standard username e.g. like the one at PSI) yet, please send Clemens a mail so he can create one for you.
  
 ===== Delphes =====  ===== Delphes ===== 
Line 18: Line 18:
   * There exists a CMS "short-version" and an official version of Delphes. We are going to use the CMS version as this contains Detector Cards for the Phase 2 detector layout with 140 PU.   * There exists a CMS "short-version" and an official version of Delphes. We are going to use the CMS version as this contains Detector Cards for the Phase 2 detector layout with 140 PU.
   * Instrucions on how to set up the CMS Delphes version can be found [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/HiggsWG/Phase2UpgradeStudies#Recommended_tag_and_version|here]]. A summary is given below.    * Instrucions on how to set up the CMS Delphes version can be found [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/HiggsWG/Phase2UpgradeStudies#Recommended_tag_and_version|here]]. A summary is given below. 
-Fork the code from Git [[https://github.com/clelange/Delphes|here]] (or [[https://github.com/delphes/delphes|here]] for the official version) before cloning it to your local directory.+Fork the code from Git, which is browsable [[https://github.com/UZHCMS/Delphes|here]] or [[https://github.com/delphes/delphes|here]] for the official version) by just following the steps [[https://github.com/UZHCMS/Delphes/fork|here]] before cloning it to your local directory.
  
 Log into an SLC6 computer (t3ui12). Do yourself a favour and be organized: Log into an SLC6 computer (t3ui12). Do yourself a favour and be organized:
Line 28: Line 28:
   cd CMSSW_5_3_24/src   cd CMSSW_5_3_24/src
   cmsenv   cmsenv
 +  cd ../..
  
-Clone a copy of the repository  +Clone a copy of the repository: 
-  git clone git@github.com:clelange/Delphes.git+  git clone git@github.com:`git config user.github`/Delphes.git
 Build Build
   cd Delphes/   cd Delphes/
-  git checkout tags/21Jan2015 
   ./configure   ./configure
 Follow the instructions (i.e. remember to export PYTHIA8), and compile: Follow the instructions (i.e. remember to export PYTHIA8), and compile:
Line 45: Line 45:
   cmsenv   cmsenv
   export PYTHIA8=$HOME/Phase2UpgradeStudies/CMSSW_5_3_24/src/Delphes/external/pythia8201   export PYTHIA8=$HOME/Phase2UpgradeStudies/CMSSW_5_3_24/src/Delphes/external/pythia8201
-  cd Delphes+  cd ../../Delphes
  
 Depending on what type of input files you want to use, different readers are used. For CMS ROOT files the syntax is Depending on what type of input files you want to use, different readers are used. For CMS ROOT files the syntax is
Line 63: Line 63:
   Delphes->Draw("Electron.PT");   Delphes->Draw("Electron.PT");
   TBrowser browser;         TBrowser browser;      
-The different branches of the "Delphes" tree are listed [[ https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/RootTreeDescription|here]]. For macro based analysis look in the [[https://cp3.irmp.ucl.ac.be/projects/delphes/browser/examples|examples/]] directory. Example1.C gives a simple example of histogram booking, event loop and histogram display. Check the [[https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook|WorkBook]] for more advanced examples.+The different branches of the "Delphes" tree are listed [[ https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/RootTreeDescription|here]]. For macro based analysis look in the [[https://cp3.irmp.ucl.ac.be/projects/delphes/browser/examples|examples/]] directory. Example1.C gives a simple example of histogram booking, event loop and histogram display. Check the [[https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook|WorkBook]] for more advanced examples. \\ 
 + 
 +An analysis macro is already available: 
 +   cp /shome/thaarres/Share/Phase2/Analysis.C ~Delphes/examples 
 +   cp /shome/thaarres/Share/Phase2/Analysis.cpp ~Delphes/examples 
 + 
 +Do 
 +   ./configure 
 +   make 
  
 ===== tKLayout ===== ===== tKLayout =====
Line 69: Line 78:
  
 ===tkLayout with Delphize === ===tkLayout with Delphize ===
-In order to convert the tkLayout output to a format compatible with Delphes, Delphize is used. This tool only exists in the version used for the CUPS school and is not in the official release of tkLayout. To obtain the version containing Delphize do (obs! tkLayout currently works on t3ui12, NOT on t3ui15!) +In order to convert the tkLayout output to a format compatible with Delphes, Delphize is used. This tool only exists in the version used for the CUPS school and is not in the official release of tkLayout. To obtain the version containing Delphize please fork the repository by clicking [[https://github.com/UZHCMS/tkgeometry/fork|here]] and then do: 
-   cd $HOME/Phase2UpgradeStudies +  cd $HOME/Phase2UpgradeStudies 
-   svn checkout http://tkgeometry.googlecode.com/svn/branches/cups2014.2 tkgeometry +  git clone git@github.com:`git config user.github`/tkgeometry.git 
-   cd tkgeometry +  cd tkgeometry
-In setup_slc6.ch, exchange the line +
-    source /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.09/x86_64-slc6-gcc47-dbg/root/bin/thisroot.sh +
-with +
-    cd /swshare/ROOT/root_v5.34.18_slc6_amd64_py26_pythia6; export LD_LIBRARY_PATH=/swshare/ROOT/pythia6/pythia6:$LD_LIBRARY_PATH; source bin/thisroot.sh; cd -+
 and do  and do 
-   source setup_slc6.sh +  source setup_slc6.sh 
-   make +  mkdir lib 
-   make install +  make 
-   mkdir -p www/layouts  +  mkdir -p www/layouts 
-You will then be asked where you want to place your executables and outputSome examples+You will then have to adjust the tklayout.config file, simply replace the username. It contains the following info, where the default is:
   * Executables: $HOME/Phase2UpgradeStudies/tkgeometry/bin   * Executables: $HOME/Phase2UpgradeStudies/tkgeometry/bin
   * Web server directory: $HOME/Phase2UpgradeStudies/tkgeometry/www/layouts   * Web server directory: $HOME/Phase2UpgradeStudies/tkgeometry/www/layouts
Line 89: Line 94:
   * List of transverse momenta to be used for trigger efficiency performance test: 1.00, 10.00, 100.00, 500.00, 1000.00   * List of transverse momenta to be used for trigger efficiency performance test: 1.00, 10.00, 100.00, 500.00, 1000.00
   * List of trigger efficiency to be used: 1,50,90,95   * List of trigger efficiency to be used: 1,50,90,95
-This list will be stored in $HOME/.tklayout.config.\\ +Then type
-Now open setup_slc6.sh in your favorite editor and add the lines+  make install
-  export TKGEOMETRYRC=$HOME/.tklayout.config +
-  export PATH=$PATH:$HOME/Phase2UpgradeStudies/tkgeometry/bin +
-Open bin/delphize and change +
-    source ~/tklayout.env  +
-to +
-    source ~/Phase2UpgradeStudies/tkgeometry/setup_slc6.sh+
 Try running tkLayout: Try running tkLayout:
-    cd geometries/BarrelEndcap_Nick2013/Traditional/ +  cd geometries/BarrelEndcap_Nick2013/Traditional/ 
-    tklayout -r TechnicalProposal2014.cfg+  tklayout -r TechnicalProposal2014.cfg
 The output is stored in $HOME/Phase2UpgradeStudies/tkgeometry/www/layouts (if this is what you set as your web server directory). For a "visual impression", open the file index.html The output is stored in $HOME/Phase2UpgradeStudies/tkgeometry/www/layouts (if this is what you set as your web server directory). For a "visual impression", open the file index.html
-    firefox index.html+  firefox index.html
 You can now do You can now do
-    delphize+  delphize
 This will list the available resolution files produced by tkLayout that can be converted to Delphes configuration files. For example: This will list the available resolution files produced by tkLayout that can be converted to Delphes configuration files. For example:
     [thaarres@t3ui12 Traditional]$ delphize     [thaarres@t3ui12 Traditional]$ delphize
Line 118: Line 117:
 Bens local copies of tkLayout and Delphes can be found at **linux.physik.uzh.ch:/home/hep/bjk/cups** with a short description from Ben [[phase2:BensNotes|here]]. Bens local copies of tkLayout and Delphes can be found at **linux.physik.uzh.ch:/home/hep/bjk/cups** with a short description from Ben [[phase2:BensNotes|here]].
  
-======= Tasks ======= +===== Tasks =====
- +
-===== Necessary pre-steps ===== +
-We need to have certain ingredients in order to start making our cake.  +
-=== Impact parameter list : === +
-Need a way to : +
-   * export impact parameter resolutions from tklayout +
-   * import impact parameter resolutions into our analysis code +
-   * to calculate impact parameters in analysis +
-   * smear impact parameter resolutions in analysis code +
-   * calculate a b-tagger based on impact parameters +
- +
-=== Analysis list === +
-Need a way to : +
-   * jet selection +
-   * flavor identification of jets from truth level +
-   * b-jet identification & selection +
-   * measure efficiency of b-tagger on light jets, b-jets, charm jets +
-   * tune b-tagger to give us expected phase 2 b-tagging performance +
-   * muon selection +
-   * electron selection +
-   * photon selection +
-   * tau selection +
-   * MET selection +
- +
-=== tklayout list ===  +
-Need a way to : +
-   * double material +
-   * reduce pixel resolution +
-   * remove pixel layers +
-   * move pixel layers +
-   * rotate pixel layers +
-   +
  
 +See [[phase2:experts|Experts list]]
  
 ===== Additional material ===== ===== Additional material =====
Line 165: Line 133:
   * [[https://github.com/delphes/delphes|Official Delphes on Git]]   * [[https://github.com/delphes/delphes|Official Delphes on Git]]
   * [[https://indico.cern.ch/event/363441/|Phase 2 Upgrade Workshop Indico]]   * [[https://indico.cern.ch/event/363441/|Phase 2 Upgrade Workshop Indico]]
-  * [[http://iopscience.iop.org/1748-0221/9/03/C03054/pdf/1748-0221_9_03_C03054.pdf| description of tklayout]]+  * [[https://twiki.cern.ch/twiki/bin/view/CMS/TkLayout| tklayout CMS twiki]] 
 +  * [[https://code.google.com/p/tkgeometry/wiki/ConfigFilesOverview | tkgeometry description]] 
 +  * [[http://iopscience.iop.org/1748-0221/9/03/C03054/pdf/1748-0221_9_03_C03054.pdf| tklayout paper]]
   * [[phase2:old_phase2|Link to old Delphes instructions]]   * [[phase2:old_phase2|Link to old Delphes instructions]]
   * [[phase2:old_tklayout|Old tkLayout instructions (without Delphize)]]   * [[phase2:old_tklayout|Old tkLayout instructions (without Delphize)]]
 +  * [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/VFPix#Strawman_geometry_5|Description of Roland design - strawman 5]]
 +  * [[https://git.cern.ch/web/CMS-VFPIX.git/blob/HEAD:/TklayoutConfigs/Pixel/PixelStrawman_5.cfg|Roland VFPIX design]]
phase2/phase2.1421950730.txt.gz · Last modified: 2015/01/22 19:18 by taarre