#include <MicroGMTRankPtQualLUT.h>
Public Member Functions | |
int | hashInput (int pt, int qual) const |
int | lookup (int pt, int qual) const |
virtual int | lookupPacked (int in) const |
MicroGMTRankPtQualLUT () | |
MicroGMTRankPtQualLUT (const edm::ParameterSet &) | |
void | unHashInput (int input, int &pt, int &qual) const |
virtual | ~MicroGMTRankPtQualLUT () |
Public Member Functions inherited from l1t::MicroGMTLUT | |
int | checkedInput (unsigned in, unsigned maxWidth) const |
void | contentsToStream (std::stringstream &stream) |
void | headerToStream (std::stringstream &stream) const |
void | initialize () |
void | load (const std::string &inFileName) |
MicroGMTLUT () | |
void | save (std::ofstream &output) |
virtual | ~MicroGMTLUT () |
Private Attributes | |
int | m_ptInWidth |
int | m_ptMask |
int | m_qualInWidth |
int | m_qualMask |
Additional Inherited Members | |
Protected Attributes inherited from l1t::MicroGMTLUT | |
std::map< int, int > | m_contents |
std::string | m_fname |
bool | m_initialized |
std::vector < MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
Definition at line 12 of file MicroGMTRankPtQualLUT.h.
l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT | ( | ) |
Definition at line 22 of file MicroGMTRankPtQualLUT.cc.
References l1t::MicroGMTLUT::m_outWidth, m_ptInWidth, m_ptMask, m_qualInWidth, m_qualMask, and l1t::MicroGMTLUT::m_totalInWidth.
|
explicit |
Definition at line 3 of file MicroGMTRankPtQualLUT.cc.
References HDQMDatabaseProducer::config, edm::ParameterSet::getParameter(), l1t::MicroGMTLUT::initialize(), l1t::MicroGMTLUT::load(), l1t::MicroGMTLUT::m_fname, l1t::MicroGMTLUT::m_inputs, m_ptInWidth, m_ptMask, m_qualInWidth, m_qualMask, l1t::MicroGMTLUT::m_totalInWidth, l1t::MicroGMTConfiguration::PT, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 30 of file MicroGMTRankPtQualLUT.cc.
int l1t::MicroGMTRankPtQualLUT::hashInput | ( | int | pt, |
int | qual | ||
) | const |
Definition at line 62 of file MicroGMTRankPtQualLUT.cc.
References EnergyCorrector::pt, and query::result.
int l1t::MicroGMTRankPtQualLUT::lookup | ( | int | pt, |
int | qual | ||
) | const |
Definition at line 36 of file MicroGMTRankPtQualLUT.cc.
References query::result.
Referenced by L1TMicroGMTProducer::calculateRank().
|
virtual |
Reimplemented from l1t::MicroGMTLUT.
Definition at line 50 of file MicroGMTRankPtQualLUT.cc.
References EnergyCorrector::pt.
void l1t::MicroGMTRankPtQualLUT::unHashInput | ( | int | input, |
int & | pt, | ||
int & | qual | ||
) | const |
Definition at line 72 of file MicroGMTRankPtQualLUT.cc.
|
private |
Definition at line 26 of file MicroGMTRankPtQualLUT.h.
Referenced by MicroGMTRankPtQualLUT().
|
private |
Definition at line 24 of file MicroGMTRankPtQualLUT.h.
Referenced by MicroGMTRankPtQualLUT().
|
private |
Definition at line 27 of file MicroGMTRankPtQualLUT.h.
Referenced by MicroGMTRankPtQualLUT().
|
private |
Definition at line 25 of file MicroGMTRankPtQualLUT.h.
Referenced by MicroGMTRankPtQualLUT().