1 #include "../interface/MicroGMTRankPtQualLUT.h"
40 return m_contents.at(hashInput(checkedInput(pt, m_ptInWidth), checkedInput(qual, m_qualInWidth)));
44 result = pt + (qual << 2);
52 return m_contents.at(in);
57 unHashInput(in, pt, qual);
58 return lookup(pt, qual);
67 result += qual << m_ptInWidth;
74 pt = input & m_ptMask;
75 qual = (input & m_qualMask) >> m_ptInWidth;
T getParameter(std::string const &) const
virtual int lookupPacked(int in) const
std::vector< MicroGMTConfiguration::input_t > m_inputs
static std::string const input
int hashInput(int pt, int qual) const
int lookup(int pt, int qual) const
void load(const std::string &inFileName)
virtual ~MicroGMTRankPtQualLUT()
void unHashInput(int input, int &pt, int &qual) const