Belle II Software development
|
The Class for ARICH bias voltages at gain 40. More...
#include <ARICHHvCrateCableMapping.h>
Public Member Functions | |
ARICHHvCrateCableMapping () | |
Default constructor. | |
int | getSector (int connectionID) const |
Get sector ID. | |
int | getCable (int connectionID) const |
Get sector ID. | |
int | getConnectionID (const std::vector< int > §orCable) const |
Get sector ID. | |
void | addMapping (int connectionID, std::vector< int > sectorCable) |
Add new entry to the mapping table. | |
void | print () const |
Print mapping parameters. | |
Private Member Functions | |
ClassDef (ARICHHvCrateCableMapping, 1) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
std::map< int, std::vector< int > > | m_connection2cable |
map of modules 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 ARICHHvCrateCableMapping.h.
void addMapping | ( | int | connectionID, |
std::vector< int > | sectorCable | ||
) |
Add new entry to the mapping table.
connectionID | connection ID |
sectorCable | sector and cable number |
Definition at line 43 of file ARICHHvCrateCableMapping.cc.
int getCable | ( | int | connectionID | ) | const |
Get sector ID.
connectionID | connection ID |
Definition at line 27 of file ARICHHvCrateCableMapping.cc.
int getConnectionID | ( | const std::vector< int > & | sectorCable | ) | const |
Get sector ID.
sectorCable | vector of sector and cable numbers |
Definition at line 33 of file ARICHHvCrateCableMapping.cc.
int getSector | ( | int | connectionID | ) | const |
Get sector ID.
connectionID | connection ID |
Definition at line 21 of file ARICHHvCrateCableMapping.cc.
void print | ( | ) | const |
Print mapping parameters.
Definition at line 48 of file ARICHHvCrateCableMapping.cc.
|
private |
map of modules to cables
Definition at line 66 of file ARICHHvCrateCableMapping.h.