Jpp
|
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time. More...
#include <JTimeConverter.hh>
Public Member Functions | |
JTimeConverter () | |
Default constructor. More... | |
JTimeConverter (const Evt &event, const JDAQChronometer &chronometer) | |
Constructor. More... | |
double | getTime () const |
Get DAQ/trigger minus Monte Carlo hit time. More... | |
double | putTime () const |
Get Monte Carlo minus DAQ/trigger hit 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... | |
double | getTime (const JHit &hit) const |
Get Monte Carlo hit time. More... | |
double | getTime (const JHitL1 &hit) const |
Get Monte Carlo hit time. More... | |
double | getTime (const JDAQHit &hit, const JCalibration &calibration) const |
Get Monte Carlo hit time. More... | |
double | putTime (const Hit &hit) const |
Get DAQ hit time. More... | |
Protected Attributes | |
double | __t0 |
double | __t1 |
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time.
Definition at line 36 of file JTimeConverter.hh.
|
inline |
|
inline |
Constructor.
event | Monte Carlo event |
chronometer | DAQ chronometer |
Definition at line 54 of file JTimeConverter.hh.
|
inline |
Get DAQ/trigger minus Monte Carlo hit time.
Definition at line 66 of file JTimeConverter.hh.
|
inline |
Get Monte Carlo minus DAQ/trigger hit time.
Definition at line 77 of file JTimeConverter.hh.
|
inline |
Get Monte Carlo hit time.
t0 | DAQ/trigger hit time [ns] |
Definition at line 89 of file JTimeConverter.hh.
|
inline |
Get DAQ hit time.
t0 | Monte Carlo hit time [ns] |
Definition at line 101 of file JTimeConverter.hh.
|
inline |
Get Monte Carlo hit time.
hit | trigger hit |
Definition at line 113 of file JTimeConverter.hh.
|
inline |
Get Monte Carlo hit time.
hit | trigger hit |
Definition at line 125 of file JTimeConverter.hh.
|
inline |
Get Monte Carlo hit time.
hit | DAQ hit |
calibration | PMT calibration |
Definition at line 138 of file JTimeConverter.hh.
|
inline |
Get DAQ hit time.
hit | Monte Carlo hit time [ns] |
Definition at line 150 of file JTimeConverter.hh.
|
protected |
Definition at line 157 of file JTimeConverter.hh.
|
protected |
Definition at line 158 of file JTimeConverter.hh.