BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCalibAlg.h
Go to the documentation of this file.
1#ifndef MDCCALIBALG_H
2#define MDCCALIBALG_H
3
4#include "GaudiKernel/Algorithm.h"
5
10
15
20
32
33#include "TObjArray.h"
34#include "TFile.h"
35
36
37/////////////////////////////////////////////////////////////////////////////
38
39class MdcCalibAlg: public Algorithm {
40public:
41 MdcCalibAlg(const std::string& name, ISvcLocator* pSvcLocator);
43
44 StatusCode initialize();
45 StatusCode execute();
46 StatusCode finalize();
47
48private:
49 void initParam();
50
51 TFile* m_fhist;
52 TObjArray* m_hlist;
53 IMdcGeomSvc* m_mdcGeomSvc;
54 IMdcCalibFunSvc* m_mdcFunSvc;
55 IMdcUtilitySvc* m_mdcUtilitySvc;
56 MdcCalConstMgr* m_constmgr;
57 MdcCalib* m_mdccalib;
58 MdcCalEvent* m_mdcevt;
59 MdcCalibConst* m_calconst;
60 MdcCalParams m_param;
61
62 bool m_initCalConstFlg;
63 int m_mdcCalFlg;
64 int m_flgKalFit; /* 1 for using Kalman filter, 0 for not */
65 int m_evtType; /* 0-6: e,mu,pi,k,p,cosmic-ray */
66 int m_nEvtDisp;
67 int m_nEvt;
68 bool m_distCalib;
69 double m_ecm;
70
71 std::string m_histname;
72 std::string m_configFile;
73 std::string m_wpcFile; /* single wire position calibration file */
74};
75
76#endif /* MDCCALIBALG_H */
StatusCode execute()
StatusCode initialize()
Definition: MdcCalibAlg.cxx:69
StatusCode finalize()