1 #ifndef GAUDIKERNEL_EVENTIDBASE_H
2 #define GAUDIKERNEL_EVENTIDBASE_H 1
134 return !( (lhs < rhs) || (lhs == rhs));
137 return !(lhs == rhs);
169 #endif // EVENTINFO_EVENTID_H
void set_time_stamp(number_type timeStamp)
set time stamp
std::ostream & operator<<(std::ostream &os, const EventIDBase &rhs)
void set_time_stamp_ns_offset(number_type timeStampNs)
set time stamp in ns
void set_lumi_block(number_type lumiBlock)
set luminosity block identifier
uint64_t m_event_number
event number
void set_run_number(number_type runNumber)
set run number
number_type bunch_crossing_id() const
bunch crossing ID, 32 bit unsigned
number_type m_lumiBlock
luminosity block number: the number which uniquely tags a luminosity block within a run ...
friend bool operator==(const EventIDBase &lhs, const EventIDBase &rhs)
friend std::ostream & operator<<(std::ostream &os, const EventIDBase &rhs)
Extraction operators.
number_type m_time_stamp_ns_offset
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
friend bool operator<=(const EventIDBase &lhs, const EventIDBase &rhs)
void set_bunch_crossing_id(number_type bcid)
set bunch crossing ID
unsigned long long uint64_t
number_type m_bunch_crossing_id
bunch crossing ID, 32 bit unsigned
number_type lumi_block() const
luminosity block identifier, 32 bit unsigned
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
bool operator>(const EventIDBase &lhs, const EventIDBase &rhs)
number_type m_time_stamp
posix time in seconds since 1970/01/01
uint64_t event_number() const
event number - 64 bit unsigned
void set_event_number(uint64_t eventNumber)
set event number
friend bool operator!=(const EventIDBase &lhs, const EventIDBase &rhs)
number_type m_run_number
run number
number_type run_number() const
run number - 32 bit unsigned
bool operator==(const EventIDBase &lhs, const EventIDBase &rhs)
friend bool operator>(const EventIDBase &lhs, const EventIDBase &rhs)
number_type time_stamp_ns_offset() const
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
bool operator<(const EventIDBase &lhs, const EventIDBase &rhs)
friend bool operator<(const EventIDBase &lhs, const EventIDBase &rhs)
Comparison operators.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
bool operator!=(const EventIDBase &lhs, const EventIDBase &rhs)
bool operator>=(const EventIDBase &lhs, const EventIDBase &rhs)
friend bool operator>=(const EventIDBase &lhs, const EventIDBase &rhs)
bool operator<=(const EventIDBase &lhs, const EventIDBase &rhs)