BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcCalibAlg/MdcCalibAlg-00-09-02/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:
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
52inline void QtMdcCalib::setParam(MdcCalParams& param){
53 MdcCalib::setParam(param);
54 m_param = param;
55}
56
57#endif /* QTMDCCALIB_H */
virtual void setParam(MdcCalParams &param)=0
void setParam(MdcCalParams &param)
static Double_t qtFun(Double_t *x, Double_t *par)
void clear()
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
int fillHist(MdcCalEvent *event)
int updateConst(MdcCalibConst *calconst)