Belle II Software development
|
KLM element array index. More...
#include <KLMElementArrayIndex.h>
Public Member Functions | |
KLMElementArrayIndex (enum KLMChannelIndex::IndexLevel indexLevel) | |
Constructor. | |
virtual | ~KLMElementArrayIndex () |
Destructor. | |
uint16_t | getIndex (uint16_t number) const |
Get element index. | |
uint16_t | getNumber (uint16_t index) const |
Get element number. | |
uint16_t | getNElements () const |
Get number of elements. | |
Private Attributes | |
std::map< uint16_t, uint16_t > | m_MapNumberIndex |
Map KLM element number - KLM element index. | |
std::map< uint16_t, uint16_t > | m_MapIndexNumber |
Map KLM element index - KLM element number. | |
uint16_t | m_NElements |
Number of elements. | |
KLM element array index.
Definition at line 26 of file KLMElementArrayIndex.h.
|
explicit |
Constructor.
Definition at line 17 of file KLMElementArrayIndex.cc.
|
virtual |
uint16_t getIndex | ( | uint16_t | number | ) | const |
Get element index.
[in] | number | Element number. |
Definition at line 52 of file KLMElementArrayIndex.cc.
|
inline |
Get number of elements.
Definition at line 55 of file KLMElementArrayIndex.h.
uint16_t getNumber | ( | uint16_t | index | ) | const |
Get element number.
[in] | index | Element index. |
Definition at line 61 of file KLMElementArrayIndex.cc.
|
private |
Map KLM element index - KLM element number.
Definition at line 66 of file KLMElementArrayIndex.h.
|
private |
Map KLM element number - KLM element index.
Definition at line 63 of file KLMElementArrayIndex.h.
|
private |
Number of elements.
Definition at line 69 of file KLMElementArrayIndex.h.