5#ifndef L1TOPORDO_MODULEID_H
6#define L1TOPORDO_MODULEID_H
35 uint16_t
link()
const;
Represents the L1Topo module ID, with decoder and encoder.
bool isROI() const
True if this is a ROI module.
void decode()
method used by constructor to decode word
bool isDAQ() const
True if this is a DAQ module.
ModuleID(unsigned int link, unsigned int module, unsigned int roiDaq)
Construct from constituent parts and encode word.
uint16_t link() const
access method
void encode()
method used by constructor to encode word
uint16_t roiDaq() const
access method
uint16_t module() const
access method
uint16_t id() const
access method
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.