00001
00002
00003 #ifndef StAdcPedHistoMaker_HH
00004 #define StAdcPedHistoMaker_HH
00005
00006 #include "StMaker.h"
00007
00008 class StEEmcDb;
00009 class StMuDstMaker;
00010 #include "StEEmcUtil/EEfeeRaw/EEname2Index.h"
00011 #if 0
00012 class TTree;
00013 class TFile;
00014 class TNtuple;
00015
00016
00017 class EEmcGeomSimple;
00018 class StMuTrack;
00019 class StBemcTables;
00020 class TH2F;
00021 #endif
00022
00023 class StAdcPedHistoMaker : public StMaker {
00024
00025 public:
00026
00027 StAdcPedHistoMaker(const char* name, StMuDstMaker* uDstMaker);
00028 virtual ~StAdcPedHistoMaker();
00029
00030 virtual Int_t Init();
00031 virtual Int_t InitRun(int runNo);
00032 virtual Int_t Finish();
00033 virtual Int_t Make();
00034 void initHisto();
00035 void SetTrigId(int x) { trigID=x;}
00036 void DoPedSubtraction() { pedSub=true;}
00037 void SetKillMask(unsigned int mask) { killMask=mask; }
00038
00039
00040 void SetHList(TObjArray * x){HList=x;}
00041
00042 private:
00043 StEEmcDb* mEeDb;
00044 StMuDstMaker* mDstMaker;
00045 TH1F* hPix[EEindexMax];
00046 bool pedSub;
00047 unsigned int killMask;
00048 TObjArray *HList;
00049 int trigID;
00050
00051 ClassDef(StAdcPedHistoMaker,1)
00052 };
00053
00054
00055 #endif