15#define N_HVCHANNELS 24
46 int getPinID(std::vector<int> channel)
const;
61 int getCrate(
int connectionID,
int pinID)
const;
69 int getSlot(
int connectionID,
int pinID)
const;
77 int getChannel(
int connectionID,
int pinID)
const;
87 void addMapping(
int crate,
int slot,
int channelID,
int connectionID,
int pinID);
The Class for ARICH mapping of bias power supply channels to modules.
std::vector< int > getChannelValues(int connectionID, int pinID) const
Get bias power supply channel ID from inner cable type and ID.
std::map< std::vector< int >, std::vector< int > > m_channel2type
power suply channel ID link to inner cable
int getPinID(std::vector< int > channel) const
Get inner cable pin ID from hv power supply channel ID.
ClassDef(ARICHHvChannelsMapping, 1)
ClassDef, must be the last term before the closing {}.
int getConnectionID(std::vector< int > channel) const
Get connection ID from hv power supply channel ID.
int getSlot(int connectionID, int pinID) const
Get connection ID from hv power supply channel ID.
ARICHHvChannelsMapping()
Default constructor.
int getCrate(int connectionID, int pinID) const
Get connection ID from hv power supply channel ID.
int getChannel(int connectionID, int pinID) const
Get connection ID from hv power supply channel ID.
void addMapping(int crate, int slot, int channelID, int connectionID, int pinID)
Add new entry to the mapping table.
Abstract base class for different kinds of events.