11 #ifndef STAR_StGenericL2Emulator
12 #define STAR_StGenericL2Emulator
21 #include "L2algoUtil/L2VirtualAlgo.h"
22 #include "StVirtualTriggerSimu.h"
31 void doBanksFromStRawData();
32 void doBanksFromMuDst();
52 int mYearMonthDay,mHourMinSec;
56 unsigned short *mBTOW_BANK;
57 unsigned short *mETOW_BANK;
58 int mBTOW_in, mETOW_in;
63 void addTriggerList();
65 void initRun2(
int runNo);
75 unsigned short *getBtowBank(){
return mBTOW_BANK;}
76 unsigned short *getEtowBank(){
return mETOW_BANK;}
77 int getBtowIn(){
return mBTOW_in;}
78 int getEtowIn(){
return mETOW_in;}
80 void useStEvent() {mUseMuDst=
false;}
81 void setMC(
int x=
true) {mMCflag=x;}
82 void setSetupPath(
char *x) { mSetupPath=x;}
83 void setOutPath(
char *x) { mOutPath=x;}
85 vector <int> mAcceptTriggerList;
86 vector <int> mVetoTriggerList;
87 StTriggerSimuDecision isTrigger(
int trigId);
90 const unsigned int*
result()
const;
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
void printBEblocks()
regenerated banks
void printBEtowers()
hits in StEvent