Tracker Material Budget plots

Goal

Aim of this page is to provide instructions to produce 2-D plots and maps about material budget distribution in the tracker.

A more complete review of the tools available is accessible here.

Download the release and the packages.

For the CMSSW_5_X_Y release:

cmsrel CMSSW_5_2_5
cd CMSSW_5_2_5/src
cmsenv
cvs co -r V03-03-15 Validation/Geometry
scramv1 b

For the CMSSW_6_X_Y release:

cmsrel CMSSW_6_2_0_pre3
cd CMSSW_6_2_0_pre3/src
cmsenv
cvs co -r V03-03-17 Validation/Geometry
scramv1 b

2-D plots

Step 1: produce the "neutrino gun" sample.

cd Validation/Geometry/python

Modify the single_neutrino_cfg.py file in order to produce a sample of 100,000 neutrinos. Then, run the file and move the single_neutrino_random.root output file in the test folder.

cmsRun single_neutrino_cfg.py
cd ../test
mv ../python/single_neutrino_random.root .

Step 2: produce the "matbdg_*.root" files.

cmsRun runP_*_cfg.py

where * = BeamPipe, InnerServices, PixBar, PixFwdMinus, PixFwdPlus, TEC, TIB, TIDB, TIDF, TOB, TkStrct.

Step 3: produce the material budget distribution plots.

Finally, you can run the macro MaterialBudget_TDR.C by root:

root -l
.L MaterialBudget_TDR.C
MaterialBudget_TDR();

In the first lines of the MaterialBudget_TDR() function you can choose which plot to produce with the function createPlots() simply commenting the plots you don't want to produce. You can also choose the output files, actually available as eps, gif, pdf, png, root, C. You will find the output files in the directory named Figures.

  • Material budget of the CMS tracker in units of radiation length X0
    Tracker_SubDetectors_x_vs_eta.png

  • Material budget of the CMS tracker in units of hadronic interaction lengths λI
    Tracker_SubDetectors_l_vs_eta.png

Material budget maps

Step 1: produce the "neutrino gun" sample.

cd Validation/Geometry/python

Modify the single_neutrino_cfg.py file in order to produce a sample of neutrinos. You can have a bad plot resolution, so you have to coherently set the parameters in the MaterialBudgetTrackerHistos.cc file in the src folder. The relevant histos to built this plot are named 30 and 1030. A good choice is then:

  1. A sample of 1,000,000 neutrinos with 250 bins in η (-5,5) and 180 bins in φ (-3.1416, 3.1416). This is the default set with a very good resolution but it need some time.
  2. A sample of 200,000 neutrinos with 100 bins in η (-5,5) and 90 bins in φ (-3.1416, 3.1416). It is faster, with a good resolution.

gedit single_neutrino_cfg.py ../src/MaterialBudgetTrackerHistos.cc &
cd ../../../
scramv1 b
cd -

Then, run the single_neutrino_cfg.py file and move the single_neutrino_random.root output file in the test folder.

cmsRun single_neutrino_cfg.py
cd ../test
mv ../python/single_neutrino_random.root .

Step 2: produce the "matbdg_Tracker.root" file.

cmsRun runP_Tracker_cfg.py

Step 3: produce the material budget maps.

Finally, you can run the macro MaterialBudget_Maps.C by root:

root -l
.L MaterialBudget_Maps.C++
MaterialBudget_Maps();

You can choose the output files, actually available as eps, gif, pdf, png, root, C. You will find the output files in the directory named Figures.

  • Material budget η-φ map of the CMS tracker in units of radiation length X0
    EtaPhiMap_x0.png

  • Material budget η-φ map of the CMS tracker in units of hadronic interaction lengths λI
    EtaPhiMap_lambdaI.png

links

-- SandroGonzi - 20-Jul-2012

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng EtaPhiMap_lambdaI.png r1 manage 96.1 K 2012-10-19 - 10:30 SandroGonzi Material budget η-φ map of the CMS tracker in units of hadronic interaction lengths λI
PNGpng EtaPhiMap_x0.png r1 manage 91.6 K 2012-10-19 - 10:31 SandroGonzi Material budget η-φ map of the CMS tracker in units of radiation length X0
PNGpng Tracker_SubDetectors_l_vs_eta.png r1 manage 32.6 K 2012-10-08 - 12:31 SandroGonzi Material budget of the CMS tracker in units of hadronic interaction lengths λI
PNGpng Tracker_SubDetectors_x_vs_eta.png r1 manage 30.1 K 2012-10-08 - 12:38 SandroGonzi Material budget of the CMS tracker in units of radiation length X0
Edit | Attach | Watch | Print version | History: r13 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2014-10-07 - GiacomoSguazzoni
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback