1#ifndef __TOOLS__TIME_CONVERTER__ 
    2#define __TOOLS__TIME_CONVERTER__ 
   39    __t1(getTimeOfRTS(event.frame_index))
 
 
   52    __t1(getTimeOfRTS(chronometer))
 
 
 
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.
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.