Compiling Modified Pixel Simulation and Tracking
This will compile a modified version of the pixel digitizer which
allows you to turn off various parts of the pixel detector. It
will also compile the LPC Tracking Group's code (see LPC instructions if you want).
- The name of the ntuple executable will be Example.
- The compiling the pixel simulation will give you a shared lib
that will be loaded by writeAllDigis at runtime
- Compile the code
# . /opt/cms/setup/bashrc
. /storage2/cms/setup/bashrc
export CVSROOT=:pserver:anonymous@cdcvs.fnal.gov:/cvs/lpc
scram project ORCA ORCA_8_7_3
cd ORCA_8_7_3/src
cvs co -d Workspace Tracking/Workspace
cvs co -d TrackerReco Tracking/TrackerReco
cvs co -d Tracker Tracking/Tracker
eval $(scram runtime -sh)
scram b
cd Workspace
scram b
eval $(scram runtime -sh) - Check to make sure that you will get the modified pixel digitizer when you run writeAllDigis
cd ..
The result of this should look something like:
which writeAllDigis
ldd $(which writeAllDigis) | grep libTkSiPixelDigitizerlibTkSiPixelDigitizer.so => /opt/home/aarond/Tracking/ORCA_8_7_3/lib/slc3_ia32_gcc323/libTkSiPixelDigitizer.so (0x00a54000)
- To run the modified pixel digitizer you can add lines to your orcarc file that writeAllDigis uses like this:
PixelDigitizer:Barrel0Efficiency = 0 PixelDigitizer:Barrel1Efficiency = 0 PixelDigitizer:Barrel2Efficiency = 0 PixelDigitizer:Forward0Efficiency = 0 PixelDigitizer:Forward1Efficiency = 0