BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
PreT0MdcCalib.h
Go to the documentation of this file.
1#ifndef PRET0MDCCALIB_H
2#define PRET0MDCCALIB_H
3
9
10#include "TGraph.h"
11#include <vector>
12
13
14class PreT0MdcCalib: public MdcCalib {
15public:
18 void initialize(TObjArray* hlist, IMdcGeomSvc* mdcGeomSvc,
19 IMdcCalibFunSvc* mdcFunSvc, IMdcUtilitySvc* mdcUtilitySvc);
20
21 void setParam(MdcCalParams& param);
22 int fillHist(MdcCalEvent* event);
23 int updateConst(MdcCalibConst* calconst);
24 void printCut() const;
25 void clear();
26
27private:
28
29 static Double_t funTmin(Double_t* x, Double_t* par);
30 static Double_t funTmax(Double_t* x, Double_t* par);
31 static Double_t xtfun(Double_t *x, Double_t *par);
32
33 MdcCalParams m_param;
34
35 TObjArray* m_hlist;
36 IMdcGeomSvc* m_mdcGeomSvc;
37 IMdcCalibFunSvc* m_mdcFunSvc;
38 IMdcUtilitySvc* m_mdcUtilitySvc;
39
40 int m_nzbin;
41 double m_zwid[MdcCalNLayer];
42 double m_zst[MdcCalNLayer];
43 double m_vp[MdcCalNLayer];
44
45 TFolder* m_fdTrec;
46 TFolder* m_fdTrecZ;
47 TH1F* m_hTrec[MdcCalNLayer][MdcCalLR];
48 TH1F* m_hTrecCosm[MdcCalNLayer][2];
49 TH1F* m_hTrecZ[MdcCalNLayer][MdcCalLR][11];
50};
51
53 MdcCalib::setParam(param);
54 m_param = param;
55}
56#endif /* PRET0MDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition: MdcCalParams.h:6
const int MdcCalLR
Definition: MdcCalParams.h:10
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:306
int updateConst(MdcCalibConst *calconst)
int fillHist(MdcCalEvent *event)
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
void printCut() const
void setParam(MdcCalParams &param)
Definition: PreT0MdcCalib.h:52