BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
IniMdcCalib.h
Go to the documentation of this file.
1#ifndef INIMDCCALIB_H
2#define INIMDCCALIB_H
3
9
10#include "TH1F.h"
11#include "TFolder.h"
12
13class IniMdcCalib: public MdcCalib {
14public:
15 IniMdcCalib();
16 ~IniMdcCalib();
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 Double_t funTmin(Double_t* x, Double_t* par);
28 static Double_t funTmax(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_fdcom;
41
42 TFolder* m_fdTmap;
43 TFolder* m_fdTraw;
44 TFolder* m_fdTrawCel;
45 TFolder* m_fdTrawTes;
46
47 TFolder* m_fdQmap;
48 TFolder* m_fdQraw;
49 TFolder* m_fdQrawCel;
50
51 TH1F* m_hLayerHitmapT;
52 TH1F* m_hWireHitMapT;
53
54 TH1F* m_hLayerHitmapQ;
55 TH1F* m_hWireHitMapQ;
56
57 TH1F* m_hTesAllFlag;
58 TH1F* m_hTes[10];
59 TH1F* m_hTesAll;
60 TH1F* m_hTesCal;
61 TH1F* m_hTesFlag;
62
63 TH1F* m_htdcTes[MdcCalNLayer][10];
64 TH1F* m_htrawTes[MdcCalNLayer][10];
65
66 TH1F* m_hlaymapT[MdcCalNLayer];
67 TH1F* m_htdc[MdcCalNLayer];
68 TH1F* m_htraw[MdcCalNLayer];
69 TH1F* m_htrawCel[MdcCalTotCell];
70
71 TH1F* m_hlaymapQ[MdcCalNLayer];
72 TH1F* m_hqraw[MdcCalNLayer];
73 TH1F* m_hqrawCel[MdcCalTotCell];
74};
75
77 MdcCalib::setParam(param);
78 m_param = param;
79}
80#endif /* IniMDCCALIB_H */
Double_t x[10]
const int MdcCalNLayer
Definition: MdcCalParams.h:6
const int MdcCalTotCell
Definition: MdcCalParams.h:9
void setParam(MdcCalParams &param)
Definition: IniMdcCalib.h:76
int updateConst(MdcCalibConst *calconst)
void clear()
Definition: IniMdcCalib.cxx:38
void printCut() const
int fillHist(MdcCalEvent *event)
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
Definition: IniMdcCalib.cxx:79
virtual void setParam(MdcCalParams &param)=0
Definition: MdcCalib.h:306