45 os <<
" Status: overflow " << s.overflow() <<
" crc mismatch " << s.crc();
Represents the L1Topo status word of the L1Topo DAQ header, with decoder and encoder.
uint32_t crc() const
access method
uint32_t m_crc
CRC mismatch flag.
uint32_t m_overflow
overflow flag
void encode()
method used by constructor to encode word
uint32_t word() const
access method
Status(const uint32_t overflow, const uint32_t crc)
Construct from contents and encode word.
uint32_t m_word
The raw data representation.
void decode()
method used by constructor to decode word
uint32_t overflow() const
access method
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.