 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <mdst/dataobjects/Track.h>
17 #include <tracking/dataobjects/ExtHit.h>
18 #include <top/dataobjects/TOPDigit.h>
19 #include <top/dataobjects/TOPRecBunch.h>
20 #include <top/utilities/TrackSelector.h>
21 #include <top/utilities/Chi2MinimumFinder1D.h>
22 #include <top/reconstruction/TOPreco.h>
43 class TOPChannelT0CalibratorModule :
public Module {
72 virtual void event()
override;
78 virtual void endRun()
override;
double m_minMomentum
minimal track momentum if sample is "cosmics"
@ c_numModules
number of modules
float m_x
track: extrapolated hit coordinate in local (module) frame
TOP::TrackSelector m_selector
track selection utility
float m_p
track: extrapolated hit momentum in local (module) frame
TTree * m_tree
TTree containing selected track parameters etc.
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
double m_deltaEcms
c.m.s energy window if sample is "dimuon" or "bhabha"
virtual void event() override
Event processor.
virtual void terminate() override
Termination action.
StoreArray< TOPDigit > m_digits
collection of digits
int m_PDG
track MC truth (simulated data only)
float m_theta
track: extrapolated hit momentum in local (module) frame
Minimum finder using tabulated chi^2 values in one dimension.
virtual void beginRun() override
Called when entering a new run.
std::vector< TH1F > m_hits1D
number photon hits in a channel
float m_z
track: extrapolated hit coordinate in local (module) frame
TOP::Chi2MinimumFinder1D m_finders[2][c_numModules][c_numChannels]
finders
std::string m_pdfOption
PDF option name.
double m_maxZ
maximal local z of extrapolated hit
double m_minZ
minimal local z of extrapolated hit
virtual ~TOPChannelT0CalibratorModule()
Destructor.
float m_y
track: extrapolated hit coordinate in local (module) frame
std::string m_outFileName
Root output file name containing results.
virtual void endRun() override
End-of-run action.
double m_scaleN0
scale factor for figure-of-merit N0
Abstract base class for different kinds of events.
std::vector< TH2F > m_hits2D
hit times vs.
Type-safe access to single objects in the data store.
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
Utility for the track selection - used in various calibration modules.
float m_phi
track: extrapolated hit momentum in local (module) frame
StoreArray< Track > m_tracks
collection of tracks
double m_dr
cut on POCA in r
double m_minBkgPerBar
minimal assumed background photons per module
int m_numPhotons
number of photons in this slot
PDFoption
Options for PDF: rough: no dependence on y fine: y dependent PDF everywhere optimal: y dependent PDF ...
int m_moduleID
slot to which the track is extrapolated to
std::string m_sample
sample type
double m_timeRange
time range in which to search for the minimum [ns]
virtual void initialize() override
Initialize the Module.
double m_sigmaSmear
additional smearing of PDF in [ns]
Accessor to arrays stored in the data store.
TOPChannelT0CalibratorModule()
Constructor.
@ c_numChannels
number of channels per module
TOP::TOPreco::PDFoption m_PDFOption
PDF option.
double m_dz
cut on POCA in z
int m_numBins
number of bins to which search region is divided