CGEM BOSS 6.6.5.h
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 clear();
17
18private:
19 MdcCalParams m_param;
20
21 TObjArray* m_hlist;
22 IMdcGeomSvc* m_mdcGeomSvc;
23 IMdcCalibFunSvc* m_mdcFunSvc;
24 IMdcUtilitySvc* m_mdcUtilitySvc;
25
26 double m_vdr;
27
28 /* for track cut */
29 double m_docaMin[MdcCalNLayer];
30 double m_docaMax[MdcCalNLayer];
31
32 TFolder* m_fdT0;
33 TFolder* m_fdResiWire;
34 TH1F* m_hleft[MdcCalTotCell];
35 TH1F* m_hright[MdcCalTotCell];
36 TH1F* m_hLrResiSum;
37 TH1F* m_hLrResiSub;
38};
39
41 MdcCalib::setParam(param);
42 m_param = param;
43}
44
45#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:293
int fillHist(MdcCalEvent *event)
void clear()
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
void setParam(MdcCalParams &param)
Definition T0MdcCalib.h:40
int updateConst(MdcCalibConst *calconst)