#include <MicroGMTLUT.h>
Public Member Functions | |
int | checkedInput (unsigned in, unsigned maxWidth) const |
void | initialize () |
int | load (const std::string &inFileName) |
virtual int | lookupPacked (int input) const |
MicroGMTLUT () | |
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 () | |
Protected Attributes | |
bool | m_initialized |
std::vector < MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
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 } |
Definition at line 14 of file MicroGMTLUT.h.
|
inline |
Definition at line 16 of file MicroGMTLUT.h.
|
inlinevirtual |
Definition at line 17 of file MicroGMTLUT.h.
int l1t::MicroGMTLUT::checkedInput | ( | unsigned | in, |
unsigned | maxWidth | ||
) | const |
Definition at line 55 of file MicroGMTLUT.cc.
References SiStripMonitorClusterAlca_cfi::maxWidth.
void l1t::MicroGMTLUT::initialize | ( | void | ) |
Definition at line 40 of file MicroGMTLUT.cc.
References relativeConstraints::empty, recoMuon::in, GenerateHcalLaserBadRunList::out, and SiPixelLorentzAngle_cfi::read.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
int l1t::MicroGMTLUT::load | ( | const std::string & | inFileName | ) |
Definition at line 14 of file MicroGMTLUT.cc.
References Exception, contentValuesFiles::fullPath, and SiPixelLorentzAngle_cfi::read.
Referenced by l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT(), l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT(), l1t::MicroGMTExtrapolationLUT::MicroGMTExtrapolationLUT(), l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT(), and l1t::MicroGMTRelativeIsolationCheckLUT::MicroGMTRelativeIsolationCheckLUT().
|
virtual |
Reimplemented in l1t::MicroGMTMatchQualLUT, and l1t::MicroGMTRankPtQualLUT.
Definition at line 30 of file MicroGMTLUT.cc.
References data, and Exception.
void l1t::MicroGMTLUT::save | ( | std::ofstream & | output | ) |
Definition at line 8 of file MicroGMTLUT.cc.
References l1t::LUT::write().
Referenced by L1TMicroGMTLUTDumper::dumpLut().
|
protected |
Definition at line 36 of file MicroGMTLUT.h.
|
protected |
Definition at line 35 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT(), l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT(), l1t::MicroGMTExtrapolationLUT::MicroGMTExtrapolationLUT(), l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT(), and l1t::MicroGMTRelativeIsolationCheckLUT::MicroGMTRelativeIsolationCheckLUT().
|
protected |
Definition at line 34 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT(), l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT(), l1t::MicroGMTExtrapolationLUT::MicroGMTExtrapolationLUT(), l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT(), and l1t::MicroGMTRelativeIsolationCheckLUT::MicroGMTRelativeIsolationCheckLUT().
|
protected |
Definition at line 33 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT(), l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT(), l1t::MicroGMTExtrapolationLUT::MicroGMTExtrapolationLUT(), l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT(), and l1t::MicroGMTRelativeIsolationCheckLUT::MicroGMTRelativeIsolationCheckLUT().