#include <L1MuBMTQualPatternLut.h>
Public Types | |
typedef LUT::iterator | EMULut_iter |
typedef std::map< LUTID, LUTCONT > | LUT |
typedef std::pair< short, std::vector< short > > | LUTCONT |
typedef std::pair< short, short > | LUTID |
Public Member Functions | |
EMULut_iter | begin () |
return iterator which points to the first entry of the LUT More... | |
EMULut_iter | end () |
return iterator which points to the one-past-last entry of the LUT More... | |
int | getCoarseEta (int sp, int adr) const |
get coarse eta value for a given sector processor [1-6] and address [1-22] More... | |
int | getIgnoredLines (L1TriggerLutFile file) const |
const std::vector< short > & | getQualifiedPatterns (int sp, int adr) const |
get list of qualified patterns for a given sector processor [1-6] and address [1-22] More... | |
L1MuBMTQualPatternLut () | |
constructor More... | |
int | load () |
load look-up tables More... | |
void | print () const |
print look-up tables More... | |
void | reset () |
reset look-up tables More... | |
int | size () const |
return number of entries in the LUT More... | |
virtual | ~L1MuBMTQualPatternLut () |
destructor More... | |
Public Attributes | |
LUT | m_lut |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 42 of file L1MuBMTQualPatternLut.h.
typedef LUT::iterator L1MuBMTQualPatternLut::EMULut_iter |
Definition at line 47 of file L1MuBMTQualPatternLut.h.
typedef std::map<LUTID, LUTCONT> L1MuBMTQualPatternLut::LUT |
Definition at line 46 of file L1MuBMTQualPatternLut.h.
typedef std::pair<short, std::vector<short> > L1MuBMTQualPatternLut::LUTCONT |
Definition at line 45 of file L1MuBMTQualPatternLut.h.
typedef std::pair<short, short> L1MuBMTQualPatternLut::LUTID |
Definition at line 44 of file L1MuBMTQualPatternLut.h.
L1MuBMTQualPatternLut::L1MuBMTQualPatternLut | ( | ) |
constructor
Definition at line 51 of file L1MuBMTQualPatternLut.cc.
|
virtual |
|
inline |
return iterator which points to the first entry of the LUT
Definition at line 76 of file L1MuBMTQualPatternLut.h.
References m_lut.
|
inline |
return iterator which points to the one-past-last entry of the LUT
Definition at line 79 of file L1MuBMTQualPatternLut.h.
References m_lut.
int L1MuBMTQualPatternLut::getCoarseEta | ( | int | sp, |
int | adr | ||
) | const |
get coarse eta value for a given sector processor [1-6] and address [1-22]
Definition at line 174 of file L1MuBMTQualPatternLut.cc.
Referenced by L1MuBMEtaProcessor::print(), and L1MuBMEtaProcessor::runEtaMatchingUnit().
int L1MuBMTQualPatternLut::getIgnoredLines | ( | L1TriggerLutFile | file | ) | const |
Definition at line 196 of file L1MuBMTQualPatternLut.cc.
References geometryDiff::file, optionsL1T::skip, and str.
const vector< short > & L1MuBMTQualPatternLut::getQualifiedPatterns | ( | int | sp, |
int | adr | ||
) | const |
get list of qualified patterns for a given sector processor [1-6] and address [1-22]
Definition at line 187 of file L1MuBMTQualPatternLut.cc.
Referenced by L1MuBMEtaProcessor::runEtaMatchingUnit().
int L1MuBMTQualPatternLut::load | ( | ) |
load look-up tables
Definition at line 77 of file L1MuBMTQualPatternLut.cc.
References PVValHelper::eta, geometryDiff::file, edm::FileInPath::fullPath(), mps_fire::i, EgammaValidation_cff::num, topSingleLeptonDQM_PU_cfi::pattern, and to_string().
Referenced by L1TMuonBarrelParamsHelper::configFromPy().
void L1MuBMTQualPatternLut::print | ( | void | ) | const |
print look-up tables
Definition at line 139 of file L1MuBMTQualPatternLut.cc.
References gather_cfg::cout.
void L1MuBMTQualPatternLut::reset | ( | void | ) |
|
private |
|
inline |
return number of entries in the LUT
Definition at line 73 of file L1MuBMTQualPatternLut.h.
References m_lut.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 84 of file L1MuBMTQualPatternLut.h.
|
friend |
Definition at line 84 of file L1MuBMTQualPatternLut.h.
LUT L1MuBMTQualPatternLut::m_lut |
Definition at line 82 of file L1MuBMTQualPatternLut.h.
Referenced by begin(), L1TMuonBarrelParamsHelper::configFromPy(), end(), L1MuBMEtaProcessor::receiveData(), L1MuBMEtaProcessor::runEtaMatchingUnit(), and size().