Jpp
18.3.0-209-g56ce19a
the software that should make you happy
|
Auxiliary class to determine time of DAQ objects. More...
#include <JDAQEvaluator.hh>
Public Member Functions | |
JDAQEvaluator () | |
Default constructor. More... | |
double | operator() (const JDAQUTCExtended &object) const |
Get time of object. More... | |
double | operator() (const JDAQHeader &object) const |
Get time of object. More... | |
double | operator() (const JDAQEvent &object) const |
Get time of event. More... | |
Static Public Member Functions | |
static double | getWeight () |
Get relative weight for JDAQEvent evaluation. More... | |
Auxiliary class to determine time of DAQ objects.
The time is relative to the fixed time defined in JDAQUTCExtended.
For DAQ events, the time is offset by the product of the event counter and a constant weight.
To correlate DAQ events with summary data, the weight should be set to a value such that this product is strictly less than half of the frame duration.
Definition at line 23 of file JDAQEvaluator.hh.
|
inline |
|
inline |
Get time of object.
object | UTC time |
Definition at line 37 of file JDAQEvaluator.hh.
|
inline |
Get time of object.
object | event |
Definition at line 49 of file JDAQEvaluator.hh.
|
inline |
Get time of event.
object | event |
Definition at line 61 of file JDAQEvaluator.hh.
|
inlinestatic |
Get relative weight for JDAQEvent evaluation.
This value should be less than half of the frame duration in units of seconds divided by the expected maximum number of events in a single data taking run.
Definition at line 75 of file JDAQEvaluator.hh.