104 os <<
" L1Topo TOB: "
105 <<
" ctp_signal 0x" << std::hex << c.ctp_signal() << std::dec
106 <<
" ( index " << c.index() <<
" clock " << c.clock() <<
" fpga " << c.fpga() <<
" )"
107 <<
" CRC error bits 0b" << std::bitset<5>(c.error_bits())
108 <<
" overflow bits 0b" << std::bitset<8>(c.overflow_bits())
109 <<
" trigger bits 0b" << std::bitset<8>(c.trigger_bits())
Represents the L1Topo TOB word of the L1Topo ROI data, with decode and encoder.
bool crc_Tau() const
flag true if Tau TOB input links have errors (bit 17)
bool crc_Jet() const
flag true if Jet TOB input links have errors (bit 19)
uint32_t clock() const
clock cycle bit, 0 or 1, part ofthe ctp_signal
uint32_t error_bits() const
access to five bits which flag CRC errors on the input links. They are available as individual flags ...
L1TopoTOB(const uint32_t ctp_signal, uint32_t overflow_bits, uint32_t trigger_bits, uint32_t error_bits)
Construct from contents and encode word.
bool crc_Muon() const
flag true if Muon TOB input links have errors (bit 18)
void encode()
method used by constructor to encode word
uint32_t overflow_bits() const
accessor method for overflow bits
uint32_t index() const
index bit, 0 or 1, part ofthe ctp_signal
uint32_t ctp_signal() const
access method for ctp signal bits
uint32_t fpga() const
fpga number bit , 0 or 1, part ofthe ctp_signal
uint32_t word() const
accessor method for data word
uint32_t trigger_bits() const
accessor method for trigger bits
void decode()
method used by constructor to decode word
bool crc_Energy() const
flag true if Energy TOB input links have errors (bit 20)
bool crc_EM() const
flag true if EM TOB input links have errors (bit 16)
bool operator!=(const L1TopoTOB &, const L1TopoTOB &)
Comparison operators, based on word.
bool operator<(const L1TopoTOB &, const L1TopoTOB &)
Comparison operators, based on word.
bool operator>(const L1TopoTOB &, const L1TopoTOB &)
Comparison operators, based on word.
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
bool operator==(const L1TopoTOB &, const L1TopoTOB &)
Comparison operators, based on word.