94 os << std::hex << std::showbase << s.rodTrailer1() << std::dec <<
95 " Shelf= " << s.shelf() <<
" ROD= " << s.rod() <<
96 " Link error map= " << s.linkErrMap() <<
" Payload length= " << s.payloadLength() <<
98 std::hex << std::showbase << s.rodTrailer2() << std::dec <<
99 " CRC= " << s.crc() <<
" Link errors= " << s.linkErrs() <<
100 " ROD errors: CT= " << s.ct() <<
" pc= " << s.pc() <<
" hc= " << s.hc() <<
101 " pe= " <<s.pe() <<
" lm= " << s.lm() <<
" hm= " << s.hm() <<
" pt= " << s.pt() <<
uint32_t payloadLength() const
L1TopoROD(const uint32_t trailer1, const uint32_t trailer2)
Construct from contents and decode trailers.
void decode()
method used by constructor to decode word
uint32_t m_rodTrailer1
variables
uint32_t linkErrMap() const
uint32_t rodTrailer2() const
uint32_t rodTrailer1() const
access methods
uint32_t decode(const uint32_t &word, const uint32_t &offset, const uint32_t &size)
Helper function to decode word based on offset and size.
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.