00001
00002
00003 #ifndef STAR_StFeePedMaker
00004 #define STAR_StFeePedMaker
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef StMaker_H
00014 #include "StMaker.h"
00015 #endif
00016
00017 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
00018
00019 class TObjArray ;
00020 class StMuDstMaker;
00021 class StTriggerData ;
00022 class EztEmcRawData;
00023
00024 class StFeePedMaker : public StMaker{
00025
00026 private:
00027
00028 const static int MxTwFeeCh= MaxTwCrates* MaxTwCrateCh;
00029 TH1F *hped[MxTwFeeCh];
00030 TObjArray *HList;
00031 int nInpEve;
00032 StMuDstMaker* mMuDstMaker;
00033
00034 public:
00035 StFeePedMaker(const char *self="EEstale", const char* muDstMakerName="muDstMaker");
00036 virtual ~StFeePedMaker();
00037 virtual Int_t Init();
00038 virtual Int_t Finish();
00039 virtual Int_t Make();
00040 void SetHList(TObjArray * x){HList=x;}
00041 void saveHisto(TString fname="fixMe3");
00042 Int_t fitPed(TH1F *h, int Xlow=5, int xHigh=4);
00043
00045 virtual const char *GetCVS() const {
00046 static const char cvs[]="Tag $Name: $ $Id: StFeePedMaker.h,v 1.1 2005/01/11 22:14:32 balewski Exp $ built "__DATE__" "__TIME__ ;
00047 return cvs;
00048 }
00049
00050 ClassDef(StFeePedMaker, 1)
00051 };
00052
00053 #endif
00054
00055
00056
00057
00058
00059