 |
Belle II Software
release-05-01-25
|
17 #define N_BIASCHANNELS 48
44 int getChannelID(
int crate,
int slot,
int connectionID,
int innerID,
const std::string& type)
const;
53 std::vector<int>
getChannelValues(
int connectionID,
int innerID,
const std::string& type)
const;
60 int getPinID(std::vector<int> channelID)
const;
67 std::string
getType(std::vector<int> channel)
const;
74 int getInnerID(std::vector<int> channel)
const;
100 void addMapping(
int crate,
int slot,
int channelID,
int pinID,
int connectionID,
int innerID,
const std::string& type);
109 std::map<std::vector<int>, std::tuple<int, int, int, std::string>>
ClassDef(ARICHBiasChannelsMapping, 1)
ClassDef, must be the last term before the closing {}.
void print() const
Print properties.
int getInnerID(std::vector< int > channel) const
Get inner cable pin ID from bias power supply channel ID.
void addMapping(int crate, int slot, int channelID, int pinID, int connectionID, int innerID, const std::string &type)
Add new entry to the mapping table.
std::string getType(std::vector< int > channel) const
Get bias/guard type from channel.
ARICHBiasChannelsMapping()
Default constructor.
int getPinID(std::vector< int > channelID) const
Get inner cable pin ID from bias power supply channel ID.
int getConnectionID(std::vector< int > channel) const
Get inner cable pin ID from bias power supply channel ID.
Abstract base class for different kinds of events.
std::tuple< int, int, std::string > getInnerConnection(std::vector< int > channel) const
Get inner cable ID and type, connected to bias channel.
std::map< std::vector< int >, std::tuple< int, int, int, std::string > > m_channel2type
power suply channel ID link to inner cable
The Class for ARICH mapping of bias power supply channels to modules.
int getChannelID(int crate, int slot, int connectionID, int innerID, const std::string &type) const
Get bias power supply channel ID from inner cable type and ID.
std::vector< int > getChannelValues(int connectionID, int innerID, const std::string &type) const
Get bias power supply cratem slot and channel ID from inner cable type and ID.