1 #ifndef __TOOLS__TIME_CONVERTER__ 
    2 #define __TOOLS__TIME_CONVERTER__ 
Auxiliary class to convert DAQ hit time to/from Monte Carlo hit time.
 
time_converter(const Evt &event)
Constructor.
 
double putTime(const double t0) const
Get DAQ hit time.
 
time_converter(const Evt &event, const JDAQChronometer &chronometer)
Constructor.
 
time_converter()
Default constructor.
 
double getTime() const
Get DAQ/trigger time minus Monte Carlo time.
 
double getTime(const double t0) const
Get Monte Carlo hit time.
 
double putTime() const
Get Monte Carlo time minus DAQ/trigger time.
 
double getTimeOfRTS(const JDAQChronometer &chronometer)
Get time of last RTS in ns since start of run for a given chronometer.
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.