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