CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
GrXtCalib.h
Go to the documentation of this file.
1#ifndef GRXTCALIB_H
2#define GRXTCALIB_H
3
4#include "CalibBase.h"
5
6#include "TObjArray.h"
7#include "TFile.h"
8#include "TH1F.h"
9#include "TH2F.h"
10
11class GrXtCalib: public CalibBase {
12public:
13 GrXtCalib();
14 ~GrXtCalib();
15 void init(TObjArray* hlist, MdcCosGeom* pGeom);
16 void mergeHist(TFile* fhist);
17 void calib(MdcCalibConst* calconst, TObjArray* newXtList, TObjArray* r2tList);
18
19private:
20 void renameHist();
21 int findXtEntr(int lay, int iEntr, int lr) const;
22
23 int m_maxNhit; /* for each graph */
24 int m_nMaxEd;
25 double m_tEd[NLAYER];
26
27 int m_nhitIn[NLAYER][NENTRXT][NLR];
28 int m_nhitEd[NLAYER][NENTRXT][NLR];
29 bool m_fgFit[NLAYER][NENTRXT][NLR];
30
31 TFolder* m_fdXt;
32 TH2F* m_haxis;
33 TGraph* m_grxt[NLAYER][NENTRXT][NLR];
34};
35
36#endif /* GRXTCALIB_H */
void calib(MdcCalibConst *calconst, TObjArray *newXtList, TObjArray *r2tList)
Definition: GrXtCalib.cpp:81
void init(TObjArray *hlist, MdcCosGeom *pGeom)
Definition: GrXtCalib.cpp:22
void mergeHist(TFile *fhist)
Definition: GrXtCalib.cpp:50