Belle II Software
release-08-01-10
|
The Class for ARICH bias voltages at gain 40. More...
#include <ARICHBiasCrateCableMapping.h>
Public Member Functions | |
ARICHBiasCrateCableMapping () | |
Default constructor. | |
int | getSector (int connectionID) const |
Get sector ID. More... | |
int | getCable (int connectionID) const |
Get sector ID. More... | |
int | getConnectionID (const std::vector< int > §orCable) const |
Get sector ID. More... | |
void | addMapping (int connectionID, std::vector< int > sectorCable) |
Add new entry to the mapping table. More... | |
void | print () const |
Print mapping parameters. | |
Private Member Functions | |
ClassDef (ARICHBiasCrateCableMapping, 1) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
std::map< int, std::vector< int > > | m_connection2cable |
map of crates to cables | |
The Class for ARICH bias voltages at gain 40.
This class provides ARICH bias voltages at gain 40
Definition at line 24 of file ARICHBiasCrateCableMapping.h.
void addMapping | ( | int | connectionID, |
std::vector< int > | sectorCable | ||
) |
Add new entry to the mapping table.
crateSlot | numbers of crate and slot |
sectorCable | sector and cable number |
Definition at line 45 of file ARICHBiasCrateCableMapping.cc.
int getCable | ( | int | connectionID | ) | const |
Get sector ID.
connectionID | connection ID |
Definition at line 28 of file ARICHBiasCrateCableMapping.cc.
int getConnectionID | ( | const std::vector< int > & | sectorCable | ) | const |
Get sector ID.
sectorCable | vector of sector and cable numbers |
Definition at line 35 of file ARICHBiasCrateCableMapping.cc.
int getSector | ( | int | connectionID | ) | const |
Get sector ID.
connectionID | connection ID |
Definition at line 21 of file ARICHBiasCrateCableMapping.cc.