- balewski's home page
- Posts
- 2013
- 2012
- 2011
- 2010
- 2009
- December (4)
- November (1)
- October (5)
- September (6)
- August (1)
- July (1)
- June (1)
- May (2)
- April (5)
- March (5)
- February (4)
- January (6)
- 2008
- December (1)
- November (1)
- September (3)
- July (1)
- June (4)
- April (2)
- March (2)
- February (3)
- January (2)
- 2007
- October (1)
- My blog
- Post new blog entry
- All blogs
FGT code - instructions
Producing peds+stat plots from daq file using Stephen's code
The macro is
offline/StFgtDevel/StRoot/StFgtStatusMaker/macro/makeFgtPedAndStat.C
Typical example of how to run is like
root4star -b -q makeFgtPedAndStat.C'("st_physics_13015009_raw_0010001.daq","st_physics_13015009_raw_0010001",2000)'
Set A2C maker to preserve al input ADC values
a2cMkr = new StFgtA2CMaker( "a2cMaker" );
a2cMkr->setTimeBinMask( 0xFF );
a2cMkr->setAbsThres( 100 ); // set to below -4096 to skip cut
a2cMkr->setRelThres( 0 ); // set to zero to skip cut
if( !isCosmic ) a2cMkr->setDb( fgtDbMkr->getDbTables() );
a2cMkr->doRemoveOtherTimeBins( 0 );
a2cMkr->doCutBadStatus( 0 );
The fundamental containers are
StFgtDevel/StRoot/StEvent/StFgtHit.h
StFgtDevel/StRoot/StEvent/StFgtPoint.h
StFgtDevel/StRoot/StEvent/StFgtStrip.h
StFgtDevel/StRoot/StMuDSTMaker/COMMON/StMuFgtCluster.h
StFgtDevel/StRoot/StMuDSTMaker/COMMON/StMuFgtStrip.h
Remember StFgtHit ~= StFgtMuStrip and StFgtHit ~= StFgtCluster. The reseaon behind being named hit vs. cluster was discussed in December and is related to tracking requirements.
Gerard: The timebin period is same, 26.6 ns. for STAR DAQ and cosmic stand
I suggested use timebin 0 for ped instead of {minADC} over all time bins.
- balewski's blog
- Login or register to post comments