00001 #ifndef L2wEemc2009_H
00002 #define L2wEemc2009_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifdef IS_REAL_L2 //in l2-ana environment
00017 #include "L2VirtualAlgo2009.h"
00018 #else
00019 #include "StTriggerUtilities/L2Emulator/L2algoUtil/L2VirtualAlgo2009.h"
00020 #endif
00021
00022 class L2Histo;
00023 class L2EmcGeom;
00024
00025 class L2wEemc2009 : public L2VirtualAlgo2009 {
00026 private:
00027
00028
00029 int par_dbg;
00030 float par_EtThresh;
00031
00032
00033 float highestEt[L2eventStream2009::mxToken];
00034
00035
00036 void createHisto();
00037
00038 public:
00039 L2wEemc2009(const char* name, L2EmcDb* db, L2EmcGeom *geo, char* outDir, int resOff);
00040 int initRunUser( int runNo, int *rc_ints, float *rc_floats);
00041 void finishRunUser();
00042 void computeUser(int token);
00043 bool decisionUser(int token, int *myL2Result);
00044 };
00045
00046 #endif
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056