13 #include "StTriggerDataMother.h"
14 #include "StMuDSTMaker/EZTREE/EztTrigBlob.h"
15 #include "StEvent/StTriggerData2003.h"
16 #include "StEvent/StTriggerData2004.h"
17 #include "StEvent/StTriggerData2005.h"
19 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
20 #include "StMuDSTMaker/COMMON/StMuEvent.h"
21 #include "StMuDSTMaker/COMMON/StMuDst.h"
32 StTriggerDataMother::StTriggerDataMother(
EztTrigBlob*trigBlob) {
35 gMessMgr->Message(
"",
"F") <<GetName()<<
"(0) - no input trig data, NULL returned"<<endm;
39 gMessMgr->Message(
"",
"D") <<GetName()<<
"-trig data ver/dec="<<trigBlob->getVersion()<<endm;
45 runId=muEve->eventInfo().runId();
48 cout <<
"ERROR in " << __PRETTY_FUNCTION__ <<
": cannot get event, run numberi. Exiting" << endl;
51 void *blob=trigBlob->trgd->GetArray();
52 switch(trigBlob->getVersion()) {
63 gMessMgr->Message(
"",
"F") <<GetName()<<
"-trig data ver/dec="<<trigBlob->getVersion()<<
" not supported"<<endm;
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)
static TClonesArray * array(int type)
returns pointer to the n-th TClonesArray