![]() |
Belle II Software
release-08-02-04
|
The Class for ARICH mapping of bias cables to modules. More...
#include <ARICHHvCablesMapping.h>


Public Member Functions | |
| ARICHHvCablesMapping () | |
| Default constructor. | |
| int | getModuleID (int sectorID, int cableID, int innerID) const |
| Get ID of module connected to cable in sector. More... | |
| int | getSectorID (int moduleID) const |
| Get ID of sector of a cable to which module is connected. More... | |
| int | getCableID (int moduleID) const |
| Get ID of cable to which module is connected. More... | |
| int | getInnerID (int moduleID) const |
| Get inner cable ID to which module is connected. More... | |
| void | addMapping (int moduleID, int sectorID, int cableID, int innerID) |
| Add mapping entry. More... | |
| void | print () const |
| Pring mapping. | |
Private Member Functions | |
| ClassDef (ARICHHvCablesMapping, 1) | |
| ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
| std::vector< std::tuple< int, int, int > > | m_cable2module |
| map of cables to modules | |
| std::map< int, std::vector< int > > | m_module2cable |
| map of modules to cables | |
The Class for ARICH mapping of bias cables to modules.
This class provides ARICH mapping of HAPD modules to bias cables. It is assumed sectorID going from 1:6, cableID goes from 1:8 and innerID goes from 1:9.
Definition at line 28 of file ARICHHvCablesMapping.h.
| void addMapping | ( | int | moduleID, |
| int | sectorID, | ||
| int | cableID, | ||
| int | innerID | ||
| ) |
Add mapping entry.
| moduleID | module ID number |
| sectorID | sector ID |
| cableID | bias cable number |
| innerID | inner cable number |
Definition at line 56 of file ARICHHvCablesMapping.cc.
| int getCableID | ( | int | moduleID | ) | const |
Get ID of cable to which module is connected.
| moduleID | module ID number |
Definition at line 42 of file ARICHHvCablesMapping.cc.
| int getInnerID | ( | int | moduleID | ) | const |
Get inner cable ID to which module is connected.
| moduleID | module ID number |
Definition at line 49 of file ARICHHvCablesMapping.cc.
| int getModuleID | ( | int | sectorID, |
| int | cableID, | ||
| int | innerID | ||
| ) | const |
Get ID of module connected to cable in sector.
| sectorID | sector ID |
| cableID | bias cable number |
| innerID | inner cable number |
Definition at line 21 of file ARICHHvCablesMapping.cc.
| int getSectorID | ( | int | moduleID | ) | const |
Get ID of sector of a cable to which module is connected.
| moduleID | module ID number |
Definition at line 35 of file ARICHHvCablesMapping.cc.