#include <L1MuDTQualPatternLut.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... | |
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... | |
L1MuDTQualPatternLut () | |
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 | ~L1MuDTQualPatternLut () |
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 |
Look-up tables for eta matching unit (EMU) stores lists of qualified patterns and coarse eta values
N. Neumeister CERN EP
Definition at line 41 of file L1MuDTQualPatternLut.h.
typedef LUT::iterator L1MuDTQualPatternLut::EMULut_iter |
Definition at line 46 of file L1MuDTQualPatternLut.h.
typedef std::map<LUTID, LUTCONT> L1MuDTQualPatternLut::LUT |
Definition at line 45 of file L1MuDTQualPatternLut.h.
typedef std::pair<short, std::vector<short> > L1MuDTQualPatternLut::LUTCONT |
Definition at line 44 of file L1MuDTQualPatternLut.h.
typedef std::pair<short, short> L1MuDTQualPatternLut::LUTID |
Definition at line 43 of file L1MuDTQualPatternLut.h.
L1MuDTQualPatternLut::L1MuDTQualPatternLut | ( | ) |
constructor
Definition at line 50 of file L1MuDTQualPatternLut.cc.
|
virtual |
|
inline |
return iterator which points to the first entry of the LUT
Definition at line 73 of file L1MuDTQualPatternLut.h.
References m_lut.
|
inline |
return iterator which points to the one-past-last entry of the LUT
Definition at line 76 of file L1MuDTQualPatternLut.h.
References m_lut.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int L1MuDTQualPatternLut::getCoarseEta | ( | int | sp, |
int | adr | ||
) | const |
get coarse eta value for a given sector processor [1-6] and address [1-22]
Definition at line 203 of file L1MuDTQualPatternLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
Referenced by L1MuDTEtaProcessor::print(), and L1MuDTEtaProcessor::runEtaMatchingUnit().
const vector< short > & L1MuDTQualPatternLut::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 215 of file L1MuDTQualPatternLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
Referenced by L1MuDTEtaProcessor::runEtaMatchingUnit().
int L1MuDTQualPatternLut::load | ( | ) |
load look-up tables
Definition at line 84 of file L1MuDTQualPatternLut.cc.
References PVValHelper::eta, geometryDiff::file, edm::FileInPath::fullPath(), mps_fire::i, EgammaValidation_cff::num, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
void L1MuDTQualPatternLut::print | ( | void | ) | const |
print look-up tables
Definition at line 168 of file L1MuDTQualPatternLut.cc.
References gather_cfg::cout.
void L1MuDTQualPatternLut::reset | ( | void | ) |
reset look-up tables
Definition at line 79 of file L1MuDTQualPatternLut.cc.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
|
inline |
return number of entries in the LUT
Definition at line 70 of file L1MuDTQualPatternLut.h.
References m_lut.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 81 of file L1MuDTQualPatternLut.h.
|
friend |
Definition at line 81 of file L1MuDTQualPatternLut.h.