42 int getModuleID(
int sectorID,
int cableID,
int innerID)
const;
72 void addMapping(
int moduleID,
int sectorID,
int cableID,
int innerID);
The Class for ARICH mapping of bias cables to modules.
int getCableID(int moduleID) const
Get ID of cable to which module is connected.
int getSectorID(int moduleID) const
Get ID of sector of a cable to which module is connected.
void addMapping(int moduleID, int sectorID, int cableID, int innerID)
Add mapping entry.
int getModuleID(int sectorID, int cableID, int innerID) const
Get ID of module connected to cable in sector.
ClassDef(ARICHBiasCablesMapping, 1)
ClassDef, must be the last term before the closing {}.
int getInnerID(int moduleID) const
Get inner cable ID to which module is connected.
void print() const
Pring mapping.
std::map< int, std::vector< int > > m_module2cable
map of modules to cables
ARICHBiasCablesMapping()
Default constructor.
std::vector< std::tuple< int, int, int > > m_cable2module
map of cables to modules
Abstract base class for different kinds of events.