StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StGammaEEmcLeakage.h
1 #ifndef __StGammaEEmcLeakage_h__
2 #define __StGammaEEmcLeakage_h__
3 
4 #include <TObject.h>
5 #include <TVector3.h>
6 #include <TCanvas.h>
7 #include <vector>
8 
9 class TFile;
10 class TH2F;
11 class EEmcGeomSimple;
12 class StGammaTower;
13 
14 class StGammaEEmcLeakage : public TObject
15 {
16 
17  public:
18 
21 
26  Float_t expectation( const TVector3 &gamma );
27 
31  TCanvas *draw( const TVector3 &gamma );
32 
33  static StGammaEEmcLeakage *instance();
34 
35  private:
36  protected:
37 
38  TFile *mFile;
39  Int_t mNumberOfEtabins;
40  std::vector< TH2F* > mEnergyFractions;
41  EEmcGeomSimple *mEEmcGeom;
42 
43  // Class implemented as a singleton
44  static StGammaEEmcLeakage *sInstance;
45 
46  ClassDef(StGammaEEmcLeakage,1);
47 
48 };
49 #endif
TCanvas * draw(const TVector3 &gamma)
EEMC simple geometry.
Float_t expectation(const TVector3 &gamma)