BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Wr2dMdcCalib.h
Go to the documentation of this file.
1#ifndef WR2DMDCCALIB_H
2#define WR2DMDCCALIB_H
3
5
6class Wr2dMdcCalib: 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
20 static void fcnWireParab(Int_t &npar, Double_t *gin, Double_t &f,
21 Double_t *par, Int_t iflag);
22 static bool fgBIN[MdcCalWrNBin];
23 static double xBIN[MdcCalWrNBin];
24 static double yBIN[MdcCalWrNBin];
25 static double zBIN[MdcCalWrNBin];
26 static double zBINERR[MdcCalWrNBin];
27 static double zMIN;
28 static double zMAX;
29
30private:
31 MdcCalParams m_param;
32
33 TObjArray* m_hlist;
34 IMdcGeomSvc* m_mdcGeomSvc;
35 IMdcCalibFunSvc* m_mdcFunSvc;
36 IMdcUtilitySvc* m_mdcUtilitySvc;
37
38 double m_zwest[MdcCalNLayer];
39 double m_zeast[MdcCalNLayer];
40 double m_zwid[MdcCalNLayer];
41 double m_zbinCen[MdcCalNLayer][MdcCalWrNBin];
42
43 TFolder* m_fdWire;
44 TH1F* m_hl[MdcCalTotCell][MdcCalWrNBin];
45 TH1F* m_hr[MdcCalTotCell][MdcCalWrNBin];
46};
47
49 MdcCalib::setParam(param);
50 m_param = param;
51}
52
53#endif /* WR2DMDCCALIB_H */
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
const int MdcCalNLayer
Definition: MdcCalParams.h:6
const int MdcCalTotCell
Definition: MdcCalParams.h:9
const int MdcCalWrNBin
Definition: MdcCalParams.h:22
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:306
static double zBIN[MdcCalWrNBin]
Definition: Wr2dMdcCalib.h:25
int fillHist(MdcCalEvent *event)
static void fcnWireParab(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag)
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
void printCut() const
static double xBIN[MdcCalWrNBin]
Definition: Wr2dMdcCalib.h:23
static double zBINERR[MdcCalWrNBin]
Definition: Wr2dMdcCalib.h:26
static bool fgBIN[MdcCalWrNBin]
Definition: Wr2dMdcCalib.h:22
static double yBIN[MdcCalWrNBin]
Definition: Wr2dMdcCalib.h:24
int updateConst(MdcCalibConst *calconst)
static double zMAX
Definition: Wr2dMdcCalib.h:28
static double zMIN
Definition: Wr2dMdcCalib.h:27
void setParam(MdcCalParams &param)
Definition: Wr2dMdcCalib.h:48