BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
PreXtCalib.h
Go to the documentation of this file.
1#ifndef PREXTCALIB_H
2#define PREXTCALIB_H
3
4#include "CalibBase.h"
5
6#include "TObjArray.h"
7#include "TFile.h"
8#include "TH1F.h"
9#include "TH2F.h"
10#include "TGraph.h"
11
12class PreXtCalib: public CalibBase {
13public:
14 PreXtCalib();
16 void init(TObjArray* hlist, MdcCosGeom* pGeom);
17 void mergeHist(TFile* fhist);
18 void calib(MdcCalibConst* calconst, TObjArray* newXtList, TObjArray* r2tList);
19
20private:
21 void renameHist();
22 static Double_t xtfun(Double_t *x, Double_t *par);
23
24 static const int NPreXtBin = 40;
25
26 MdcCosGeom* m_pGeom;
27 TFolder* m_fdPreXt;
28 TFolder* m_fdNhit;
29 TGraph* m_grXt[NLAYER];
30 TH2F* m_haxis;
31 TH1F* m_htrec[NLAYER];
32 TH1F* m_nhitBin[NLAYER];
33 TH1F* m_nhitTot;
34
35 double m_tbin[NPreXtBin];
36};
37
38#endif /* PREXTCALIB_H */
Double_t x[10]
void calib(MdcCalibConst *calconst, TObjArray *newXtList, TObjArray *r2tList)
Definition: PreXtCalib.cpp:66
void init(TObjArray *hlist, MdcCosGeom *pGeom)
Definition: PreXtCalib.cpp:15
void mergeHist(TFile *fhist)
Definition: PreXtCalib.cpp:46