BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcCalibAlg/MdcCalibAlg-00-09-02/MdcCalibAlg/T0MdcCalib.h
Go to the documentation of this file.
1#ifndef T0MDCCALIB_H
2#define T0MDCCALIB_H
3
4#include "MdcCalibAlg/MdcCalib.h"
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
40inline void T0MdcCalib::setParam(MdcCalParams& param){
41 MdcCalib::setParam(param);
42 m_param = param;
43}
44
45#endif /* T0MDCCALIB_H */
virtual void setParam(MdcCalParams &param)=0
int fillHist(MdcCalEvent *event)
void clear()
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
void setParam(MdcCalParams &param)
int updateConst(MdcCalibConst *calconst)