BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcCalibAlg/MdcCalibAlg/QtMdcCalib.h
Go to the documentation of this file.
1#ifndef QTMDCCALIB_H
2#define QTMDCCALIB_H
3
4#include "MdcCalibAlg/MdcCalib.h"
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]
virtual void setParam(MdcCalParams &param)=0
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