StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFeePedMaker.h
1 // $Id: StFeePedMaker.h,v 1.2 2014/08/06 11:43:03 jeromel Exp $
2 
3 #ifndef STAR_StFeePedMaker
4 #define STAR_StFeePedMaker
5 
6 /************************************************************
7  * $Id: StFeePedMaker.h,v 1.2 2014/08/06 11:43:03 jeromel Exp $
8  ************************************************************
9  Goal: detects stale EEMC data
10  *
11  ******************************************************/
12 
13 #ifndef StMaker_H
14 #include "StMaker.h"
15 #endif
16 
17 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
18 
19 class TObjArray ;
20 class StMuDstMaker;
21 class StTriggerData ;
22 class EztEmcRawData;
23 
24 class StFeePedMaker : public StMaker{
25 
26  private:
27 
28  const static int MxTwFeeCh= MaxTwCrates* MaxTwCrateCh;
29  TH1F *hped[MxTwFeeCh];// pedestals for each tower crate and FEE ch
30  TObjArray *HList;
31  int nInpEve;
32  StMuDstMaker* mMuDstMaker;
33 
34  public:
35  StFeePedMaker(const char *self="EEstale", const char* muDstMakerName="muDstMaker");
36  virtual ~StFeePedMaker();
37  virtual Int_t Init();
38  virtual Int_t Finish();
39  virtual Int_t Make();
40  void SetHList(TObjArray * x){HList=x;}
41  void saveHisto(TString fname="fixMe3");
42  Int_t fitPed(TH1F *h, int Xlow=5, int xHigh=4);
43 
45  virtual const char *GetCVS() const {
46  static const char cvs[]="Tag $Name: $ $Id: StFeePedMaker.h,v 1.2 2014/08/06 11:43:03 jeromel Exp $ built " __DATE__ " " __TIME__ ;
47  return cvs;
48  }
49 
50  ClassDef(StFeePedMaker, 1) //StAF chain virtual base class for Makers
51 };
52 
53 #endif
54 
55 
56 // $Log: StFeePedMaker.h,v $
57 // Revision 1.2 2014/08/06 11:43:03 jeromel
58 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
59 //
60 // Revision 1.1 2005/01/11 22:14:32 balewski
61 // start
62 //
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
Definition: StFeePedMaker.h:45
virtual Int_t Finish()
virtual Int_t Make()