BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcCalibAlg/MdcCalibAlg/WrMdcCalib.h
Go to the documentation of this file.
1#ifndef WRMDCCALIB_H
2#define WRMDCCALIB_H
3
4#include "MdcCalibAlg/MdcCalib.h"
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 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 /* for track cut */
28 double m_docaMin[MdcCalNLayer];
29 double m_docaMax[MdcCalNLayer];
30
31 TFolder* m_fdWire;
32 TFolder* m_fdResiWire;
33 TH1F* m_hleft[MdcCalTotCell];
34 TH1F* m_hright[MdcCalTotCell];
35 TH1F* m_hdwxtot;
36 TH1F* m_hddwx;
37 TH1F* m_hdwytot;
38 TH1F* m_hddwy;
39 TH1F* m_hLrResiSum;
40 TH1F* m_hLrResiSub;
41};
42
44 MdcCalib::setParam(param);
45 m_param = param;
46}
47
48#endif /* WRMDCCALIB_H */
virtual void setParam(MdcCalParams &param)=0
int updateConst(MdcCalibConst *calconst)
Definition: WrMdcCalib.cxx:202
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