1 #ifndef __JTRIGGER__JTIMECONVERTER__
2 #define __JTRIGGER__JTIMECONVERTER__
23 namespace JPP {
using namespace JTRIGGER; }
double getT() const
Get calibrated time of hit.
double putTime(const Hit &hit) const
Get DAQ hit time.
Data structure for L1 hit.
double getTime(const T &t1, const JCalibration &cal)
Get calibrated time.
PMT calibration (including definition of sign of time offset).
double putTime() const
Get Monte Carlo minus DAQ/trigger hit time.
double getT(const unsigned int i) const
Get time of hit i.
double getTime() const
Get DAQ/trigger minus Monte Carlo hit time.
Data structure for PMT calibration.
double getTimeOfRTS(const JDAQChronometer &chronometer)
Get time of last RTS in ns since start of run for a given chronometer.
double getTime(const Hit &hit)
Get true time of hit.
Basic data structure for time and time over threshold information of hit.
JTDC_t getT() const
Get time.
double putTime(const double t0) const
Get DAQ hit time.
JTimeConverter()
Default constructor.
double getTime(const JDAQHit &hit, const JCalibration &calibration) const
Get Monte Carlo hit time.
JTimeConverter(const Evt &event, const JDAQChronometer &chronometer)
Constructor.
double getTime(const JHit &hit) const
Get Monte Carlo hit time.
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time.
double getTime(const double t0) const
Get Monte Carlo hit time.
double getTime(const JHitL1 &hit) const
Get Monte Carlo hit time.
Basic data structure for L1 hit.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.