BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcTrkRecon.h
Go to the documentation of this file.
1
#ifndef MDCTRKRECON_H
2
#define MDCTRKRECON_H
3
4
#include "GaudiKernel/Algorithm.h"
5
#include "MdcTrkRecon/MdcFlagHold.h"
6
#include "GaudiKernel/NTuple.h"
7
#include "MdcRecEvent/RecMdcTrack.h"
8
#include <string>
9
#include "MagneticField/IMagneticFieldSvc.h"
10
#include "RawDataProviderSvc/RawDataProviderSvc.h"
11
#include "MdcPrintSvc/MdcPrintSvc.h"
12
13
class
MdcDetector
;
14
class
MdcSegData
;
15
class
MdcSegList
;
16
class
MdcTrackListBase
;
17
class
MdcSegFinder
;
18
class
BField
;
19
class
IHistogram1D;
20
class
McParticle
;
21
#ifdef MDCPATREC_TIMETEST
22
class
IBesTimerSvc
;
23
class
BesTimer
;
24
#endif
25
26
#ifdef UseCalib
27
class
MdcCalibFunSvc
;
28
#endif
29
30
31
class
MdcTrkRecon
:
public
Algorithm {
32
public
:
33
MdcTrkRecon
(
const
std::string& name, ISvcLocator* pSvcLocator);
34
~MdcTrkRecon
();
35
StatusCode
initialize
();
36
StatusCode
execute
();
37
StatusCode
finalize
();
38
StatusCode
beginRun
();
39
40
protected
:
41
bool
ignoringUsedHits
()
const
{
return
m_onlyUnusedHits;}
42
bool
poisoningHits
()
const
{
return
m_poisonHits;}
43
void
fillSegList
();
44
void
fillTrackList
();
45
void
dumpDigi
();
46
void
dumpTdsTrack
(
RecMdcTrackCol
* trackList);
47
void
fillMcTruth
();
48
void
fillEvent
();
49
StatusCode
bookNTuple
();
50
private
:
51
int
t_iExecute;
52
int
m_fittingMethod;
53
int
m_allHit;
//if all hit (active and inactive) include in the number of nHit
54
std::string m_configFile;
55
std::string m_paramFile;
56
std::string m_pdtFile;
57
const
MdcDetector
* _gm;
58
MdcFlagHold
m_flags;
// run-time-settable flags and params
59
std::auto_ptr<MdcSegData> m_hitData;
60
std::auto_ptr<MdcSegList> m_segs;
61
std::auto_ptr<MdcTrackListBase> m_tracks;
62
std::auto_ptr<MdcSegFinder> m_segFinder;
63
RawDataProviderSvc
* m_rawDataProviderSvc;
64
MdcPrintSvc
* m_mdcPrintSvc;
65
66
BField
*m_bfield;
67
68
std::vector<int> m_selEvtNo;
69
bool
m_onlyUnusedHits;
70
bool
m_poisonHits;
71
bool
m_doLineFit;
72
bool
m_tryBunch;
73
bool
m_recForEsTime;
74
std::vector<float> m_helixHitsSigma;
75
76
uint32_t m_getDigiFlag;
77
int
m_maxMdcDigi;
78
bool
m_keepBadTdc;
79
bool
m_dropHot;
80
bool
m_keepUnmatch;
81
int
m_minMdcDigi;
82
83
bool
m_fieldCosmic;
84
double
m_d0Cut;
85
double
m_z0Cut;
86
double
m_dropTrkPt;
87
bool
m_mcHist;
88
int
m_hist;
89
int
m_debug;
90
bool
m_doSagFlag;
91
bool
m_arbitrateHits;
92
bool
m_combineTracking;
93
94
double
mcDrift[43][288];
//FIXME assume max 43 track/event, 288 hit/track
95
double
mcLayer[43][288];
96
double
mcWire[43][288];
97
double
mcLR[43][288];
98
double
mcX[43][288];
99
double
mcY[43][288];
100
double
mcZ[43][288];
101
double
hitOnSeg[43];
102
double
hitOnMcTk[43];
103
int
hitPoisoned[43][288];
104
int
hitInSegList[43][288];
105
int
t_nHitInTk[100];
106
int
t_t0Stat;
107
double
t_t0;
108
double
t_t0Truth;
109
double
t_mcTkNum;
110
int
t_nDigi;
111
int
t_eventNo;
112
int
t_nRecTk;
113
int
t_iExexute;
114
int
isPrimaryOfMcTk[100];
115
int
pdgOfMcTk[100];
116
bool
m_noInner;
117
#ifdef MDCPATREC_TIMETEST
118
IBesTimerSvc
* m_timersvc;
119
BesTimer
* m_timer[2];
120
double
ti_nHit;
121
double
ti_p;
122
double
ti_pt;
123
#endif
124
IMagneticFieldSvc
* m_pIMF;
125
};
126
127
#endif
RecMdcTrackCol
ObjectVector< RecMdcTrack > RecMdcTrackCol
Definition:
InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h:79
BField
Definition:
InstallArea/include/BField/BField/BField.h:33
BesTimer
Definition:
InstallArea/include/BesTimerSvc/BesTimerSvc/BesTimer.h:13
IBesTimerSvc
Definition:
InstallArea/include/BesTimerSvc/BesTimerSvc/IBesTimerSvc.h:16
IMagneticFieldSvc
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:29
McParticle
The Monte Carlo particle kinematics information.
MdcCalibFunSvc
Definition:
InstallArea/include/MdcCalibFunSvc/MdcCalibFunSvc/MdcCalibFunSvc.h:22
MdcDetector
Definition:
InstallArea/include/MdcGeom/MdcGeom/MdcDetector.h:20
MdcFlagHold
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcFlagHold.h:16
MdcPrintSvc
Definition:
InstallArea/include/MdcPrintSvc/MdcPrintSvc/MdcPrintSvc.h:21
MdcSegData
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegData.h:27
MdcSegFinder
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegFinder.h:36
MdcSegList
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegList.h:20
MdcTrackListBase
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcTrackListBase.h:33
MdcTrkRecon
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcTrkRecon.h:31
MdcTrkRecon::bookNTuple
StatusCode bookNTuple()
MdcTrkRecon::finalize
StatusCode finalize()
MdcTrkRecon::~MdcTrkRecon
~MdcTrkRecon()
MdcTrkRecon::dumpTdsTrack
void dumpTdsTrack(RecMdcTrackCol *trackList)
MdcTrkRecon::fillEvent
void fillEvent()
MdcTrkRecon::execute
StatusCode execute()
MdcTrkRecon::fillTrackList
void fillTrackList()
MdcTrkRecon::initialize
StatusCode initialize()
MdcTrkRecon::ignoringUsedHits
bool ignoringUsedHits() const
Definition:
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcTrkRecon.h:41
MdcTrkRecon::beginRun
StatusCode beginRun()
MdcTrkRecon::MdcTrkRecon
MdcTrkRecon(const std::string &name, ISvcLocator *pSvcLocator)
MdcTrkRecon::fillSegList
void fillSegList()
MdcTrkRecon::poisoningHits
bool poisoningHits() const
Definition:
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcTrkRecon.h:42
MdcTrkRecon::dumpDigi
void dumpDigi()
MdcTrkRecon::fillMcTruth
void fillMcTruth()
RawDataProviderSvc
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-47/RawDataProviderSvc/RawDataProviderSvc.h:17
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-48
MdcTrkRecon
MdcTrkRecon.h
Generated by
1.9.6