#include <MicroGMTLUT.h>
Public Member Functions | |
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) |
virtual int | lookupPacked (int input) const |
MicroGMTLUT () | |
void | save (std::ofstream &output) |
virtual | ~MicroGMTLUT () |
Protected Attributes | |
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 13 of file MicroGMTLUT.h.
|
inline |
Definition at line 15 of file MicroGMTLUT.h.
|
inlinevirtual |
Definition at line 16 of file MicroGMTLUT.h.
int l1t::MicroGMTLUT::checkedInput | ( | unsigned | in, |
unsigned | maxWidth | ||
) | const |
Definition at line 70 of file MicroGMTLUT.cc.
References SiStripMonitorClusterAlca_cfi::maxWidth.
void l1t::MicroGMTLUT::contentsToStream | ( | std::stringstream & | stream | ) |
Definition at line 77 of file MicroGMTLUT.cc.
References recoMuon::in.
Referenced by save().
void l1t::MicroGMTLUT::headerToStream | ( | std::stringstream & | stream | ) | const |
Definition at line 92 of file MicroGMTLUT.cc.
Referenced by save().
void l1t::MicroGMTLUT::initialize | ( | void | ) |
Definition at line 60 of file MicroGMTLUT.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
void l1t::MicroGMTLUT::load | ( | const std::string & | inFileName | ) |
Definition at line 18 of file MicroGMTLUT.cc.
References Exception, contentValuesFiles::fullPath, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
|
virtual |
Reimplemented in l1t::MicroGMTMatchQualLUT, and l1t::MicroGMTRankPtQualLUT.
Definition at line 49 of file MicroGMTLUT.cc.
References Exception.
void l1t::MicroGMTLUT::save | ( | std::ofstream & | output | ) |
Definition at line 8 of file MicroGMTLUT.cc.
References contentsToStream(), headerToStream(), and dbtoconf::out.
Referenced by L1TMicroGMTLUTDumper::dumpLut().
|
protected |
Definition at line 38 of file MicroGMTLUT.h.
|
protected |
Definition at line 39 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
|
protected |
Definition at line 40 of file MicroGMTLUT.h.
|
protected |
Definition at line 37 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
|
protected |
Definition at line 36 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().
|
protected |
Definition at line 35 of file MicroGMTLUT.h.
Referenced by l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT(), and l1t::MicroGMTRankPtQualLUT::MicroGMTRankPtQualLUT().