#include <L1MuDTPtaLut.h>
Public Member Functions | |
int | getPt (int pta_ind, int address) const |
get pt-value for a given address More... | |
int | getPtLutThreshold (int pta_ind) const |
get pt-assignment LUT threshold More... | |
L1MuDTPtaLut () | |
constructor More... | |
int | load () |
load pt-assignment look-up tables More... | |
void | print () const |
print pt-assignment look-up tables More... | |
void | reset () |
reset pt-assignment look-up tables More... | |
virtual | ~L1MuDTPtaLut () |
destructor More... | |
Private Types | |
typedef std::map< short, short, std::less< short > > | LUT |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
void | setPrecision () |
set precision for look-up tables More... | |
Private Attributes | |
unsigned short int | nbit_phi |
std::vector< LUT > | pta_lut |
std::vector< int > | pta_threshold |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Look-up tables for pt-assignment
N. Neumeister CERN EP
Definition at line 42 of file L1MuDTPtaLut.h.
|
private |
Definition at line 74 of file L1MuDTPtaLut.h.
L1MuDTPtaLut::L1MuDTPtaLut | ( | ) |
constructor
Definition at line 52 of file L1MuDTPtaLut.cc.
References MAX_PTASSMETH, pta_lut, pta_threshold, and setPrecision().
|
virtual |
int L1MuDTPtaLut::getPt | ( | int | pta_ind, |
int | address | ||
) | const |
get pt-value for a given address
Definition at line 265 of file L1MuDTPtaLut.cc.
References MessageLogger_cfi::cerr, end, and pta_lut.
Referenced by L1MuDTAssignmentUnit::PtAU().
int L1MuDTPtaLut::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 282 of file L1MuDTPtaLut.cc.
References MessageLogger_cfi::cerr, MAX_PTASSMETH, and pta_threshold.
Referenced by L1MuDTAssignmentUnit::getPtMethod(), and print().
int L1MuDTPtaLut::load | ( | ) |
load pt-assignment look-up tables
Definition at line 104 of file L1MuDTPtaLut.cc.
References L1TriggerLutFile::close(), FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), MAX_PTASSMETH, nbit_phi, L1TriggerLutFile::open(), EnergyCorrector::pt, PT12H, PT12HO, PT12L, PT12LO, PT13H, PT13HO, PT13L, PT13LO, PT14H, PT14HO, PT14L, PT14LO, PT15HO, PT15LO, PT23H, PT23HO, PT23L, PT23LO, PT24H, PT24HO, PT24L, PT24LO, PT25HO, PT25LO, PT34H, PT34HO, PT34L, PT34LO, pta_lut, pta_threshold, L1TriggerLutFile::readInteger(), edm::shift, and totemRPUVPatternFinder_cfi::threshold.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
void L1MuDTPtaLut::print | ( | void | ) | const |
print pt-assignment look-up tables
Definition at line 208 of file L1MuDTPtaLut.cc.
References funct::abs(), gather_cfg::cout, end, getPtLutThreshold(), i, MAX_PTASSMETH, nbit_phi, DTTFBitArray< N >::print(), pta_lut, and DTTFBitArray< N >::twoComplement().
Referenced by DTPtaLutTester::analyze().
void L1MuDTPtaLut::reset | ( | void | ) |
reset pt-assignment look-up tables
Definition at line 93 of file L1MuDTPtaLut.cc.
References pta_lut, and pta_threshold.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
|
private |
set precision for look-up tables
Definition at line 298 of file L1MuDTPtaLut.cc.
References nbit_phi.
Referenced by L1MuDTPtaLut().
|
friend |
Definition at line 82 of file L1MuDTPtaLut.h.
|
friend |
Definition at line 82 of file L1MuDTPtaLut.h.
|
private |
Definition at line 79 of file L1MuDTPtaLut.h.
Referenced by load(), print(), and setPrecision().
|
private |
Definition at line 76 of file L1MuDTPtaLut.h.
Referenced by getPt(), L1MuDTPtaLut(), load(), print(), reset(), and ~L1MuDTPtaLut().
|
private |
Definition at line 77 of file L1MuDTPtaLut.h.
Referenced by getPtLutThreshold(), L1MuDTPtaLut(), load(), reset(), and ~L1MuDTPtaLut().