StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFmsCalibMakerQa.h
1 #ifndef StFmsCalibMakerQa_h
2 #define StFmsCalibMakerQa_h
3 
4 #include "StFmsCalibMaker.h"
5 
6 class StFmsCalibMakerQa : public StMaker
7 {
8  public:
9 
10  virtual void CreateQaHist(int detId, int maxCh);
11  virtual void CreateQaHistAdc(int detId, int maxCh, int trigId);
12  virtual void CreateQaHistZVtx(void);
13  virtual void CreateQaTree(void);
14  virtual void ResetQaTree(void);
15 
16  //QA histograms, alphabetical order
17  TH1F* mH1_bbcZ;
18  TH1F* mH1_diffMass;
19  TH1F* mH1_diffOpenA;
20  TH1F* mH1_nEvents;
21  TH1F* mH1_trig;
22 
23  TH2F* mH2_adc[4];
24  TH2F* mH2_adcWide[4];
25  TH2F* mH2_massWide[4]; //QA, Mass, 0 < mass < 1 (GeV)
26  TH2F* mH2_massPairE[4][7]; //QA, Mass vs. pairE, Zgg < 0.7, in stepwidth of 0.1
27  TH2F* mH2_massOpenA[4][7]; //QA, Mass vs. openA, Zgg < 0.7, in stepwidth of 0.1
28  TH2F* mH2_massZgg[4][7]; //QA, Mass vs. Zgg, pair E > 20, in stepwidth of 10
29  TH2F* mH2_pointsEP[4]; //QA, Points' eta vs. phi, by detId
30  TH2F* mH2_pointsXY[2][3]; //QA, Points' XY, by point 0/1, by all/large/small
31 
32  //Tree
33  TTree* T;
34  static const short mNhitMax = 500;
35  short mNhit;
36  short mDetId [mNhitMax];
37  short mCh [mNhitMax];
38  short mPointB[mNhitMax]; //The point this hit belong to: either 0 or 1
39  float mHitE [mNhitMax];
40  short mCluTowers[2]; //# of participating towers
41  float mCluMax[2]; //SigmaMax
42  float mCluMin[2]; //SigmaMin
43  float mCluX[2];
44  float mCluY[2];
45  float mPointE[2];
46  float mPointX[2];
47  float mPointY[2];
48  float mMass;
49  float mOpenA;
50  float mZgg;
51  int mTrigBit;
52 
53  ClassDef(StFmsCalibMakerQa, 1);
54 };
55 
56 #endif