#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... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
LUT | m_lut |
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 43 of file L1MuDTQualPatternLut.h.
typedef LUT::iterator L1MuDTQualPatternLut::EMULut_iter |
Definition at line 50 of file L1MuDTQualPatternLut.h.
typedef std::map< LUTID, LUTCONT > L1MuDTQualPatternLut::LUT |
Definition at line 49 of file L1MuDTQualPatternLut.h.
typedef std::pair< short, std::vector<short> > L1MuDTQualPatternLut::LUTCONT |
Definition at line 48 of file L1MuDTQualPatternLut.h.
typedef std::pair< short, short > L1MuDTQualPatternLut::LUTID |
Definition at line 47 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 77 of file L1MuDTQualPatternLut.h.
References m_lut.
|
inline |
return iterator which points to the one-past-last entry of the LUT
Definition at line 80 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 198 of file L1MuDTQualPatternLut.cc.
References ecal_dqm_sourceclient-live_cfg::cerr.
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 213 of file L1MuDTQualPatternLut.cc.
References ecal_dqm_sourceclient-live_cfg::cerr.
int L1MuDTQualPatternLut::load | ( | ) |
load look-up tables
Definition at line 95 of file L1MuDTQualPatternLut.cc.
References L1TriggerLutFile::close(), eta(), mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), i, L1TriggerLutFile::ignoreLines(), pileupDistInMC::num, L1TriggerLutFile::open(), listBenchmarks::pattern, and L1TriggerLutFile::readInteger().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
void L1MuDTQualPatternLut::print | ( | void | ) | const |
print look-up tables
Definition at line 159 of file L1MuDTQualPatternLut.cc.
References gather_cfg::cout, and getDQMSummary::iter.
void L1MuDTQualPatternLut::reset | ( | void | ) |
reset look-up tables
Definition at line 85 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 74 of file L1MuDTQualPatternLut.h.
References m_lut.
|
friend |
Definition at line 87 of file L1MuDTQualPatternLut.h.
|
friend |
Definition at line 87 of file L1MuDTQualPatternLut.h.