CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <RunNumber.h>
Public Member Functions | |
RunNumber (eformat::RunType type, uint32_t n) | |
RunNumber (uint32_t rn) | |
eformat::RunType | type (void) const |
uint32_t | number (void) const |
uint32_t | code (void) const |
Defines converters between version numbers and its components
Definition at line 38 of file RunNumber.h.
|
inline |
Constructor. Takes the components to form a run number
type | The run type ( |
n | The number 24-bits only are valid |
Definition at line 47 of file RunNumber.h.
eformat::helper::RunNumber::RunNumber | ( | uint32_t | rn | ) |
Constructor. Takes the run number to understand the components from.
rn | The run number, fully built. |
Definition at line 15 of file RunNumber.cxx.
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.
|
inline |
Extracts the minor version part of this version
Definition at line 67 of file RunNumber.h.
|
inline |
Extracts the major version part of this version
Definition at line 62 of file RunNumber.h.