BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
T0MdcCalib.h
Go to the documentation of this file.
1#ifndef T0MDCCALIB_H
2#define T0MDCCALIB_H
3
5
6class T0MdcCalib: public MdcCalib {
7public:
10 void initialize(TObjArray* hlist, IMdcGeomSvc* mdcGeomSvc,
11 IMdcCalibFunSvc* mdcFunSvc, IMdcUtilitySvc* mdcUtilitySvc);
12
13 void setParam(MdcCalParams& param);
14 int fillHist(MdcCalEvent* event);
15 int updateConst(MdcCalibConst* calconst);
16 void printCut() const;
17 void clear();
18
19private:
20 MdcCalParams m_param;
21
22 TObjArray* m_hlist;
23 IMdcGeomSvc* m_mdcGeomSvc;
24 IMdcCalibFunSvc* m_mdcFunSvc;
25 IMdcUtilitySvc* m_mdcUtilitySvc;
26
27 double m_vdr;
28
29 /* for track cut */
30 double m_docaMin[MdcCalNLayer];
31 double m_docaMax[MdcCalNLayer];
32
33 TFolder* m_fdT0;
34 TFolder* m_fdResiWire;
35 TH1F* m_hleft[MdcCalTotCell];
36 TH1F* m_hright[MdcCalTotCell];
37 TH1F* m_hLrResiSum;
38 TH1F* m_hLrResiSub;
39};
40
42 MdcCalib::setParam(param);
43 m_param = param;
44}
45
46#endif /* T0MDCCALIB_H */
const int MdcCalNLayer
Definition MdcCalParams.h:6
const int MdcCalTotCell
Definition MdcCalParams.h:9
virtual void setParam(MdcCalParams &param)=0
Definition MdcCalib.h:306
int fillHist(MdcCalEvent *event)
void clear()
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
void setParam(MdcCalParams &param)
Definition T0MdcCalib.h:41
int updateConst(MdcCalibConst *calconst)
void printCut() const