43 return ( std::tie( t.m_run_number, t.m_lumi_block, t.m_event_number ) >=
46 std::tie( t.m_run_number, t.m_lumi_block, t.m_event_number ) <
49 std::tie( t.m_time_stamp, t.m_time_stamp_ns_offset ) >=
50 std::tie(
m_start.m_time_stamp,
m_start.m_time_stamp_ns_offset ) &&
52 std::tie( t.m_time_stamp, t.m_time_stamp_ns_offset ) <
53 std::tie(
m_stop.m_time_stamp,
m_stop.m_time_stamp_ns_offset ) );
57 template <
typename... T>
72 operator std::string()
const;
85inline EventIDRange::operator std::string()
const {
86 std::ostringstream os;
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
bool operator==(const EventIDRange &lhs, const EventIDRange &rhs)
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...
const EventIDBase & start() const
bool isInRange(const EventIDBase &t) const
static EventIDRange intersect(const EventIDRange &first, const T &... rest)
EventIDRange & operator=(const EventIDRange &r)
const EventIDBase & stop() const
friend bool operator==(const EventIDRange &lhs, const EventIDRange &rhs)
friend std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
static EventIDRange intersect(const EventIDRange &it)
friend bool operator!=(const EventIDRange &lhs, const EventIDRange &rhs)
EventIDRange(const EventIDRange &r)