Belle II Software  release-08-01-10
KLMModuleArrayIndex Class Reference

KLM module array index. More...

#include <KLMModuleArrayIndex.h>

Inheritance diagram for KLMModuleArrayIndex:
Collaboration diagram for KLMModuleArrayIndex:

Public Member Functions

uint16_t getIndex (uint16_t number) const
 Get element index. More...
 
uint16_t getNumber (uint16_t index) const
 Get element number. More...
 
uint16_t getNElements () const
 Get number of elements.
 

Static Public Member Functions

static const KLMModuleArrayIndexInstance ()
 Instantiation.
 

Private Member Functions

 KLMModuleArrayIndex ()
 Constructor.
 
 ~KLMModuleArrayIndex ()
 Destructor.
 

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.
 

Detailed Description

KLM module array index.

Definition at line 23 of file KLMModuleArrayIndex.h.

Member Function Documentation

◆ getIndex()

uint16_t getIndex ( uint16_t  number) const
inherited

Get element index.

Parameters
[in]numberElement number.

Definition at line 52 of file KLMElementArrayIndex.cc.

◆ getNumber()

uint16_t getNumber ( uint16_t  index) const
inherited

Get element number.

Parameters
[in]indexElement index.

Definition at line 61 of file KLMElementArrayIndex.cc.


The documentation for this class was generated from the following files: