StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFcsEcalHcalMipMaker.h
1 #ifndef STAR_StFcsEcalHcalMipMaker
2 #define STAR_StFcsEcalHcalMipMaker
3 
4 //#ifndef StMaker_H
5 //#include "StMaker.h"
6 
9 #include "StMaker.h"
10 #include <map>
11 
12 class StFcsDb;
13 class StFcsCollection;
14 class TH1F;
15 class TH2F;
16 
18 public:
19  StFcsEcalHcalMipMaker(const char *name="FcsEcalHcalMip");
20  virtual ~StFcsEcalHcalMipMaker();
21  virtual Int_t Init();
22  virtual Int_t Make();
23  virtual Int_t Finish();
24 
25  void setRun(int v){mRun=v;}
26 
27 protected:
28 
29 private:
30  StFcsDb *mFcsDb=0;
31  StFcsCollection *mFcsCollection=0;
32  int mRun=0;
33  TFile *mFile=0;
34  char mFilename[100];
35 
36  TH2F *mAdc[4];
37  TH2F *mAdcSingleTower[4];
38  TH2F *mAdcEcalMatch[4];
39 
40  TH1F* mNClu[2];
41  TH1F* mNTowClu[2];
42  TH1F* mNNeiClu[2];
43 
44  //location of clusters and distance
45  TH2F* mX;
46  TH2F* mY;
47  TH2F* mDXX;
48  TH2F* mDXY;
49  TH2F* mDYX;
50  TH2F* mDYY;
51  TH2F* mDR;
52 
53  ClassDef(StFcsEcalHcalMipMaker,1) //StAF chain virtual base class for Makers
54 };
55 
56 #endif
57 
58 
virtual Int_t Init()
Init - the top level StChain calls to initialize all its makers.
virtual Int_t Make()
Make - this method is called in loop for each event.
StFcsEcalHcalMipMaker(const char *name="FcsEcalHcalMip")
constructor
virtual ~StFcsEcalHcalMipMaker()
destructor