 |
Belle II Software
release-05-01-25
|
14 #ifndef TRGCDCLUT_FLAG_
15 #define TRGCDCLUT_FLAG_
21 #ifdef TRGCDC_SHORT_NAMES
22 #define TCLUT TRGCDCLUT
45 std::string
name(
void)
const;
48 std::string
version(
void)
const;
std::vector< int > m_data
LUT data.
virtual ~TRGCDCLUT()
Destructor.
std::string name(void) const
returns name.
A class to use LUTs for TRGCDC.
int getValue(unsigned) const
get LUT Values
std::string version(void) const
returns version.
std::string m_name
LUT name.
Abstract base class for different kinds of events.
static std::map< std::string, TRGCDCLUT > dictionary
list of LUTs, to avoid reading LUT data 2336 times
int m_bitsize
Input bit size.
void setDataFile(const std::string &filename, int)
set LUT data.
static TRGCDCLUT * getLUT(const std::string &filename, int)
get LUT from dictionary, load new LUT if it doesn't exist