11#include <framework/datastore/RelationsObject.h>
40 TOPTimeZero(
int moduleID,
double t0,
double err,
int numPhotons):
Defines interface for accessing relations of objects in StoreArray.
Class to store T0 information.
TH1F m_pdf
PDF projected to time.
void setInvalid()
Sets time zero to invalid.
void setHistograms(const TH1F &chi2, const TH1F &pdf, const TH1F &hits)
Sets histograms.
ClassDef(TOPTimeZero, 4)
ClassDef.
TH1F m_hits
time distribution of hits
float m_err
error on time zero [ns]
float m_t0
time zero in [ns]
TOPTimeZero()
Default constructor.
const TH1F & getHits() const
Returns histogram of time distribution of hits.
const TH1F & getChi2() const
Returns histogram of chi^2 versus t0 that was used to find minimum.
bool isValid() const
Returns the status of time zero reconstruction.
float m_minChi2
chi2 value at minimum
int m_numPhotons
number of photons
double getMinChi2() const
Returns chi2 value at minimum.
int m_moduleID
slot number (1-based)
float m_assumedMass
particle mass used in reconstruction
bool m_valid
status: true if time zero is successfully determined
const TH1F & getPDF() const
Returns histogram of PDF projected to time axis.
TH1F m_chi2
chi^2 versus t0 used to find minimum
unsigned getModuleID() const
Returns slot number used to determine t0.
double getError() const
Returns time zero uncertainty.
TOPTimeZero(int moduleID, double t0, double err, int numPhotons)
Usefull constructor.
void setAssumedMass(double mass)
Sets particle mass used in reconstruction.
int getNumPhotons() const
Returns number of photons used to find minimum.
void setMinChi2(double minChi2)
Sets chi2 value at minimum.
double getAssumedMass() const
Returns particle mass used in time zero reconstruction.
double getTime() const
Returns time zero.
Abstract base class for different kinds of events.