StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcPi0Maker.h
1 #ifndef __StEEmcPi0Maker_h__
2 #define __StEEmcPi0Maker_h__
3 
4 #include "StMaker.h"
5 
6 #include "StEEmcPool/StEEmcA2EMaker/StEEmcA2EMaker.h"
7 #include "StEEmcPool/StEEmcClusterMaker/StEEmcGenericClusterMaker.h"
8 #include "StEEmcPool/StEEmcPointMaker/StEEmcGenericPointMaker.h"
9 
10 class TH1F;
11 class TH2F;
12 class TTree;
13 class TClonesArray;
14 class TFile;
15 class TTree;
16 
17 class StEEmcMixEvent;
18 
19 #include "StEEmcPair.h"
20 
21 class StEEmcPi0Maker : public StMaker
22 {
23 
24  public:
25 
26  StEEmcPi0Maker( const Char_t *name="pi0maker",
27  StEEmcA2EMaker *aemk=NULL,
28  StEEmcGenericClusterMaker *clmk=NULL,
29  StEEmcGenericPointMaker *ptmk=NULL );
30  ~StEEmcPi0Maker(){ /* nada */ };
31 
32  Int_t Init();
33  Int_t Make();
34  void Clear(Option_t *opts="");
35 
37  StEEmcPairVec_t pairs(){ return mPairs; }
38  Int_t numberOfPairs(){ return (Int_t) mPairs.size(); }
39  StEEmcPair pair( Int_t i ){ return mPairs[i]; }
40 
41  void addTrigger( Int_t t );
42  void setCheckTrigger(Bool_t t);
43  Bool_t checkTrigger();
44 
45  void setFile( TFile *file );
46  TTree *tree();
47 
48  private:
49  protected:
50 
51  TFile *mFile;
52  TTree *mTree;
53 
54  StEEmcMixEvent *mPi0Event;
55 
56  std::vector<Int_t> mTriggerList;
57  Bool_t mCheckTrigger;
58 
63  StEEmcPairVec_t mPairs;
64 
65  TH2F *hMass;
66  TH1F *hPT;
67  TH1F *hXF;
68  TH1F *hEnergy;
69  TH1F *hEta;
70  TH1F *hPhi;
71  TH1F *hZgg;
72  TH1F *hZvertex;
73 
74  TH1F *hEChi2;
75  TH1F *hE1Chi2;
76  TH1F *hE2Chi2;
77  TH1F *hEChi2_low;
78  TH1F *hE1Chi2_low;
79  TH1F *hE2Chi2_low;
80  TH1F *hEChi2_hi;
81  TH1F *hE1Chi2_hi;
82  TH1F *hE2Chi2_hi;
83 
84  TH1F *hRatio;
85  TH1F *hRatio_low;
86  TH1F *hRatio_hi;
87 
88  TH2F *hMass_cut;
89  TH1F *hPT_cut;
90  TH2F *hMass_split;
91  TH1F *hZgg_cut;
92  TH2F *hdEds;
93 
94  TH1F *hEvents;
95 
96  ClassDef(StEEmcPi0Maker,1);
97 
98 };
99 
100 #endif
void Clear(Option_t *opts="")
User defined functions.
EEmc ADC –&gt; energy maker.
StEEmcGenericClusterMaker * mEEclusters
StEEmcA2EMaker * mEEanalysis
StEEmcPairVec_t pairs()
Return a copy of the list of diphoton candidates.
copied from muDst
StEEmcGenericPointMaker * mEEpoints
A class to represent pairs of points.
Definition: StEEmcPair.h:9