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