#include <MicroGMTExtrapolationLUT.h>
Public Member Functions | |
int | getEtaRedInWidth () const |
int | getPtRedInWidth () const |
int | hashInput (int angle, int pt) const |
int | lookup (int angle, int pt) const |
MicroGMTExtrapolationLUT () | |
MicroGMTExtrapolationLUT (const std::string &fname, const int outWidth, const int etaRedInWidth, const int ptRedInWidth) | |
MicroGMTExtrapolationLUT (l1t::LUT *lut, const int outWidth, const int etaRedInWidth, const int ptRedInWidth) | |
void | unHashInput (int input, int &angle, int &pt) const |
virtual | ~MicroGMTExtrapolationLUT () |
Public Member Functions inherited from l1t::MicroGMTLUT | |
int | checkedInput (unsigned in, unsigned maxWidth) const |
void | initialize () |
int | load (const std::string &inFileName) |
virtual int | lookupPacked (int input) const |
MicroGMTLUT () | |
MicroGMTLUT (l1t::LUT *lut) | |
void | save (std::ofstream &output) |
virtual | ~MicroGMTLUT () |
Public Member Functions inherited from l1t::LUT | |
int | data (unsigned int address) const |
bool | empty () const |
LUT () | |
LUT (std::istream &stream) | |
unsigned int | maxSize () const |
unsigned int | nrBitsAddress () const |
unsigned int | nrBitsData () const |
int | read (std::istream &stream) |
void | write (std::ostream &stream) const |
~LUT () | |
Private Attributes | |
int | m_etaRedInWidth |
int | m_etaRedMask |
int | m_ptRedInWidth |
int | m_ptRedMask |
Additional Inherited Members | |
Public Types inherited from l1t::LUT | |
enum | ReadCodes { SUCCESS =0, NO_ENTRIES =1, DUP_ENTRIES =2, MISS_ENTRIES =3, MAX_ADDRESS_OUTOFRANGE =4, NO_HEADER =5 } |
Protected Attributes inherited from l1t::MicroGMTLUT | |
bool | m_initialized |
std::vector< MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
Definition at line 10 of file MicroGMTExtrapolationLUT.h.
|
inline |
Definition at line 12 of file MicroGMTExtrapolationLUT.h.
References alignmentValidation::fname, lumiPlot::lut, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 3 of file MicroGMTExtrapolationLUT.cc.
References l1t::MicroGMTConfiguration::ETA_COARSE, l1t::MicroGMTLUT::load(), m_etaRedInWidth, m_etaRedMask, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, m_ptRedInWidth, m_ptRedMask, l1t::MicroGMTLUT::m_totalInWidth, l1t::MicroGMTConfiguration::PT, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 19 of file MicroGMTExtrapolationLUT.cc.
References l1t::MicroGMTConfiguration::ETA_COARSE, m_etaRedInWidth, m_etaRedMask, l1t::MicroGMTLUT::m_initialized, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, m_ptRedInWidth, m_ptRedMask, l1t::MicroGMTLUT::m_totalInWidth, and l1t::MicroGMTConfiguration::PT.
|
inlinevirtual |
Definition at line 15 of file MicroGMTExtrapolationLUT.h.
References angle(), getEtaRedInWidth(), getPtRedInWidth(), hashInput(), input, lookup(), EnergyCorrector::pt, and unHashInput().
int l1t::MicroGMTExtrapolationLUT::getEtaRedInWidth | ( | ) | const |
Definition at line 63 of file MicroGMTExtrapolationLUT.cc.
References m_etaRedInWidth.
Referenced by ~MicroGMTExtrapolationLUT().
int l1t::MicroGMTExtrapolationLUT::getPtRedInWidth | ( | ) | const |
Definition at line 69 of file MicroGMTExtrapolationLUT.cc.
References m_ptRedInWidth.
Referenced by ~MicroGMTExtrapolationLUT().
int l1t::MicroGMTExtrapolationLUT::hashInput | ( | int | angle, |
int | pt | ||
) | const |
Definition at line 47 of file MicroGMTExtrapolationLUT.cc.
References m_ptRedInWidth, EnergyCorrector::pt, and mps_fire::result.
Referenced by lookup(), and ~MicroGMTExtrapolationLUT().
int l1t::MicroGMTExtrapolationLUT::lookup | ( | int | angle, |
int | pt | ||
) | const |
Definition at line 34 of file MicroGMTExtrapolationLUT.cc.
References l1t::MicroGMTLUT::checkedInput(), hashInput(), l1t::MicroGMTLUT::lookupPacked(), m_etaRedInWidth, l1t::MicroGMTLUT::m_initialized, m_ptRedInWidth, and mps_fire::result.
Referenced by ~MicroGMTExtrapolationLUT().
void l1t::MicroGMTExtrapolationLUT::unHashInput | ( | int | input, |
int & | angle, | ||
int & | pt | ||
) | const |
Definition at line 56 of file MicroGMTExtrapolationLUT.cc.
References m_etaRedMask, m_ptRedInWidth, and m_ptRedMask.
Referenced by ~MicroGMTExtrapolationLUT().
|
private |
Definition at line 26 of file MicroGMTExtrapolationLUT.h.
Referenced by getEtaRedInWidth(), lookup(), and MicroGMTExtrapolationLUT().
|
private |
Definition at line 29 of file MicroGMTExtrapolationLUT.h.
Referenced by MicroGMTExtrapolationLUT(), and unHashInput().
|
private |
Definition at line 27 of file MicroGMTExtrapolationLUT.h.
Referenced by getPtRedInWidth(), hashInput(), lookup(), MicroGMTExtrapolationLUT(), and unHashInput().
|
private |
Definition at line 30 of file MicroGMTExtrapolationLUT.h.
Referenced by MicroGMTExtrapolationLUT(), and unHashInput().