BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
QtCalib.h
Go to the documentation of this file.
1#ifndef QTCALIB_H
2#define QTCALIB_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 "TGraphErrors.h"
11
12class QtCalib: public CalibBase {
13public:
14 QtCalib();
15 ~QtCalib();
16 void init(TObjArray* hlist, MdcCosGeom* pGeom);
17 void mergeHist(TFile* fhist);
18 void calib(MdcCalibConst* calconst, TObjArray* newXtList, TObjArray* r2tList);
19 static Double_t qtFun(Double_t *x, Double_t *par);
20
21private:
22 static const int QtOrd = 2;
23 static const int NQBin = 10;
24
25 void renameHist();
26 MdcCosGeom* m_pGeom;
27
28 double m_qbinw[NLAYER]; // width of Q bin for all cells
29 double m_qmin[NLAYER];
30 double m_qmax[NLAYER];
31 double m_qtpar[NLAYER][QtOrd];
32
33 TFolder* m_fdQt;
34 TH1F* m_hqhit[NLAYER];
35 TH1F* m_hqt[NLAYER][NQBin];
36 TFolder* m_fdQ_T;
37 TGraphErrors* m_grqt[NLAYER];
38 TGraphErrors* m_grqdt[NLAYER];
39};
40
41#endif /* QTCALIB_H */
Double_t x[10]
QtCalib()
Definition: QtCalib.cpp:6
void calib(MdcCalibConst *calconst, TObjArray *newXtList, TObjArray *r2tList)
Definition: QtCalib.cpp:77
static Double_t qtFun(Double_t *x, Double_t *par)
Definition: QtCalib.cpp:138
~QtCalib()
Definition: QtCalib.cpp:10
void init(TObjArray *hlist, MdcCosGeom *pGeom)
Definition: QtCalib.cpp:13
void mergeHist(TFile *fhist)
Definition: QtCalib.cpp:58