ATLAS Offline Software
|
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers. More...
#include <IOVTime.h>
Classes | |
class | SortByRunEvent |
Predicate. Used to sort by run and event number. More... | |
class | SortByTimeStamp |
Predicate. Used to sort by time stamp. More... | |
Public Member Functions | |
IOVTime () | |
IOVTime (uint64_t timestamp) | |
IOVTime (uint32_t run, uint32_t event) | |
IOVTime (uint32_t run, uint32_t event, uint64_t timestamp) | |
IOVTime (const EventIDBase &eid) | |
void | setTimestamp (uint64_t timestamp) noexcept |
void | setRETime (uint64_t time) noexcept |
void | setRunEvent (uint32_t run, uint32_t event) noexcept |
void | reset () noexcept |
uint32_t | run () const noexcept |
uint32_t | event () const noexcept |
uint64_t | re_time () const noexcept |
uint64_t | timestamp () const noexcept |
bool | isValid () const noexcept |
bool | isTimestamp () const noexcept |
bool | isRunEvent () const noexcept |
bool | isBoth () const noexcept |
operator std::string () const | |
operator EventIDBase () const | |
Static Public Attributes | |
static constexpr uint32_t | MINRUN = std::numeric_limits<uint32_t>::min() |
static constexpr uint32_t | MAXRUN = (std::numeric_limits<uint32_t>::max() >> 1) |
static constexpr uint32_t | MINEVENT = std::numeric_limits<uint32_t>::min() |
static constexpr uint32_t | MAXEVENT = (std::numeric_limits<uint32_t>::max()) |
static constexpr uint64_t | MAXRETIME =( ((uint64_t) IOVTime::MAXRUN << 32) + IOVTime::MAXEVENT ) |
static constexpr uint64_t | UNDEFRETIME = std::numeric_limits<uint64_t>::max() |
static constexpr uint64_t | MINTIMESTAMP = std::numeric_limits<uint64_t>::min() |
static constexpr uint64_t | MAXTIMESTAMP = (std::numeric_limits<uint64_t>::max() >> 1) |
static constexpr uint64_t | UNDEFTIMESTAMP = std::numeric_limits<uint64_t>::max() |
Private Types | |
enum | IOVTime_type { UNDEF = 0, TIMESTAMP, RUN_EVT, BOTH } |
Private Attributes | |
IOVTime_type | m_status |
uint64_t | m_time |
uint64_t | m_timestamp |
Friends | |
bool | operator< (const IOVTime &lhs, const IOVTime &rhs) noexcept |
bool | operator> (const IOVTime &lhs, const IOVTime &rhs) noexcept |
bool | operator== (const IOVTime &lhs, const IOVTime &rhs) noexcept |
bool | operator!= (const IOVTime &lhs, const IOVTime &rhs) noexcept |
bool | operator>= (const IOVTime &lhs, const IOVTime &rhs) noexcept |
bool | operator<= (const IOVTime &lhs, const IOVTime &rhs) noexcept |
std::ostream & | operator<< (std::ostream &os, const IOVTime &rhs) |
MsgStream & | operator<< (MsgStream &os, const IOVTime &rhs) |
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
|
private |
|
explicit |
Definition at line 26 of file IOVTime.cxx.
|
explicit |
Definition at line 35 of file IOVTime.cxx.
IOVTime::IOVTime | ( | const EventIDBase & | eid | ) |
Definition at line 44 of file IOVTime.cxx.
|
inlinenoexcept |
|
noexcept |
Definition at line 117 of file IOVTime.cxx.
IOVTime::operator EventIDBase | ( | ) | const |
Definition at line 168 of file IOVTime.cxx.
IOVTime::operator std::string | ( | ) | const |
Definition at line 154 of file IOVTime.cxx.
|
inlinenoexcept |
|
noexcept |
Definition at line 108 of file IOVTime.cxx.
|
inlinenoexcept |
|
noexcept |
Definition at line 84 of file IOVTime.cxx.
|
noexcept |
Definition at line 96 of file IOVTime.cxx.
|
noexcept |
Definition at line 72 of file IOVTime.cxx.
Definition at line 185 of file IOVTime.cxx.
Definition at line 190 of file IOVTime.cxx.
|
private |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |