![]() |
The Gaudi Framework
v33r0 (d5ea422b)
|
This class provides a unique identification for each event, in terms of run/event number and/or a time stamp. More...
#include <GaudiKernel/EventIDBase.h>
Public Types | |
| typedef unsigned int | number_type |
| typedef uint64_t | event_number_t |
Static Public Member Functions | |
| static auto | SortByTimeStamp () |
| static auto | SortByRunEvent () |
| static auto | SortByLumiEvent () |
| static auto | SortByRunLumi () |
Static Public Attributes | |
| static const number_type | UNDEFNUM = std::numeric_limits<EventIDBase::number_type>::max() |
| static const event_number_t | UNDEFEVT = std::numeric_limits<EventIDBase::event_number_t>::max() |
Private Types | |
| enum | Type { Invalid = 0, RunEvent = 1 << 1, TimeStamp = 1 << 2, LumiEvent = 1 << 3, RunLumi = 1 << 4 } |
Private Member Functions | |
| void | setRE () |
| void | setTS () |
| void | setLE () |
| void | setRL () |
Private Attributes | |
| unsigned | m_type {Invalid} |
| number_type | m_run_number {UNDEFNUM} |
| run number More... | |
| event_number_t | m_event_number {UNDEFEVT} |
| event number More... | |
| number_type | m_time_stamp {UNDEFNUM} |
| posix time in seconds since 1970/01/01 More... | |
| number_type | m_time_stamp_ns_offset {UNDEFNUM} |
| time stamp ns - ns time offset for time_stamp, 32 bit unsigned More... | |
| number_type | m_lumi_block {UNDEFNUM} |
| luminosity block number: the number which uniquely tags a luminosity block within a run More... | |
| number_type | m_bunch_crossing_id {UNDEFNUM} |
| bunch crossing ID, 32 bit unsigned More... | |
Friends | |
| class | EventIDRange |
| bool | operator== (const EventIDBase &lhs, const EventIDBase &rhs) |
| Comparison operators. More... | |
| bool | operator< (const EventIDBase &lhs, const EventIDBase &rhs) |
| bool | operator> (const EventIDBase &lhs, const EventIDBase &rhs) |
| bool | operator!= (const EventIDBase &lhs, const EventIDBase &rhs) |
| bool | operator<= (const EventIDBase &lhs, const EventIDBase &rhs) |
| bool | operator>= (const EventIDBase &lhs, const EventIDBase &rhs) |
| EventIDBase | min (const EventIDBase &lhs, const EventIDBase &rhs) |
| EventIDBase | max (const EventIDBase &lhs, const EventIDBase &rhs) |
| std::ostream & | operator<< (std::ostream &os, const EventIDBase &rhs) |
| Extraction operators. More... | |
This class provides a unique identification for each event, in terms of run/event number and/or a time stamp.
Definition at line 66 of file EventIDBase.h.
| typedef uint64_t EventIDBase::event_number_t |
Definition at line 69 of file EventIDBase.h.
| typedef unsigned int EventIDBase::number_type |
Definition at line 68 of file EventIDBase.h.
|
private |
| Enumerator | |
|---|---|
| Invalid | |
| RunEvent | |
| TimeStamp | |
| LumiEvent | |
| RunLumi | |
Definition at line 183 of file EventIDBase.h.
|
inline |
Definition at line 79 of file EventIDBase.h.
| EventIDBase::EventIDBase | ( | number_type | run_number, |
| event_number_t | event_number, | ||
| number_type | time_stamp = UNDEFNUM, |
||
| number_type | time_stamp_ns_offset = 0, |
||
| number_type | lumi_block = UNDEFNUM, |
||
| number_type | bunch_crossing_id = 0 |
||
| ) |
Definition at line 27 of file EventIDBase.cpp.
| EventIDBase::EventIDBase | ( | std::tuple< number_type, number_type, event_number_t > | run_lumi_ev, |
| std::tuple< number_type, number_type > | time_stamp, | ||
| number_type | bunch_crossing_id | ||
| ) |
Definition at line 47 of file EventIDBase.cpp.
|
virtualdefault |
|
inline |
bunch crossing ID, 32 bit unsigned
Definition at line 107 of file EventIDBase.h.
|
inline |
|
inline |
Definition at line 155 of file EventIDBase.h.
|
inline |
Definition at line 153 of file EventIDBase.h.
|
inline |
Definition at line 156 of file EventIDBase.h.
|
inline |
Definition at line 154 of file EventIDBase.h.
|
inline |
Definition at line 157 of file EventIDBase.h.
|
inline |
luminosity block identifier, 32 bit unsigned
Definition at line 104 of file EventIDBase.h.
|
inline |
|
inline |
set bunch crossing ID
Definition at line 140 of file EventIDBase.h.
|
inline |
set event number
Definition at line 117 of file EventIDBase.h.
|
inline |
set luminosity block identifier
Definition at line 133 of file EventIDBase.h.
|
inline |
set run number
Definition at line 110 of file EventIDBase.h.
|
inline |
set time stamp
Definition at line 124 of file EventIDBase.h.
|
inline |
set time stamp in ns
Definition at line 130 of file EventIDBase.h.
|
inlineprivate |
Definition at line 189 of file EventIDBase.h.
|
inlineprivate |
Definition at line 187 of file EventIDBase.h.
|
inlineprivate |
Definition at line 190 of file EventIDBase.h.
|
inlineprivate |
Definition at line 188 of file EventIDBase.h.
|
inlinestatic |
Definition at line 172 of file EventIDBase.h.
|
inlinestatic |
Definition at line 167 of file EventIDBase.h.
|
inlinestatic |
Definition at line 177 of file EventIDBase.h.
|
inlinestatic |
Definition at line 162 of file EventIDBase.h.
|
inline |
time stamp - posix time in seconds from 1970, 32 bit unsigned
Definition at line 98 of file EventIDBase.h.
|
inline |
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition at line 101 of file EventIDBase.h.
|
friend |
Definition at line 74 of file EventIDBase.h.
|
friend |
Definition at line 225 of file EventIDBase.h.
|
friend |
Definition at line 212 of file EventIDBase.h.
|
friend |
Definition at line 146 of file EventIDBase.h.
|
friend |
Definition at line 255 of file EventIDBase.h.
|
friend |
Extraction operators.
Definition at line 274 of file EventIDBase.h.
|
friend |
Definition at line 147 of file EventIDBase.h.
|
friend |
Comparison operators.
Definition at line 268 of file EventIDBase.h.
|
friend |
Definition at line 145 of file EventIDBase.h.
|
friend |
Definition at line 148 of file EventIDBase.h.
|
private |
bunch crossing ID, 32 bit unsigned
Definition at line 209 of file EventIDBase.h.
|
private |
event number
Definition at line 196 of file EventIDBase.h.
|
private |
luminosity block number: the number which uniquely tags a luminosity block within a run
Definition at line 206 of file EventIDBase.h.
|
private |
run number
Definition at line 193 of file EventIDBase.h.
|
private |
posix time in seconds since 1970/01/01
Definition at line 199 of file EventIDBase.h.
|
private |
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition at line 202 of file EventIDBase.h.
|
private |
Definition at line 185 of file EventIDBase.h.
|
static |
Definition at line 72 of file EventIDBase.h.
|
static |
Definition at line 71 of file EventIDBase.h.