5#ifndef L1TOPORDO_FIBRE_H
6#define L1TOPORDO_FIBRE_H
29 const std::vector<uint32_t>&
status()
const;
31 const std::vector<uint32_t>&
count()
const;
33 uint32_t
word()
const;
Represents the L1Topo fibre word of the L1Topo DAQ header, with decoder and encoder.
Fibre(std::vector< uint32_t > &&status, std::vector< uint32_t > &&count)
Construct from contents and encode word: vectors of up to 5 status flags and sizes....
void encode()
method used by constructor to encode word
std::vector< uint32_t > m_status
fibre status
uint32_t m_word
The raw data representation.
const std::vector< uint32_t > & status() const
access method
uint32_t word() const
access method
std::vector< uint32_t > m_count
fibre counts
const std::vector< uint32_t > & count() const
access method
void decode()
method used by constructor to decode word
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.