StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcOfflineCalibrationMipAnalysis.h
1 /*
2  * StEmcOfflineCalibrationMipAnalysis.h
3  * J. Kevin Adkins, University of Kentucky
4  * June 18, 2014
5  */
6 
7 #ifndef STAR_StEmcOfflineCalibrationMipAnalysis
8 #define STAR_StEmcOfflineCalibrationMipAnalysis
9 
10 #ifndef StMaker_H
11 #include "StMaker.h"
12 #endif
13 
14 #include <map>
15 #include <set>
16 
17 // ROOT classes
18 class TH1D;
19 class TH2F;
20 class TFile;
21 class TChain;
22 class TString;
23 
24 // User defined classes
28 
30  private:
34 
35  TFile *mFile;
36  TChain *mCalibChain;
37  TString mOutfileName;
38 
39 protected:
40  Double_t pedSubAdc;
41  const Int_t nTowers;
42  set<Int_t> trackTowers;
43  set<Int_t> excludedTowers;
44 
45  TH1D *towerHisto[4800];
46  TH2F *mapcheck;
47 
48 public:
49  StEmcOfflineCalibrationMipAnalysis(const char *name, const char* outfile, TChain *calibChain);
51  virtual Int_t Init();
52  virtual Int_t Make();
53  virtual Int_t Finish();
54 
55  virtual const char *GetCVS() const {
56  static const char cvs[]="Tag $Name: $ $Id: StEmcOfflineCalibrationMipAnalysis.h,v 1.2 2015/07/28 14:49:07 jeromel Exp $ built " __DATE__ " " __TIME__ ;
57  return cvs;
58  }
59 
61 };
62 
63 #endif //STAR_StEmcOfflineCalibrationMipAnalysis