StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtAVEfficiencyMaker.h
1 #ifndef _ST_FGT_AGV_EFF_MAKER_
3 #define _ST_FGT_AGV_EFF_MAKER_
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  StFgtAVEfficiencyMaker(const Char_t* name="FgtAVEfficiencyMaker");
19 
20  virtual ~StFgtAVEfficiencyMaker();
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: StFgtAVEfficiencyMaker.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  // for knowing what & how to plot
33 
34 
35  // threshold, in units of # sigma above average
36  Float_t mPedThres;
37  // Double_t getRPhiRatio(StSPtrVecFgtHitConstIterator hitIterBegin, StSPtrVecFgtHitConstIterator hitIterEnd);
38  // Double_t getRPhiRatio();
39  TH2D** radioPlotsEff;
40  TH2D** radioPlotsNonEff;
41  TH1D** rPhiRatioPlots;
42  TH1D** rEff;
43  TH1D** rNonEff;
44 
45  TH2D** chargeCorr;
46  TH1D** h_clusterSizeR;
47  TH1D** h_clusterSizePhi;
48  TH1D** h_clusterChargeR;
49  TH1D** h_clusterChargePhi;
50 
51  TH2D* hIp;
52  TH1D* hIpZAtX0;
53  TH1D* hIpZAtY0;
54 
55  TFile* myRootFile;
56  int runningEvtNr;
57  int hitCounter;
58  int hitCounterR;
59 
60 
61  //THD2**
62 
63 
64  private:
65  ClassDef(StFgtAVEfficiencyMaker,1);
66 
67 
68 };
69 
70 #endif
71