#include <MicroGMTAbsoluteIsolationCheckLUT.h>
Public Member Functions | |
int | hashInput (int energySum) const |
int | lookup (int energySum) const |
MicroGMTAbsoluteIsolationCheckLUT () | |
MicroGMTAbsoluteIsolationCheckLUT (const std::string &fname) | |
MicroGMTAbsoluteIsolationCheckLUT (l1t::LUT *lut) | |
void | unHashInput (int input, int &energySum) const |
virtual | ~MicroGMTAbsoluteIsolationCheckLUT () |
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 Member Functions | |
void | getParameters (const edm::ParameterSet &iConfig, const char *setName) |
Private Attributes | |
int | m_energySumInWidth |
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 9 of file MicroGMTAbsoluteIsolationCheckLUT.h.
|
inline |
Definition at line 11 of file MicroGMTAbsoluteIsolationCheckLUT.h.
References alignmentValidation::fname, lumiPlot::lut, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 3 of file MicroGMTAbsoluteIsolationCheckLUT.cc.
References l1t::MicroGMTConfiguration::ENERGYSUM, l1t::MicroGMTLUT::load(), m_energySumInWidth, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, l1t::MicroGMTLUT::m_totalInWidth, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 15 of file MicroGMTAbsoluteIsolationCheckLUT.cc.
References l1t::MicroGMTConfiguration::ENERGYSUM, m_energySumInWidth, l1t::MicroGMTLUT::m_initialized, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, and l1t::MicroGMTLUT::m_totalInWidth.
|
inlinevirtual |
Definition at line 14 of file MicroGMTAbsoluteIsolationCheckLUT.h.
References CastorDataFrameFilter_impl::energySum(), and lookup().
|
private |
Referenced by unHashInput().
|
inline |
Definition at line 19 of file MicroGMTAbsoluteIsolationCheckLUT.h.
References CastorDataFrameFilter_impl::energySum().
int l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup | ( | int | energySum | ) | const |
Definition at line 25 of file MicroGMTAbsoluteIsolationCheckLUT.cc.
References l1t::MicroGMTLUT::checkedInput(), l1t::MicroGMTLUT::lookupPacked(), and m_energySumInWidth.
Referenced by ~MicroGMTAbsoluteIsolationCheckLUT().
|
inline |
Definition at line 20 of file MicroGMTAbsoluteIsolationCheckLUT.h.
References getParameters(), and input.
|
private |
Definition at line 24 of file MicroGMTAbsoluteIsolationCheckLUT.h.
Referenced by lookup(), and MicroGMTAbsoluteIsolationCheckLUT().