|
ATLAS Offline Software
|
Go to the documentation of this file.
12 :m_fpgaTrailer1(trailer1), m_fpgaTrailer2(trailer2) {
89 os << std::hex << std::showbase <<
s.fpgaTrailer1() << std::dec <<
90 " Block Size= " <<
s.fpgaBlockSize() <<
" topoNumber= " <<
s.topoNumber() <<
91 " fpgaNumber= " <<
s.fpgaNumber() <<
" numSlices= " <<
s.numSlices() <<
92 " sliceNumber= " <<
s.sliceNumber() <<
94 std::hex << std::showbase <<
s.fpgaTrailer2() << std::dec <<
95 " CRC= " <<
s.crc() <<
96 " Errors: CT= " <<
s.ct() <<
" sm= " <<
s.sm() <<
97 " pe= " <<
s.pe() <<
" lm= " <<
s.lm() <<
" hm= " <<
s.hm() <<
" pt= " <<
s.pt() <<
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
L1TopoFPGA(const uint32_t trailer1, const uint32_t trailer2)
Construct from contents and decode trailers.
uint32_t sliceNumber() const
uint32_t numSlices() const
uint32_t m_fpgaTrailer1
variables
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.
size_t fpgaBlockSize() const
uint32_t fpgaTrailer1() const
access methods
uint32_t fpgaNumber() const
void decode()
method used by constructor to decode word
uint32_t topoNumber() const
uint32_t fpgaTrailer2() const