1 #ifndef GAUDIKERNEL_EVENTIDBASE_H 2 #define GAUDIKERNEL_EVENTIDBASE_H 1 268 #endif // EVENTINFO_EVENTID_H void set_time_stamp(number_type timeStamp)
set time stamp
static const number_type UNDEFNUM
void set_time_stamp_ns_offset(number_type timeStampNs)
set time stamp in ns
bool operator()(const EventIDBase &t1, const EventIDBase &t2) const
bool operator()(const EventIDBase *t1, const EventIDBase *t2) const
void set_lumi_block(number_type lumiBlock)
set luminosity block identifier
void set_run_number(number_type runNumber)
set run number
number_type bunch_crossing_id() const
bunch crossing ID, 32 bit unsigned
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
event_number_t m_event_number
event number
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
bool operator()(const EventIDBase *t1, const EventIDBase *t2) const
number_type m_time_stamp
posix time in seconds since 1970/01/01
number_type m_lumi_block
luminosity block number: the number which uniquely tags a luminosity block within a run ...
bool operator()(const EventIDBase *t1, const EventIDBase *t2) const
bool operator()(const EventIDBase &t1, const EventIDBase &t2) const
friend bool operator!=(const EventIDBase &lhs, const EventIDBase &rhs)
bool operator()(const EventIDBase &t1, const EventIDBase &t2) const
number_type m_run_number
run number
void set_event_number(event_number_t eventNumber)
set event number
number_type run_number() const
run number - 32 bit unsigned
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
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...
friend bool operator>=(const EventIDBase &lhs, const EventIDBase &rhs)
bool operator()(const EventIDBase *t1, const EventIDBase *t2) const
static const event_number_t UNDEFEVT
bool operator()(const EventIDBase &t1, const EventIDBase &t2) const
event_number_t event_number() const
event number - 64 bit unsigned