1 #ifndef L2Upsilon2012_H
2 #define L2Upsilon2012_H
4 #ifdef IS_REAL_L2 //in l2-ana environment
5 #include "L2VirtualAlgo2012.h"
7 #include "StTriggerUtilities/L2Emulator/L2algoUtil/L2VirtualAlgo2012.h"
9 #include "L2UpsilonResult2012.h"
26 enum {mxBtow=(BtowGeom::mxEtaBin) * (BtowGeom::mxPhiBin)};
31 int fMaxDynamicMaskTowers;
32 int fHowManyEventPerUpdateDynamicMask;
33 int fHotTowerSeenTimesThreshold;
34 float fMinL0ClusterEnergy,fMinL2ClusterEnergy;
35 float fMinInvMass,fMaxInvMass,fMaxCosTheta;
36 float fL0SeedThreshold,fL2SeedThreshold;
37 float fHotTowerThreshold;
38 float fThresholdRatioOfHotTower;
43 int mRdo2tower[mxBtow];
44 int mTower2rdo[mxBtow];
45 int rdo2softID[mxBtow+1];
50 float wrkBtow_ene[mxBtow+1];
51 int wrkBtow_tower[mxBtow+1];
52 int wrkL2_seed_tower[mxBtow+1];
53 float wrkL2_seed_ClusterE[mxBtow+1];
54 int wrkL0_seed_tower[mxBtow+1];
55 float wrkL0_seed_ClusterE[mxBtow+1];
59 int wrkDynamicMask_tower_stat[mxBtow+1];
60 int wrkDynamicMasked_tower[101];
61 int wrkNumberOfMasked;
68 void clearEvent(
int token);
70 void update_DynamicMask();
74 int initRunUser(
int runNo,
int *rc_ints,
float *rc_floats);
76 void computeUser(
int token);
77 bool decisionUser(
int token,
int *myL2Result);