Updated EEMC Calibration Code
For detailed instructions, please read the attached document. I am also posting the source document in case someone would like to edit it in the future (sorry I was lazy and used Word).
Some other useful info:
Notes on Calibration Scheme
- http://www.star.bnl.gov/public/eemc/calibration/run4/calibUnits/ has physics background
- http://web.mit.edu/rhic-spin/public/eemc-bnl/calibration/ has lots of links, perhaps the most useful is http://web.mit.edu/rhic-spin/public/eemc-bnl/calibration/run4/smdMip00xx00/
- http://www.star.bnl.gov/public/eemc/calibration/run5/absMipCal/ for run 5 is pretty useful
- http://www.star.bnl.gov/public/eemc/calibration/run2006/cal2006/ has run 6 results from Scott.
Some other useful references on particle detectors are the pdg reviews below:
- http://pdg.lbl.gov/2009/reviews/rpp2009-rev-passage-particles-matter.pdf
- http://pdg.lbl.gov/2009/reviews/rpp2009-rev-particle-detectors-accel.pdf
Old blog page with pre-cvs instructions: http://drupal.star.bnl.gov/STAR/blog/aliceb/2010/may/27/eemc-calibration-tips
Brief instructions
Step 1: Get code and compile in a fresh directory
mkdir myCal
cd myCal
cvs co offline/users/aliceb/StRoot/StEEmcPool/StEzSmdCal
mv offline/users/aliceb/StRoot .
mv StRoot/StEEmcPool/StEzSmdCal/lists/ .
mv StRoot/StEEmcPool/StEzSmdCal/Sched/ .
mv StRoot/StEEmcPool/StEzSmdCal/macros/createLinks.pl .
createLinks.pl <dir where all out put will go>
stardev
cons
Step 2: Get run lists
cd lists
get_run_lists.pl run9GoodRuns.lis
cd ../
Step 3: Submit jobs
cd Sched
submit.pl lists/run9GoodRuns.lis 0
cd ../
--wait for jobs to finish---
Step 4: Add together histograms from myCal directory
macros/addIteration.sh 0
Note: this is slow and takes a long time due to large number of runs
Next step depends on what you want to do. Generally you will be running either smd fits, pre/post fits, or tower fits. Each of these has a macro a script to run it.
SMD Fits - macros/doSmdGains.C & macros/fitSlopes.sh
Pre/post Fits - macros/doTileGains.C & macros/fitPrePost.sh
Tower Fits - macros/doTowerGains.C & macros/fitTowers.sh
run with, for example, from your myCal directory:
macros/fitSlopes.sh 0
In the main cvs reposity you will find other macros for plotting with the code originally written by Jan.
- aliceb's blog
- Login or register to post comments