Belle II Software development
|
The Class for ARICH mapping of bias power supply channels to modules. More...
#include <ARICHHvChannelsMapping.h>
Public Member Functions | |
ARICHHvChannelsMapping () | |
Default constructor. | |
std::vector< int > | getChannelValues (int connectionID, int pinID) const |
Get bias power supply channel ID from inner cable type and ID. | |
int | getPinID (std::vector< int > channel) const |
Get inner cable pin ID from hv power supply channel ID. | |
int | getConnectionID (std::vector< int > channel) const |
Get connection ID from hv power supply channel ID. | |
int | getCrate (int connectionID, int pinID) 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. | |
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. | |
Private Member Functions | |
ClassDef (ARICHHvChannelsMapping, 1) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
std::map< std::vector< int >, std::vector< int > > | m_channel2type |
power suply channel ID link to inner cable | |
The Class for ARICH mapping of bias power supply channels to modules.
This class provides ARICH mapping of HAPD modules to bias power supply channels.
Definition at line 26 of file ARICHHvChannelsMapping.h.
void addMapping | ( | int | crate, |
int | slot, | ||
int | channelID, | ||
int | connectionID, | ||
int | pinID | ||
) |
Add new entry to the mapping table.
crate | crate |
slot | slot |
channelID | power supply channel ID number |
pinID | pin ID of inner cable |
connectionID | ID of HV cable connection |
Definition at line 58 of file ARICHHvChannelsMapping.cc.
int getChannel | ( | int | connectionID, |
int | pinID | ||
) | const |
Get connection ID from hv power supply channel ID.
connectionID | ID of HV cable connection |
pinID | pin ID of inner cable |
Definition at line 53 of file ARICHHvChannelsMapping.cc.
std::vector< int > getChannelValues | ( | int | connectionID, |
int | pinID | ||
) | const |
Get bias power supply channel ID from inner cable type and ID.
connectionID | ID of HV cable connection |
pinID | pin ID of inner cable |
Definition at line 21 of file ARICHHvChannelsMapping.cc.
int getConnectionID | ( | std::vector< int > | channel | ) | const |
Get connection ID from hv power supply channel ID.
channel | values; crate, slot, channel ID |
Definition at line 37 of file ARICHHvChannelsMapping.cc.
int getCrate | ( | int | connectionID, |
int | pinID | ||
) | const |
Get connection ID from hv power supply channel ID.
connectionID | ID of HV cable connection |
pinID | pin ID of inner cable |
Definition at line 43 of file ARICHHvChannelsMapping.cc.
int getPinID | ( | std::vector< int > | channel | ) | const |
Get inner cable pin ID from hv power supply channel ID.
channel | values; crate, slot, channel ID |
Definition at line 31 of file ARICHHvChannelsMapping.cc.
int getSlot | ( | int | connectionID, |
int | pinID | ||
) | const |
Get connection ID from hv power supply channel ID.
connectionID | ID of HV cable connection |
pinID | pin ID of inner cable |
Definition at line 48 of file ARICHHvChannelsMapping.cc.
|
private |
power suply channel ID link to inner cable
Definition at line 91 of file ARICHHvChannelsMapping.h.