17 #ifndef L1MUDT_QUALPATTERN_LUT_H 18 #define L1MUDT_QUALPATTERN_LUT_H 47 typedef std::pair< short, short >
LUTID;
48 typedef std::pair< short, std::vector<short> >
LUTCONT;
49 typedef std::map< LUTID, LUTCONT >
LUT;
80 inline EMULut_iter
end() {
return m_lut.end(); }
EMULut_iter begin()
return iterator which points to the first entry of the LUT
void reset()
reset look-up tables
std::pair< short, std::vector< short > > LUTCONT
int size() const
return number of entries in the LUT
std::pair< short, short > LUTID
int getCoarseEta(int sp, int adr) const
get coarse eta value for a given sector processor [1-6] and address [1-22]
std::map< LUTID, LUTCONT > LUT
int load()
load look-up tables
virtual ~L1MuDTQualPatternLut()
destructor
EMULut_iter end()
return iterator which points to the one-past-last entry of the LUT
#define COND_SERIALIZABLE
void print() const
print look-up tables
L1MuDTQualPatternLut()
constructor
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] ...
LUT::iterator EMULut_iter