BOSS 7.1.0
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#include <fstream>
37
38/////////////////////////////////////////////////////////////////////////////
39
40class MdcCalibAlg: public Algorithm {
41public:
42 MdcCalibAlg(const std::string& name, ISvcLocator* pSvcLocator);
44
45 StatusCode initialize();
46 StatusCode execute();
47 StatusCode finalize();
48
49private:
50 void initParam();
51
52 TFile* m_fhist;
53 TObjArray* m_hlist;
54 IMdcGeomSvc* m_mdcGeomSvc;
55 IMdcCalibFunSvc* m_mdcFunSvc;
56 IMdcUtilitySvc* m_mdcUtilitySvc;
57 MdcCalConstMgr* m_constmgr;
58 MdcCalib* m_mdccalib;
59 MdcCalEvent* m_mdcevt;
60 MdcCalibConst* m_calconst;
61 MdcCalParams m_param;
62
63 bool m_initCalConstFlg;
64 int m_mdcCalFlg;
65 int m_flgKalFit; /* 1 for using Kalman filter, 0 for not */
66 int m_evtType; /* 0-6: e,mu,pi,k,p,cosmic-ray */
67 int m_nEvtDisp;
68 int m_nEvt;
69 bool m_distCalib;
70 double m_ecm;
71 bool m_combPM;
72
73 std::string m_histname;
74 std::string m_configFile;
75 std::string m_wpcFile; /* single wire position calibration file */
76 std::string m_fileWireNoCal;
77};
78
79#endif /* MDCCALIBALG_H */
StatusCode execute()
StatusCode initialize()
Definition: MdcCalibAlg.cxx:76
StatusCode finalize()