Jpp
15.0.5
the software that should make you happy
|
Auxiliary class to convert DAQ hit time to/from Monte Carlo hit time. More...
#include <time_converter.hh>
Public Member Functions | |
time_converter () | |
Default constructor. More... | |
time_converter (const Evt &event) | |
Constructor. More... | |
time_converter (const Evt &event, const JDAQChronometer &chronometer) | |
Constructor. More... | |
double | getTime () const |
Get DAQ/trigger time minus Monte Carlo time. More... | |
double | putTime () const |
Get Monte Carlo time minus DAQ/trigger time. More... | |
double | getTime (const double t0) const |
Get Monte Carlo hit time. More... | |
double | putTime (const double t0) const |
Get DAQ hit time. More... | |
Protected Attributes | |
double | __t0 |
double | __t1 |
Auxiliary class to convert DAQ hit time to/from Monte Carlo hit time.
Definition at line 19 of file time_converter.hh.
|
inline |
|
inline |
Constructor.
Note that this constructor should only be used after incorporation of KM3NETDAQ::JDAQEvent.
event | event |
Definition at line 37 of file time_converter.hh.
|
inline |
Constructor.
event | Monte Carlo event |
chronometer | DAQ chronometer |
Definition at line 49 of file time_converter.hh.
|
inline |
Get DAQ/trigger time minus Monte Carlo time.
Definition at line 61 of file time_converter.hh.
|
inline |
Get Monte Carlo time minus DAQ/trigger time.
Definition at line 72 of file time_converter.hh.
|
inline |
Get Monte Carlo hit time.
t0 | DAQ/trigger hit time [ns] |
Definition at line 84 of file time_converter.hh.
|
inline |
Get DAQ hit time.
t0 | Monte Carlo hit time [ns] |
Definition at line 96 of file time_converter.hh.
|
protected |
Definition at line 102 of file time_converter.hh.
|
protected |
Definition at line 103 of file time_converter.hh.