 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <framework/gearbox/Const.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <framework/datastore/StoreObjPtr.h>
20 #include <mdst/dataobjects/Track.h>
21 #include <tracking/dataobjects/ExtHit.h>
22 #include <top/dataobjects/TOPDigit.h>
23 #include <top/dataobjects/TOPRecBunch.h>
24 #include <top/dataobjects/TOPBarHit.h>
25 #include <top/dataobjects/TOPLikelihood.h>
26 #include <top/dataobjects/TOPPull.h>
38 class TOPReconstructorModule :
public Module {
70 virtual void event()
override;
77 virtual void endRun()
override;
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
double m_minTime
optional lower time limit for photons
std::string m_topDigitCollectionName
name of the collection of TOPDigits
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
double m_scaleN0
scale factor for N0
bool m_smearTrack
set to true, if at least one sigma > 0
std::string m_topPullCollectionName
name of the collection of created TOPPulls
double m_sigmaZ
track smearing in Z (r.m.s)
double m_sigmaTheta
track smearing in Theta (r.m.s)
double m_sigmaPhi
track smearing in Phi (r.m.s)
virtual void event() override
Event processor.
double m_sigmaRphi
track smearing in Rphi (r.m.s)
virtual void terminate() override
Termination action.
std::string m_topLikelihoodCollectionName
name of the collection of created TOPLikelihoods
double m_minBkgPerBar
minimal assumed background photons per bar
int m_debugLevel
debug level from logger
double m_masses[Const::ChargedStable::c_SetSize]
particle masses
virtual void beginRun() override
Called when entering a new run.
virtual ~TOPReconstructorModule()
Destructor.
virtual void endRun() override
End-of-run action.
StoreArray< Track > m_tracks
collection of tracks
Abstract base class for different kinds of events.
StoreArray< TOPLikelihood > m_likelihoods
collection of likelihoods
Type-safe access to single objects in the data store.
int m_pdgCodes[Const::ChargedStable::c_SetSize]
particle codes
virtual void initialize() override
Initialize the Module.
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
StoreArray< TOPPull > m_topPulls
collection of pulls
TOPReconstructorModule()
Constructor.
StoreArray< TOPBarHit > m_barHits
collection of bar hits
Accessor to arrays stored in the data store.
double m_maxTime
optional upper time limit for photons
StoreArray< TOPDigit > m_digits
collection of digits
int m_PDGCode
PDG code of hypothesis to construct pulls.