5#ifndef L1TOPORDO_L1TOPOTOB_H
6#define L1TOPORDO_L1TOPOTOB_H
32 uint32_t
word()
const;
34 uint32_t
index()
const;
36 uint32_t
clock()
const;
38 uint32_t
fpga()
const;
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.