 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <top/dataobjects/TOPDigit.h>
18 #include <top/dataobjects/TOPRawDigit.h>
19 #include <mdst/dataobjects/Track.h>
20 #include <top/dataobjects/TOPRecBunch.h>
21 #include <top/dataobjects/TOPTimeZero.h>
22 #include <framework/dataobjects/MCInitialParticles.h>
23 #include <framework/dataobjects/EventT0.h>
24 #include <framework/database/DBObjPtr.h>
25 #include <top/dbobjects/TOPCalCommonT0.h>
37 class TOPBunchFinderModule :
public Module {
60 virtual void event()
override;
DBObjPtr< TOPCalCommonT0 > m_commonT0
common T0 calibration constants
int m_bunchesPerSSTclk
number of bunches per SST clock
double m_bunchTimeSep
time between two bunches
StoreArray< TOPDigit > m_topDigits
collection of TOP digits
double m_minSignal
minimal number of signal photons
StoreArray< TOPRawDigit > m_topRawDigits
collection of TOP raw digits
bool m_usePIDLikelihoods
if true, use PIDLikelihoods (only on cdst files)
double m_minPt
minimal p_T of track
double m_maxPt
maximal p_T of track
bool m_useMCTruth
use MC truth for mass instead of dEdx most probable
StoreObjPtr< MCInitialParticles > m_initialParticles
simulated beam particles
virtual void event() override
Event processor.
virtual void terminate() override
Termination action.
bool m_subtractRunningOffset
subtract running offset when running in HLT mode
StoreArray< TOPTimeZero > m_timeZeros
collection of T0 of individual tracks
double m_timeRange
time range in which to do fine search [ns]
double m_tau
first order filter time constant [events]
int m_numBins
number of bins to which search region is divided
virtual void beginRun() override
Called when entering a new run.
unsigned m_processed
processed events
StoreObjPtr< EventT0 > m_eventT0
event T0
Class for accessing objects in the database.
unsigned m_success
events with reconstructed bunch
TOPBunchFinderModule()
Constructor.
double m_sigmaSmear
additional smearing of PDF in [ns]
bool m_fineSearch
use fine search
double m_runningOffset
running average of bunch offset
int m_minNHitsCDC
minimal number of hits in CDC
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
double m_minSBRatio
minimal signal-to-background ratio
bool m_HLTmode
use running average to correct digits
bool m_saveHistograms
flag to save histograms
double m_maxZ0
maximal absolute value of helix perigee z coordnate
double m_maxD0
maximal absolute value of helix perigee distance
Const::ChargedStable getMostProbable(const Track &track)
Returns most probable charged stable particle according to dEdx and predefined prior probabilities.
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
virtual void initialize() override
Initialize the Module.
double m_minDERatio
minimal ratio of detected over expected photons
double m_runningError
error on running average
double m_maxDERatio
maximal ratio of detected over expected photons
Provides a type-safe way to pass members of the chargedStableSet set.
bool m_correctDigits
subtract bunch time in TOPDigits
Class that bundles various TrackFitResults.
Accessor to arrays stored in the data store.
std::map< int, double > m_priors
map of PDG codes to prior probabilities
int m_nodEdxCount
counter of tracks with no dEdx, reset at each event
StoreArray< Track > m_tracks
collection of tracks