 |
Belle II Software
release-05-02-19
|
13 #include <framework/datastore/RelationsObject.h>
66 double currentOffset,
double currentOffsetError,
67 double averageOffset,
double averageOffsetError,
86 void setNumTracks(
int numTracks,
int usedTracks,
int nodEdx)
int m_recBunchNo
reconstructed relative bunch number
Class to store results of TOPBunchFinder.
void setNumTracks(int numTracks, int usedTracks, int nodEdx)
Set number of tracks.
bool m_simValid
status of sim
double getMCTime() const
Returns simulated bunch time (= time used as event start time)
int getMCBunchNo() const
Returns simulated bunch number (= bunch used for the event start time)
double getTime() const
Returns reconstructed bunch time relative to L1 trigger signal at TOP (time to be subtracted to corre...
bool isSimulated() const
Check if simulated return values are valid.
bool m_recValid
status of rec
double getCurrentOffsetError() const
Returns uncertainly of current offset.
void addHistogram(const TH1F &histo)
Add histogram.
int getUsedTracks() const
Returns number of tracks used for bunch reconstruction.
int getNumTracks() const
Returns number of tracks in acceptance of TOP.
double getCurrentOffset() const
Returns current offset to reconstructed bunch.
bool isFineSearch() const
Check if fine search is done.
unsigned short getRevo9Counter() const
Returns 127 MHz clock ticks since last revo9 marker.
float m_currentOffsetError
uncertainty of current offset
const std::vector< TH1F > & getHistograms() const
Returns histograms.
float m_currentOffset
current offset
int m_numTracks
number of tracks in acceptance of TOP
void setRevo9Counter(unsigned short revo9Counter)
Sets number of global clock tics since last revo9 flag.
float m_averageOffsetError
uncertainty of running average of offset
void clearReconstructed()
Clear reconstruction data members.
Abstract base class for different kinds of events.
unsigned short m_revo9Counter
number of clock ticks since last revo9 flag
void setSimulated(int bunchNo, double time)
Set simulated relative bunch number and time.
void setReconstructed(int bunchNo, double time, double currentOffset, double currentOffsetError, double averageOffset, double averageOffsetError, bool fineSearch)
Set reconstructed relative bunch number and time.
bool isReconstructed() const
Check if reconstructed return values are valid.
int getBunchNo() const
Returns reconstructed bunch number relative to L1 trigger signal at TOP note: depends on the "look ba...
double getAverageOffset() const
Returns average offset to reconstructed bunch.
int getNodEdxTracks() const
Returns number of used tracks without dEdx information.
float m_recTime
reconstructed relative bunch time
float m_averageOffset
running average of offset
int m_nodEdx
number of used tracks with no dEdx information
TOPRecBunch()
Default constructor.
std::vector< TH1F > m_histograms
histograms, like chi2 vs t0
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
ClassDef(TOPRecBunch, 3)
ClassDef.
double getAverageOffsetError() const
Returns uncertainly of average offset.
bool m_fineSearch
if true, fine search was done
int getAbsoluteBunchNo(int offset) const
Returns reconstructed absolute bunch number within the ring.
float m_simTime
simulated relative bunch time
int m_usedTracks
number of tracks used for bunch reconstruction
int m_simBunchNo
simulated relative bunch number