10 #include "StEventTypes.h"
11 #include "StEvent/StEvent.h"
14 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
15 #include "StMuDSTMaker/COMMON/StMuDst.h"
16 #include "StMuDSTMaker/COMMON/StMuTriggerIdCollection.h"
17 #include "StMuDSTMaker/COMMON/StMuEvent.h"
21 #include "StTriggerData2005.h"
22 #include "StDaqLib/TRG/trgStructures.h"
25 #include "L2algoUtil/L2EmcDb.h"
26 #include "L2pedAlgo/L2pedAlgo.h"
28 #include "StL2_2008EmulatorMaker.h"
37 StL2_2008EmulatorMaker::~StL2_2008EmulatorMaker(){
44 StL2_2008EmulatorMaker::InitRun(
int runNo){
49 LOG_INFO << Form(
"::setupL2Algos2008(), dbDate=%d ", mYearMonthDay)<<endm;
54 memset(mL2algo,0,mL2algoN*
sizeof(
void*));
58 mL2algo[0]=mL2pedAlgo=
new L2pedAlgo(
"ped-algo",mL2EmcDb,mL2EmcDb->logPath,10);
64 LOG_INFO <<
"::InitRun() done, run=" <<runNo<<
" isMC="<<mMCflag<<endm;
70 StL2_2008EmulatorMaker::Init() {
72 LOG_INFO <<Form(
"Init()")<<endm;
74 return StMaker::Init();
79 StL2_2008EmulatorMaker::Clear(
const Option_t*){
104 StL2_2008EmulatorMaker::initHistoA(TString core) {
105 LOG_INFO <<Form(
"initHistoA(),")<<endm;
108 memset(hA,0,
sizeof(hA));
111 hA[1]=
new TH1F(core+
"trgID",
"event counter for Jan",10,1,11);
115 for(i=0;i<mxAH;i++) {
116 if( hA[i]==0)
continue;