BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
PreXtMdcCalib.h
Go to the documentation of this file.
1#ifndef PREXTMDCCALIB_H
2#define PREXTMDCCALIB_H
3
9
10#include "TH2F.h"
11#include "TGraph.h"
12#include "TFolder.h"
13
14class PreXtMdcCalib: 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 clear();
25
26private:
27 static Double_t xtfun(Double_t *x, Double_t *par);
28
29 MdcCalParams m_param;
30
31 IMdcGeomSvc* m_mdcGeomSvc;
32 IMdcCalibFunSvc* m_mdcFunSvc;
33 IMdcUtilitySvc* m_mdcUtilitySvc;
34 TObjArray* m_hlist;
35
36 int m_nWire;
37 int m_nLayer;
38
39 TFolder* m_fdPreXt;
40 TFolder* m_fdNhit;
41 TGraph* m_grXt[MdcCalNLayer];
42 TH2F* m_haxis;
43 TH1F* m_htrec[MdcCalNLayer];
44 TH1F* m_nhitBin[MdcCalNLayer];
45 TH1F* m_nhitTot;
46
47 /* integrated time Spectrum for determination X-T */
48 int m_nXtBin;
49 double m_tbin[40];
50 int m_nEntries[MdcCalNLayer][40];
51 int m_nTot[MdcCalNLayer];
52
53 bool m_fgIniTm;
54 double m_t0[MdcCalNLayer];
55 double m_tm[MdcCalNLayer];
56};
57
59 MdcCalib::setParam(param);
60 m_param = param;
61}
62#endif /* PREXTMDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition: MdcCalParams.h:6
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:293
void setParam(MdcCalParams &param)
Definition: PreXtMdcCalib.h:58
int updateConst(MdcCalibConst *calconst)
int fillHist(MdcCalEvent *event)
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)