#include <RunNumber.h>
Defines converters between version numbers and its components
Definition at line 38 of file Event/eformat/eformat-00-00-04/eformat/RunNumber.h.
◆ RunNumber() [1/4]
◆ RunNumber() [2/4]
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.
17 m_n(0xffffff&rn)
18{
19}
◆ RunNumber() [3/4]
◆ RunNumber() [4/4]
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/2]
uint32_t eformat::helper::RunNumber::code |
( |
void |
| ) |
const |
Gets the full 32-bit number made by assembling the 2 numbers above.
Definition at line 21 of file RunNumber.cxx.
22{
23 uint32_t retval = m_type;
24 retval <<= 24;
25 retval |= m_n;
26 return retval;
27}
◆ code() [2/2]
uint32_t eformat::helper::RunNumber::code |
( |
void |
| ) |
const |
Gets the full 32-bit number made by assembling the 2 numbers above.
◆ number() [1/2]
uint32_t eformat::helper::RunNumber::number |
( |
void |
| ) |
const |
|
inline |
◆ number() [2/2]
uint32_t eformat::helper::RunNumber::number |
( |
void |
| ) |
const |
|
inline |
◆ type() [1/2]
◆ type() [2/2]
The documentation for this class was generated from the following files: