 |
Belle II Software
release-05-01-25
|
58 void addMapping(
unsigned mergerID,
unsigned copperID,
unsigned finesse);
66 unsigned getMergerID(
unsigned copperID,
unsigned finesse)
const;
const std::vector< uint16_t > & getCopperIDs() const
Get vector of IDs of copper boards.
std::vector< uint16_t > m_copperIDs
vector of IDs of used copper boards
unsigned getCopperID(unsigned mergerID) const
Get copper board to which merger is connected.
ClassDef(ARICHCopperMapping, 1)
ClassDef, must be the last term before the closing {}.
void print() const
Print mapping parameters.
ARICHCopperMapping()
Default constructor.
Abstract base class for different kinds of events.
std::vector< std::pair< uint16_t, uint16_t > > m_merger2copper
map of mergers to copper boards
std::map< uint16_t, std::vector< uint16_t > > m_copper2merger
map coppers to mergers
unsigned getFinesse(unsigned mergerID) const
Get finesse of copper board to which merger is connected.
unsigned getMergerID(unsigned copperID, unsigned finesse) const
Get ID of merger connected to the given finesse of copper board.
void addMapping(unsigned mergerID, unsigned copperID, unsigned finesse)
Add new entry to the mapping table.
The Class for ARICH mapping of merger to copper boards.