![]() |
Belle II Software
release-05-02-19
|
BKLM electronics map. More...
#include <KLMElectronicsMap.h>
Public Member Functions | |
KLMElectronicsMap () | |
Constructor. | |
~KLMElectronicsMap () | |
Destructor. | |
const uint16_t * | getDetectorChannel (KLMElectronicsChannel *electronicsChannel) const |
Get detector channel by electronics channel. More... | |
const KLMElectronicsChannel * | getElectronicsChannel (uint16_t detectorChannel) const |
Get electronics channel by detector channel. More... | |
void | addChannel (uint16_t detectorChannel, int copper, int slot, int lane, int axis, int channel) |
Add channel. More... | |
Private Member Functions | |
ClassDef (Belle2::KLMElectronicsMap, 1) | |
Class version. | |
Private Attributes | |
std::map< uint16_t, KLMElectronicsChannel > | m_MapDetectorElectronics |
Detector channel - electronics channel map. | |
std::map< KLMElectronicsChannel, uint16_t > | m_MapElectronicsDetector |
Electronics channel - detector channel map. | |
BKLM electronics map.
Definition at line 36 of file KLMElectronicsMap.h.
void addChannel | ( | uint16_t | detectorChannel, |
int | copper, | ||
int | slot, | ||
int | lane, | ||
int | axis, | ||
int | channel | ||
) |
Add channel.
[in] | detectorChannel | Detector channel. |
[in] | copper | Copper. |
[in] | slot | Slot. |
[in] | lane | Lane. |
[in] | axis | Axis. |
[in] | channel | Channel. |
Definition at line 47 of file KLMElectronicsMap.cc.
const uint16_t * getDetectorChannel | ( | KLMElectronicsChannel * | electronicsChannel | ) | const |
Get detector channel by electronics channel.
[in] | electronicsChannel | Electronics channel. |
Definition at line 27 of file KLMElectronicsMap.cc.
const KLMElectronicsChannel * getElectronicsChannel | ( | uint16_t | detectorChannel | ) | const |
Get electronics channel by detector channel.
[in] | detectorChannel | Detector channel. |
Definition at line 37 of file KLMElectronicsMap.cc.