Belle II Software development
|
This class provides ARICH bias voltages at gain 40. More...
#include <ARICHBiasCrateCableMapping.h>
Public Member Functions | |
ARICHBiasCrateCableMapping () | |
Default constructor. | |
int | getSector (int connectionID) const |
Get sector ID. | |
int | getCable (int connectionID) const |
Get cable ID. | |
int | getConnectionID (const std::vector< int > §orCable) const |
Get connection 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 (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 | |
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.
[in] | connectionID | Connection ID. |
[in] | sectorCable | Sector and cable number. |
Definition at line 45 of file ARICHBiasCrateCableMapping.cc.
int getCable | ( | int | connectionID | ) | const |
Get cable ID.
[in] | connectionID | Connection ID. |
Definition at line 28 of file ARICHBiasCrateCableMapping.cc.
int getConnectionID | ( | const std::vector< int > & | sectorCable | ) | const |
Get connection ID.
[in] | sectorCable | Vector of sector and cable numbers. |
Definition at line 35 of file ARICHBiasCrateCableMapping.cc.
int getSector | ( | int | connectionID | ) | const |
Get sector ID.
[in] | connectionID | Connection ID. |
Definition at line 21 of file ARICHBiasCrateCableMapping.cc.
void print | ( | ) | const |
Print mapping parameters.
Definition at line 50 of file ARICHBiasCrateCableMapping.cc.
|
private |
map of crates to cables
Definition at line 68 of file ARICHBiasCrateCableMapping.h.