Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_EVENTIDRANGE_H
12 #define GAUDIKERNEL_EVENTIDRANGE_H 1
44 return (
std::tie(
t.m_run_number,
t.m_lumi_block,
t.m_event_number ) >=
47 std::tie(
t.m_run_number,
t.m_lumi_block,
t.m_event_number ) <
50 std::tie(
t.m_time_stamp,
t.m_time_stamp_ns_offset ) >=
53 std::tie(
t.m_time_stamp,
t.m_time_stamp_ns_offset ) <
58 template <
typename... T>
88 os <<
"{" << m_start <<
" - " << m_stop <<
"}";
number_type m_time_stamp_ns_offset
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Event ID Range object. Holds two EventIDBases (start and stop)
number_type m_run_number
run number
bool isInRange(const EventIDBase &t) const
friend bool operator!=(const EventIDRange &lhs, const EventIDRange &rhs)
const EventIDBase & stop() const
number_type m_lumi_block
luminosity block number: the number which uniquely tags a luminosity block within a run
static EventIDRange intersect(const EventIDRange &it)
event_number_t m_event_number
event number
bool operator!=(const EventIDRange &lhs, const EventIDRange &rhs)
friend std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
static EventIDRange intersect(const EventIDRange &first, const T &... rest)
bool operator==(const EventIDRange &lhs, const EventIDRange &rhs)
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
EventIDRange & operator=(const EventIDRange &r)
const EventIDBase & start() const
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
friend bool operator==(const EventIDRange &lhs, const EventIDRange &rhs)
number_type m_time_stamp
posix time in seconds since 1970/01/01
EventIDRange(const EventIDRange &r)