Belle II Software development
TRGCDCLUT Class Reference

A class to use LUTs for TRGCDC. More...

#include <LUT.h>

Public Member Functions

 TRGCDCLUT ()
 Contructor.
 
virtual ~TRGCDCLUT ()
 Destructor.
 
std::string name (void) const
 returns name.
 
std::string version (void) const
 returns version.
 
void setDataFile (const std::string &filename, int)
 set LUT data.
 
int getValue (unsigned) const
 get LUT Values
 

Static Public Member Functions

static TRGCDCLUTgetLUT (const std::string &filename, int)
 get LUT from dictionary, load new LUT if it doesn't exist
 

Static Public Attributes

static std::map< std::string, TRGCDCLUTdictionary
 list of LUTs, to avoid reading LUT data 2336 times
 

Private Attributes

std::vector< int > m_data
 LUT data.
 
int m_bitsize
 Input bit size.
 
std::string m_name
 LUT name.
 

Detailed Description

A class to use LUTs for TRGCDC.

Definition at line 39 of file LUT.h.

Member Data Documentation

◆ m_bitsize

int m_bitsize
private

Input bit size.

Definition at line 75 of file LUT.h.

◆ m_data

std::vector<int> m_data
private

LUT data.

Definition at line 72 of file LUT.h.

◆ m_name

std::string m_name
private

LUT name.

Definition at line 78 of file LUT.h.


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