Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
Match of two events considering overlap in time. More...
#include <JEventOverlap.hh>
Public Member Functions | |
JEventOverlap (const double Tmax_ns) | |
Constructor. More... | |
bool | operator() (const JEvent &first, const JEvent &second) const |
Match criterion. More... | |
double | getTmax () const |
Get time window. More... | |
Static Public Member Functions | |
static double | getExtraTime () |
Get extra time. More... | |
Protected Attributes | |
double | tmax_ns |
Match of two events considering overlap in time.
Definition at line 20 of file JTrigger/JEventOverlap.hh.
|
inline |
Constructor.
Tmax_ns | maximal time difference between two consecutive events [ns] |
Definition at line 27 of file JTrigger/JEventOverlap.hh.
|
inline |
Match criterion.
first | first event |
second | second event |
Definition at line 39 of file JTrigger/JEventOverlap.hh.
|
inline |
Get time window.
Definition at line 54 of file JTrigger/JEventOverlap.hh.
|
inlinestatic |
Get extra time.
The extra time is used to accomodate small time gaps (sub-ns) due to numerical precision.
Definition at line 67 of file JTrigger/JEventOverlap.hh.
|
protected |
Definition at line 73 of file JTrigger/JEventOverlap.hh.