BOSS 7.1.1
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 printCut() const;
24 void clear();
25
26private:
27 static const int NENTR = 18;
28 static const int NTBIN_INN = 72;
29 static const int NTBIN_OUT = 79;
30
31 MdcCalParams m_param;
32
33 TObjArray* m_hlist;
34 IMdcGeomSvc* m_mdcGeomSvc;
35 IMdcCalibFunSvc* m_mdcFunSvc;
36 IMdcUtilitySvc* m_mdcUtilitySvc;
37
38 bool m_fgIni;
39 int m_nMaxGrPoint;
40 double m_docaMax[MdcCalNLayer];
41 double m_tbinWid[MdcCalNLayer][3];
42 double m_tbinLim[MdcCalNLayer][4];
43
44 TFolder* m_fdPf; /* TFolder for profile */
45 TGraph* m_grXt[MdcCalNLayer][NENTR][2];
46 TProfile* m_pfNear[MdcCalNLayer][NENTR][2];
47 TProfile* m_pfMid[MdcCalNLayer][NENTR][2];
48 TProfile* m_pfFar[MdcCalNLayer][NENTR][2];
49};
50
52 MdcCalib::setParam(param);
53 m_param = param;
54}
55
56#endif /* XTINTEMDCCALIB_H */
const int MdcCalNLayer
Definition MdcCalParams.h:6
virtual void setParam(MdcCalParams &param)=0
Definition MdcCalib.h:306
void printCut() const
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
int updateConst(MdcCalibConst *calconst)
void setParam(MdcCalParams &param)
int fillHist(MdcCalEvent *event)