Go to the documentation of this file.
17 #ifndef L1MUDT_QUALPATTERN_LUT_H
18 #define L1MUDT_QUALPATTERN_LUT_H
43 typedef std::pair<short, short>
LUTID;
44 typedef std::pair<short, std::vector<short> >
LUTCONT;
45 typedef std::map<LUTID, LUTCONT>
LUT;
L1MuDTQualPatternLut()
constructor
LUT::iterator EMULut_iter
#define COND_SERIALIZABLE
virtual ~L1MuDTQualPatternLut()
destructor
EMULut_iter end()
return iterator which points to the one-past-last entry of the LUT
EMULut_iter begin()
return iterator which points to the first entry of the LUT
void reset()
reset look-up tables
std::map< LUTID, LUTCONT > LUT
const std::vector< short > & getQualifiedPatterns(int sp, int adr) const
get list of qualified patterns for a given sector processor [1-6] and address [1-22]
int load()
load look-up tables
std::pair< short, short > LUTID
int size() const
return number of entries in the LUT
void print() const
print look-up tables
int getCoarseEta(int sp, int adr) const
get coarse eta value for a given sector processor [1-6] and address [1-22]
std::pair< short, std::vector< short > > LUTCONT