9 #include <St_db_Maker/St_db_Maker.h>
11 #include "StL2TriggerSimu.h"
12 #include "StGenericL2Emulator.h"
13 #include "StGenericL2Emulator2009.h"
23 mYear=mydb->GetDateTime().GetYear();
24 assert(mL2maker || mL2maker2009);
25 LOG_INFO <<Form(
"L2TriggerSimu::InitRun() year=%d",mYear )<<endm;
34 StL2TriggerSimu::Init(){
36 LOG_INFO <<Form(
"L2TriggerSimu::Init() " )<<endm;
44 return mL2maker ? mL2maker->isTrigger(trigId) : mL2maker2009->isTrigger(trigId);
48 return mL2maker ? mL2maker->
result() : mL2maker2009->
result();
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
StTriggerSimuDecision triggerDecision(int trigId)
like isTrigger(), but returns kDoNotCare if detector isn't a part of the given trigId ...