#include <RunNumber.h>
Defines converters between version numbers and its components
Definition at line 35 of file Event/eformat/include/eformat/RunNumber.h.
◆ RunNumber() [1/6]
◆ RunNumber() [2/6]
| eformat::helper::RunNumber::RunNumber |
( |
uint32_t | rn | ) |
|
Constructor. Takes the run number to understand the components from.
- Parameters
-
| rn | The run number, fully built. |
- Warning
- This run number has to conform to the current version of the library or unpredictable results might occur.
Definition at line 15 of file RunNumber.cxx.
16 : m_type(
static_cast<eformat::RunType>( rn >> 24 ) ), m_n( 0xffffff & rn ) {}
◆ RunNumber() [3/6]
◆ RunNumber() [4/6]
| eformat::helper::RunNumber::RunNumber |
( |
uint32_t | rn | ) |
|
Constructor. Takes the run number to understand the components from.
- Parameters
-
| rn | The run number, fully built. |
- Warning
- This run number has to conform to the current version of the library or unpredictable results might occur.
◆ RunNumber() [5/6]
◆ RunNumber() [6/6]
| eformat::helper::RunNumber::RunNumber |
( |
uint32_t | rn | ) |
|
Constructor. Takes the run number to understand the components from.
- Parameters
-
| rn | The run number, fully built. |
- Warning
- This run number has to conform to the current version of the library or unpredictable results might occur.
◆ code() [1/3]
| uint32_t eformat::helper::RunNumber::code |
( |
void | | ) |
const |
Gets the full 32-bit number made by assembling the 2 numbers above.
Definition at line 18 of file RunNumber.cxx.
18 {
19 uint32_t retval = m_type;
20 retval <<= 24;
21 retval |= m_n;
22 return retval;
23}
◆ code() [2/3]
| uint32_t eformat::helper::RunNumber::code |
( |
void | | ) |
const |
Gets the full 32-bit number made by assembling the 2 numbers above.
◆ code() [3/3]
| uint32_t eformat::helper::RunNumber::code |
( |
void | | ) |
const |
Gets the full 32-bit number made by assembling the 2 numbers above.
◆ number() [1/3]
| uint32_t eformat::helper::RunNumber::number |
( |
void | | ) |
const |
|
inline |
◆ number() [2/3]
| uint32_t eformat::helper::RunNumber::number |
( |
void | | ) |
const |
|
inline |
◆ number() [3/3]
| uint32_t eformat::helper::RunNumber::number |
( |
void | | ) |
const |
|
inline |
◆ type() [1/3]
◆ type() [2/3]
◆ type() [3/3]
The documentation for this class was generated from the following files: