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

KLM plane array index. More...

#include <KLMPlaneArrayIndex.h>

Inheritance diagram for KLMPlaneArrayIndex:
Collaboration diagram for KLMPlaneArrayIndex:

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 KLMPlaneArrayIndexInstance ()
 Instantiation.
 

Private Member Functions

 KLMPlaneArrayIndex ()
 Constructor.
 
 ~KLMPlaneArrayIndex ()
 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 plane array index.

Definition at line 23 of file KLMPlaneArrayIndex.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: