BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
PreT0Calib.h
Go to the documentation of this file.
1#ifndef PRET0CALIB_H
2#define PRET0CALIB_H
3
4#include "CalibBase.h"
5
6#include "TObjArray.h"
7#include "TFile.h"
8#include "TH1F.h"
9#include "TH1D.h"
10#include "TGraph.h"
11
12class PreT0Calib: public CalibBase {
13public:
14 PreT0Calib();
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
23 static Double_t funTmin(Double_t* x, Double_t* par);
24 static Double_t funTmax(Double_t* x, Double_t* par);
25
26 MdcCosGeom* m_pGeom;
27 int m_nzbin;
28 double m_zwid[NLAYER];
29 double m_zst[NLAYER];
30 double m_vp[NLAYER];
31
32 TFolder* m_fdTrec;
33 TFolder* m_fdTrecZ;
34 TH1F* m_hTrec[NLAYER][NLR];
35 TH1F* m_hTrecCosm[NLAYER][2];
36 TH1F* m_hTrecZ[NLAYER][NLR][11];
37};
38
39#endif /* PRET0CALIB_H */
Double_t x[10]
void calib(MdcCalibConst *calconst, TObjArray *newXtList, TObjArray *r2tList)
Definition: PreT0Calib.cpp:101
void mergeHist(TFile *fhist)
Definition: PreT0Calib.cpp:63
void init(TObjArray *hlist, MdcCosGeom *pGeom)
Definition: PreT0Calib.cpp:15