|
|
Prerequisites are two CMSSW packages (no need to compile them with scramv1):
IORawData/CSCCommissioning
EventFilter/CSCTFRawToDigi
To install them on lxplus you need to execute following commands:
scramv1 project CMSSW CMSSW_X_Y_Z
cd CMSSW_X_Y_Z/src/
project CMSSW
eval `scramv1 runtime -csh`
cvs checkout -P IORawData/CSCCommissioning
cvs checkout -P EventFilter/CSCTFRawToDigi
cd EventFilter/CSCTFRawToDigi/test/
Compile the standalone binary:
g++ -o test test.cc -I../../../
Run it on the CSC Local DAQ file:
./test csc_*_EmuRUI00_Monitor_*.raw
You may see printout of this type:
Event: 91837 SP10 L1A=9594695 BXN=2552 Orbit counter=662282612
Endcap: 1 sector: 3 tbin: 3 nLCTs: 2 ( F3/CSC8:{w=30,s=53} F4/CSC8:{w=31,s=137} )
Track(s) at BX=: 2552 mode=15
Here 0≤'tbin'≤7, 'w' - key wire group, 's' - key strip
Similar can be done on .cms machines if you set the environment:
source ~csctfpro/scripts/setroot.sh
|
The CSCTF events could be visualized on root canvas. Set up your environment as it is done in previous example and compile another standalone binary:
/afs/cern.ch/cms/sw/slc4_ia32_gcc345/external/gcc/3.4.5-CMS8/bin/g++ -o show show.cc `root-config --cflags` `root-config --glibs` -I../../../
On .cms machines you can use the default compiler: g++ -o show show.cc `root-config --cflags` `root-config --glibs` -I../../../
(don't forget to initialize the environment with source ~csctfpro/scripts/setroot.sh)
The program controlled with the cursor keys (make sure the terminal window is active) and `q` for quit.
|
|
|
|