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

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

#include <LUT.h>

Collaboration diagram for TRGCDCLUT:

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.


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