 |
Belle II Software
release-05-02-19
|
13 #include <framework/datastore/RelationsObject.h>
42 TOPTimeZero(
int moduleID,
double t0,
double err,
int numPhotons):
52 void setHistograms(
const TH1F& chi2,
const TH1F& pdf,
const TH1F& hits)
int m_numPhotons
number of photons
bool isValid() const
Returns the status of time zero reconstruction.
float m_t0
time zero in [ns]
float m_assumedMass
particle mass used in reconstruction
TH1F m_chi2
chi^2 versus t0 used to find minimum
Class to store T0 information.
TH1F m_pdf
PDF projected to time.
double getTime() const
Returns time zero.
int getNumPhotons() const
Returns number of photons used to find minimum.
unsigned getModuleID() const
Returns slot number used to determine t0.
void setInvalid()
Sets time zero to invalid.
const TH1F & getPDF() const
Returns histogram of PDF projected to time axis.
Abstract base class for different kinds of events.
ClassDef(TOPTimeZero, 3)
ClassDef.
float m_err
error on time zero [ns]
const TH1F & getChi2() const
Returns histogram of chi^2 versus t0 that was used to find minimum.
void setAssumedMass(double mass)
Sets particle mass used in reconstruction.
TH1F m_hits
time distribution of hits
TOPTimeZero()
Default constructor.
int m_moduleID
slot number (1-based)
double getError() const
Returns time zero uncertainty.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
void setHistograms(const TH1F &chi2, const TH1F &pdf, const TH1F &hits)
Sets histograms.
const TH1F & getHits() const
Returns histogram of time distribution of hits.
bool m_valid
status: true if time zero is successfully determined
double getAssumedMass() const
Returns particle mass used in time zero reconstruction.