BOSS 7.1.1
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 printCut() const;
19 void clear();
20
21 static Double_t qtFun(Double_t *x, Double_t *par);
22
23private:
24 MdcCalParams m_param;
25
26 TObjArray* m_hlist;
27 IMdcGeomSvc* m_mdcGeomSvc;
28 IMdcCalibFunSvc* m_mdcFunSvc;
29 IMdcUtilitySvc* m_mdcUtilitySvc;
30
31 int m_nlayer;
32 int m_nbin;
33 int m_innNLay;
34 int m_qtorder;
35
36 double m_qhit;
37 double m_resi;
38 double m_vdr;
39
40 double m_qbinw[MdcCalNLayer]; // width of Q bin for all cells
41 double m_qmin[MdcCalNLayer];
42 double m_qmax[MdcCalNLayer];
43 double m_qtpar[MdcCalNLayer][MdcCalQtOrd];
44
45 TFolder* m_fdQt;
46 TH1F* m_hqhit[MdcCalNLayer];
47 TH1F* m_hqt[MdcCalNLayer][MdcCalNQBin];
48 TFolder* m_fdQ_T;
49 TGraphErrors* m_grqt[MdcCalNLayer];
50 TGraphErrors* m_grqdt[MdcCalNLayer];
51};
52
54 MdcCalib::setParam(param);
55 m_param = param;
56}
57
58#endif /* QTMDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition MdcCalParams.h:6
const int MdcCalQtOrd
const int MdcCalNQBin
virtual void setParam(MdcCalParams &param)=0
Definition MdcCalib.h:306
void setParam(MdcCalParams &param)
Definition QtMdcCalib.h:53
static Double_t qtFun(Double_t *x, Double_t *par)
void printCut() const
void clear()
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
int fillHist(MdcCalEvent *event)
int updateConst(MdcCalibConst *calconst)