BOSS 7.1.1
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 printCut() const;
25 void clear();
26
27private:
28 static Double_t xtfun(Double_t *x, Double_t *par);
29
30 MdcCalParams m_param;
31
32 IMdcGeomSvc* m_mdcGeomSvc;
33 IMdcCalibFunSvc* m_mdcFunSvc;
34 IMdcUtilitySvc* m_mdcUtilitySvc;
35 TObjArray* m_hlist;
36
37 int m_nWire;
38 int m_nLayer;
39
40 TFolder* m_fdPreXt;
41 TFolder* m_fdNhit;
42 TGraph* m_grXt[MdcCalNLayer];
43 TH2F* m_haxis;
44 TH1F* m_htrec[MdcCalNLayer];
45 TH1F* m_nhitBin[MdcCalNLayer];
46 TH1F* m_nhitTot;
47
48 /* integrated time Spectrum for determination X-T */
49 int m_nXtBin;
50 double m_tbin[40];
51 int m_nEntries[MdcCalNLayer][40];
52 int m_nTot[MdcCalNLayer];
53
54 bool m_fgIniTm;
55 double m_t0[MdcCalNLayer];
56 double m_tm[MdcCalNLayer];
57};
58
60 MdcCalib::setParam(param);
61 m_param = param;
62}
63#endif /* PREXTMDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition MdcCalParams.h:6
virtual void setParam(MdcCalParams &param)=0
Definition MdcCalib.h:306
void setParam(MdcCalParams &param)
int updateConst(MdcCalibConst *calconst)
int fillHist(MdcCalEvent *event)
void printCut() const
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)