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
6
#include "
MdcGeomSvc/IMdcGeomSvc.h
"
7
#include "
MdcGeomSvc/MdcGeomSvc.h
"
8
#include "
MdcGeomSvc/MdcGeoWire.h
"
9
#include "
MdcGeomSvc/MdcGeoLayer.h
"
10
11
#include "
MdcCalibFunSvc/IMdcCalibFunSvc.h
"
12
#include "
MdcCalibFunSvc/MdcCalibFunSvc.h
"
13
#include "
MdcUtilitySvc/IMdcUtilitySvc.h
"
14
#include "
MdcUtilitySvc/MdcUtilitySvc.h
"
15
16
#include "
MdcCalibAlg/MdcCalibConst.h
"
17
#include "
MdcCalibAlg/MdcCalEvent.h
"
18
#include "
MdcCalibAlg/MdcCalConstMgr.h
"
19
#include "
MdcCalibAlg/MdcCalParams.h
"
20
21
#include "
MdcCalibAlg/MdcCalib.h
"
22
#include "
MdcCalibAlg/IniMdcCalib.h
"
23
#include "
MdcCalibAlg/PreXtMdcCalib.h
"
24
#include "
MdcCalibAlg/PreT0MdcCalib.h
"
25
#include "
MdcCalibAlg/XtMdcCalib.h
"
26
#include "
MdcCalibAlg/GrXtMdcCalib.h
"
27
#include "
MdcCalibAlg/XtInteMdcCalib.h
"
28
#include "
MdcCalibAlg/T0MdcCalib.h
"
29
#include "
MdcCalibAlg/WrMdcCalib.h
"
30
#include "
MdcCalibAlg/Wr2dMdcCalib.h
"
31
#include "
MdcCalibAlg/QtMdcCalib.h
"
32
33
#include "TObjArray.h"
34
#include "TFile.h"
35
36
#include <fstream>
37
38
/////////////////////////////////////////////////////////////////////////////
39
40
class
MdcCalibAlg
:
public
Algorithm {
41
public
:
42
MdcCalibAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
43
~MdcCalibAlg
();
44
45
StatusCode
initialize
();
46
StatusCode
execute
();
47
StatusCode
finalize
();
48
49
private
:
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 */
GrXtMdcCalib.h
IMdcCalibFunSvc.h
IMdcGeomSvc.h
IMdcUtilitySvc.h
IniMdcCalib.h
MdcCalConstMgr.h
MdcCalEvent.h
MdcCalParams.h
MdcCalibConst.h
MdcCalibFunSvc.h
MdcCalib.h
MdcGeoLayer.h
MdcGeoWire.h
MdcGeomSvc.h
MdcUtilitySvc.h
PreT0MdcCalib.h
PreXtMdcCalib.h
QtMdcCalib.h
T0MdcCalib.h
Wr2dMdcCalib.h
WrMdcCalib.h
XtInteMdcCalib.h
XtMdcCalib.h
IMdcCalibFunSvc
Definition:
IMdcCalibFunSvc.h:17
IMdcGeomSvc
Definition:
IMdcGeomSvc.h:15
IMdcUtilitySvc
Definition:
IMdcUtilitySvc.h:17
MdcCalConstMgr
Definition:
MdcCalConstMgr.h:10
MdcCalEvent
Definition:
MdcCalEvent.h:15
MdcCalParams
Definition:
MdcCalParams.h:30
MdcCalibAlg
Definition:
MdcCalibAlg.h:40
MdcCalibAlg::execute
StatusCode execute()
Definition:
MdcCalibAlg.cxx:294
MdcCalibAlg::initialize
StatusCode initialize()
Definition:
MdcCalibAlg.cxx:76
MdcCalibAlg::finalize
StatusCode finalize()
Definition:
MdcCalibAlg.cxx:362
MdcCalibAlg::~MdcCalibAlg
~MdcCalibAlg()
Definition:
MdcCalibAlg.cxx:52
MdcCalibConst
Definition:
MdcCalibAlg/MdcCalibConst.h:7
MdcCalib
Definition:
MdcCalib.h:36
source
Mdc
MdcCalibAlg
MdcCalibAlg-01-00-00
MdcCalibAlg
MdcCalibAlg.h
Generated by
1.9.6