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