8 #ifndef STAR_StGenericL2Emulator2009
9 #define STAR_StGenericL2Emulator2009
20 #include "L2algoUtil/L2VirtualAlgo2009.h"
21 #include "StVirtualTriggerSimu.h"
30 void doBanksFromStRawData();
31 void doBanksFromMuDst();
47 vector<L2VirtualAlgo2009*> mL2algo;
51 int mYearMonthDay,mHourMinSec;
55 unsigned short *mBTOW_BANK;
56 unsigned short *mETOW_BANK;
57 int mBTOW_in, mETOW_in;
58 unsigned int mL2Result[128];
62 void addTriggerList();
64 void initRun2(
int runNo);
74 unsigned short *getBtowBank(){
return mBTOW_BANK;}
75 unsigned short *getEtowBank(){
return mETOW_BANK;}
76 int getBtowIn(){
return mBTOW_in;}
77 int getEtowIn(){
return mETOW_in;}
79 void useStEvent() {mUseMuDst=
false;}
80 void setMC(
int x=
true) {mMCflag=x;}
81 void setSetupPath(
char *x) { mSetupPath=x;}
82 void setOutPath(
char *x) { mOutPath=x;}
84 set<int> mAcceptTriggerList;
85 set<int> mVetoTriggerList;
86 StTriggerSimuDecision isTrigger(
int trigId);
89 const unsigned int*
result()
const {
return mL2Result; }
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
void printBEtowers()
hits in StEvent
void printBEblocks()
regenerated banks