Belle II Software development
ECLLookupTable Class Reference

Class for a lookup table. More...

#include <ECLWaveformData.h>

Inheritance diagram for ECLLookupTable:

Public Member Functions

 ECLLookupTable ()
 Constructor.
 
unsigned int operator[] (unsigned int key) const
 Array-like access operator.
 
unsigned int & operator[] (unsigned int key)
 Array-like access operator.
 

Private Member Functions

 ClassDef (ECLLookupTable, 1)
 ClassDef.
 

Private Attributes

std::vector< unsigned int > m_content
 index to index lookup table
 

Detailed Description

Class for a lookup table.

Definition at line 230 of file ECLWaveformData.h.

Constructor & Destructor Documentation

◆ ECLLookupTable()

ECLLookupTable ( )
inline

Constructor.

Definition at line 233 of file ECLWaveformData.h.

std::vector< unsigned int > m_content
index to index lookup table
const int c_NCrystals
Number of crystals.

Member Function Documentation

◆ operator[]() [1/2]

unsigned int & operator[] ( unsigned int  key)
inline

Array-like access operator.

Definition at line 239 of file ECLWaveformData.h.

240 { return m_content[ key - 1 ]; }

◆ operator[]() [2/2]

unsigned int operator[] ( unsigned int  key) const
inline

Array-like access operator.

Definition at line 236 of file ECLWaveformData.h.

237 { return m_content[ key - 1 ]; }

Member Data Documentation

◆ m_content

std::vector<unsigned int> m_content
private

index to index lookup table

Definition at line 243 of file ECLWaveformData.h.


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