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/26 11:19] clangephase2:phase2 [2015/03/02 14:05] (current) clange
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, which is browsable [[https://github.com/clelange/Delphes|here]] or [[https://github.com/delphes/delphes|here]] for the official version) by just following the steps [[https://github.com/clelange/Delphes/fork|here]] 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 34: Line 34:
 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 46: 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 64: 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 70: 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 please fork the repository by clicking [[https://github.com/clelange/tkgeometry/fork|here]] and then do:+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
   git clone git@github.com:`git config user.github`/tkgeometry.git   git clone git@github.com:`git config user.github`/tkgeometry.git
Line 76: Line 84:
 and do  and do 
   source setup_slc6.sh   source setup_slc6.sh
 +  mkdir lib
   make   make
   mkdir -p www/layouts   mkdir -p www/layouts
-You will then have to adjust the tklayout.config file, simply replace the username. Then type:+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 
 +  * Web server directory: $HOME/Phase2UpgradeStudies/tkgeometry/www/layouts 
 +  * Standard output directory: $HOME/Phase2UpgradeStudies/tkgeometry 
 +  * List of transverse momenta to be used for tracking 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 
 +Then type:
   make install   make install
 Try running tkLayout: Try running tkLayout:
Line 117: 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.1422267577.txt.gz · Last modified: 2015/01/26 11:19 by clange