BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
WrMdcCalib.h
Go to the documentation of this file.
1#ifndef WRMDCCALIB_H
2#define WRMDCCALIB_H
3
5
6class WrMdcCalib: public MdcCalib {
7public:
10
11 void initialize(TObjArray* hlist, IMdcGeomSvc* mdcGeomSvc,
12 IMdcCalibFunSvc* mdcFunSvc, IMdcUtilitySvc* mdcUtilitySvc);
13
14 void setParam(MdcCalParams& param);
15 int fillHist(MdcCalEvent* event);
16 int updateConst(MdcCalibConst* calconst);
17 void printCut() const;
18 void clear();
19
20private:
21 MdcCalParams m_param;
22
23 TObjArray* m_hlist;
24 IMdcGeomSvc* m_mdcGeomSvc;
25 IMdcCalibFunSvc* m_mdcFunSvc;
26 IMdcUtilitySvc* m_mdcUtilitySvc;
27
28 /* for track cut */
29 double m_docaMin[MdcCalNLayer];
30 double m_docaMax[MdcCalNLayer];
31
32 TFolder* m_fdWire;
33 TFolder* m_fdResiWire;
34 TH1F* m_hleft[MdcCalTotCell];
35 TH1F* m_hright[MdcCalTotCell];
36 TH1F* m_hdwxtot;
37 TH1F* m_hddwx;
38 TH1F* m_hdwytot;
39 TH1F* m_hddwy;
40 TH1F* m_hLrResiSum;
41 TH1F* m_hLrResiSub;
42};
43
45 MdcCalib::setParam(param);
46 m_param = param;
47}
48
49#endif /* WRMDCCALIB_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 updateConst(MdcCalibConst *calconst)
Definition: WrMdcCalib.cxx:210
void printCut() const
Definition: WrMdcCalib.cxx:206
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
Definition: WrMdcCalib.cxx:44
void clear()
Definition: WrMdcCalib.cxx:28
int fillHist(MdcCalEvent *event)
Definition: WrMdcCalib.cxx:103
void setParam(MdcCalParams &param)
Definition: WrMdcCalib.h:44