BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
QtMdcCalib.h
Go to the documentation of this file.
1#ifndef QTMDCCALIB_H
2#define QTMDCCALIB_H
3
5#include "TFolder.h"
6#include "TGraphErrors.h"
7
8class QtMdcCalib: public MdcCalib {
9public:
10 QtMdcCalib();
12 void initialize(TObjArray* hlist, IMdcGeomSvc* mdcGeomSvc,
13 IMdcCalibFunSvc* mdcFunSvc, IMdcUtilitySvc* mdcUtilitySvc);
14
15 void setParam(MdcCalParams& param);
16 int fillHist(MdcCalEvent* event);
17 int updateConst(MdcCalibConst* calconst);
18 void clear();
19
20 static Double_t qtFun(Double_t *x, Double_t *par);
21
22private:
23 MdcCalParams m_param;
24
25 TObjArray* m_hlist;
26 IMdcGeomSvc* m_mdcGeomSvc;
27 IMdcCalibFunSvc* m_mdcFunSvc;
28 IMdcUtilitySvc* m_mdcUtilitySvc;
29
30 int m_nlayer;
31 int m_nbin;
32 int m_innNLay;
33 int m_qtorder;
34
35 double m_qhit;
36 double m_resi;
37 double m_vdr;
38
39 double m_qbinw[MdcCalNLayer]; // width of Q bin for all cells
40 double m_qmin[MdcCalNLayer];
41 double m_qmax[MdcCalNLayer];
42 double m_qtpar[MdcCalNLayer][MdcCalQtOrd];
43
44 TFolder* m_fdQt;
45 TH1F* m_hqhit[MdcCalNLayer];
46 TH1F* m_hqt[MdcCalNLayer][MdcCalNQBin];
47 TFolder* m_fdQ_T;
48 TGraphErrors* m_grqt[MdcCalNLayer];
49 TGraphErrors* m_grqdt[MdcCalNLayer];
50};
51
53 MdcCalib::setParam(param);
54 m_param = param;
55}
56
57#endif /* QTMDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition: MdcCalParams.h:6
const int MdcCalQtOrd
Definition: MdcCalParams.h:16
const int MdcCalNQBin
Definition: MdcCalParams.h:17
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:293
void setParam(MdcCalParams &param)
Definition: QtMdcCalib.h:52
static Double_t qtFun(Double_t *x, Double_t *par)
Definition: QtMdcCalib.cxx:278
void clear()
Definition: QtMdcCalib.cxx:33
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
Definition: QtMdcCalib.cxx:49
int fillHist(MdcCalEvent *event)
Definition: QtMdcCalib.cxx:106
int updateConst(MdcCalibConst *calconst)
Definition: QtMdcCalib.cxx:180