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.