BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
XtInteMdcCalib.h
Go to the documentation of this file.
1#ifndef XTINTEMDCCALIB_H
2#define XTINTEMDCCALIB_H
3
5#include <vector>
6#include <map>
7
8#include "TH2F.h"
9#include "TGraph.h"
10#include "TFolder.h"
11#include "TProfile.h"
12
13class XtInteMdcCalib: public MdcCalib {
14public:
17 void initialize(TObjArray* hlist, IMdcGeomSvc* mdcGeomSvc,
18 IMdcCalibFunSvc* mdcFunSvc, IMdcUtilitySvc* mdcUtilitySvc);
19
20 void setParam(MdcCalParams& param);
21 int fillHist(MdcCalEvent* event);
22 int updateConst(MdcCalibConst* calconst);
23 void clear();
24
25private:
26 static const int NENTR = 18;
27 static const int NTBIN_INN = 72;
28 static const int NTBIN_OUT = 79;
29
30 MdcCalParams m_param;
31
32 TObjArray* m_hlist;
33 IMdcGeomSvc* m_mdcGeomSvc;
34 IMdcCalibFunSvc* m_mdcFunSvc;
35 IMdcUtilitySvc* m_mdcUtilitySvc;
36
37 bool m_fgIni;
38 int m_nMaxGrPoint;
39 double m_docaMax[MdcCalNLayer];
40 double m_tbinWid[MdcCalNLayer][3];
41 double m_tbinLim[MdcCalNLayer][4];
42
43 TFolder* m_fdPf; /* TFolder for profile */
44 TGraph* m_grXt[MdcCalNLayer][NENTR][2];
45 TProfile* m_pfNear[MdcCalNLayer][NENTR][2];
46 TProfile* m_pfMid[MdcCalNLayer][NENTR][2];
47 TProfile* m_pfFar[MdcCalNLayer][NENTR][2];
48};
49
51 MdcCalib::setParam(param);
52 m_param = param;
53}
54
55#endif /* XTINTEMDCCALIB_H */
const int MdcCalNLayer
Definition: MdcCalParams.h:6
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:293
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
int updateConst(MdcCalibConst *calconst)
void setParam(MdcCalParams &param)
int fillHist(MdcCalEvent *event)