StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtGenPlotter.h
1 #ifndef _ST_FGT_GEN_CLUS_PLOTTER_
3 #define _ST_FGT_GEN_CLUS_PLOTTER_
4 
5 #include "StMaker.h"
6 //#include "StFgtQaMaker.h"
7 #include <TH2D.h>
8 #include <TROOT.h>
9 #include <TStyle.h>
10 #include <TCanvas.h>
11 #include <TFile.h>
12 #include "StFgtGeneralBase.h"
13 //#include "StRoot/StEvent/StFgtCollection.h"
14 class StFgtCollection;
15 
17  public:
18  StFgtGenPlotter(const Char_t* name="FgtGenPlotter");
19 
20  virtual ~StFgtGenPlotter();
21 
22  Int_t Init();
23  Int_t Make();
24  Int_t Finish();
25  // Bool_t checkPulse(StFgtHit* pClus);
26  virtual const char *GetCVS() const
27  {static const char cvs[]="Tag $Name: $ $Id: StFgtGenPlotter.h,v 1.2 2014/08/06 11:43:10 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
28  protected:
29  // for accessing the data
30  StFgtCollection *mFgtCollectionPtr;
31 
32  ofstream* outTxtFile;
33  ofstream* outTxtFileR;
34  ofstream* outTxtFileP;
35 
36  TFile* myRootFile;
37  TH1* hClusterCharge;
38  TH2D** hCChargePosSpacePhi;
39  TH2D** hCChargePosSpaceR;
40  TH2D** hClusSizePhi;
41  TH2D** hClusSizeR;
42  TH2D** hCChargeElecSpace;
43  TH2D** hClusSizeElecSpace;
44  TH2D** radioPlots;
45  TH2D** radioRatio;
46  TH2D** radioChargeR;
47  TH2D** radioChargePhi;
48  TH2D** radioClusSizeR;
49  TH2D** radioClusSizePhi;
50 
51 
52 
53  TH2D** corrPlots;
54  int runningEvtNr;
55 
56  TH2D** radioPlotsEff;
57  TH2D** radioPlotsNonEff;
58  TH1D** rPhiRatioPlots;
59  TH1D** rEff;
60  TH1D** rNonEff;
61 
62  TH1I** multPerDiscR;
63  TH1I** seedsPerDiscR;
64  TH1I** multPerDiscP;
65  TH1I** seedsPerDiscP;
66 
67 
68  TH2D** chargeCorr;
69  TH1D** h_clusterSizeR;
70  TH1D** h_clusterSizePhi;
71  TH1D** h_clusterChargeR;
72  TH1D** h_clusterChargePhi;
73 
74 
75  TH2D* hIp;
76  TH1D* hIpZAtX0;
77  TH1D* hIpZAtY0;
78 
79  int hitCounter;
80  int hitCounterR;
81 
82 
83  //THD2**
84  private:
85  ClassDef(StFgtGenPlotter,1);
86 
87 
88 };
89 
90 #endif
91