StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTriggerStudyMaker.h
1 #ifndef STAR_StTriggerStudyMaker
2 #define STAR_StTriggerStudyMaker
3 
4 #include "StMaker.h"
5 
6 class TTree;
7 class TFile;
8 
10 class StEmcCollection;
11 class StEmcADCtoEMaker;
13 class StEmcGeom;
14 class StEmcDecoder;
15 class StMuDstMaker;
16 class StBemcTables;
17 
18 using namespace std;
19 
20 class StTriggerStudyMaker : public StMaker {
21  private:
22  StMuDstMaker* muDstMaker;
23  StEmcADCtoEMaker* mADCtoEMaker;
24  StTriggerSimuMaker* mTriggerSimuMaker;
25  TTree* mTree;
26  TFile* mFile;
27  StEmcGeom* mEmcGeom;
28  StTriggerStudyEvent* mTSEvent;
29  StBemcTables* mBemcTables;
30  StEmcCollection* mEmcCollection;
31  const char* mName;
32  map<int,int> trigmap;
33  const int nTriggers;
34  int triggers[12];
35  TH1F* bbctall;
36  TH1F* zvertall;
37  TH1F* zverttrig[12];
38  TH1F* bbcttrig[12];
39  TH1F* jp1et;
40  TH1F* jp2et;
41  TH1F* jp1et0;
42  TH1F* jp0et0;
43  StEmcDecoder* mDecoder;
44 
45  void fillTree();
46 
47  int runNumber;
48 
49  public:
50  StTriggerStudyMaker(const char* filename, const char *name="TrigStudy");
51  virtual ~StTriggerStudyMaker() {}
52  virtual Int_t Init();
53  virtual Int_t InitRun(int run);
54  virtual Int_t Make();
55  virtual Int_t Finish();
56 
57  virtual const char *GetCVS() const
58  {static const char cvs[]="Tag $Name: $ $Id: StTriggerStudyMaker.h,v 1.2 2014/08/06 11:43:40 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
59 
60  ClassDef(StTriggerStudyMaker,0) //StAF chain virtual base class for Makers
61 };
62 
63 #endif