#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 39 of file L1MuDTPtaLut.h.
|
private |
Definition at line 67 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 334 of file L1MuDTPtaLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, mps_fire::end, and pta_lut.
Referenced by L1MuDTAssignmentUnit::PtAU().
int L1MuDTPtaLut::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 347 of file L1MuDTPtaLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, MAX_PTASSMETH, and pta_threshold.
Referenced by L1MuDTAssignmentUnit::getPtMethod(), and print().
int L1MuDTPtaLut::load | ( | ) |
load pt-assignment look-up tables
Definition at line 93 of file L1MuDTPtaLut.cc.
References cms::cuda::assert(), geometryDiff::file, edm::FileInPath::fullPath(), MAX_PTASSMETH, nbit_phi, contentValuesFiles::number, DiDispStaMuonMonitor_cfi::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, edm::shift, and remoteMonitoring_LED_IterMethod_cfg::threshold.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
void L1MuDTPtaLut::print | ( | void | ) | const |
print pt-assignment look-up tables
Definition at line 278 of file L1MuDTPtaLut.cc.
References funct::abs(), gather_cfg::cout, mps_fire::end, getPtLutThreshold(), mps_fire::i, MAX_PTASSMETH, nbit_phi, DTTFBitArray< N >::print(), pta_lut, and DTTFBitArray< N >::twoComplement().
void L1MuDTPtaLut::reset | ( | void | ) |
reset pt-assignment look-up tables
Definition at line 85 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 359 of file L1MuDTPtaLut.cc.
References nbit_phi.
Referenced by L1MuDTPtaLut().
|
friend |
Definition at line 74 of file L1MuDTPtaLut.h.
|
friend |
Definition at line 74 of file L1MuDTPtaLut.h.
|
private |
Definition at line 72 of file L1MuDTPtaLut.h.
Referenced by load(), print(), and setPrecision().
|
private |
Definition at line 69 of file L1MuDTPtaLut.h.
Referenced by getPt(), L1MuDTPtaLut(), load(), print(), reset(), and ~L1MuDTPtaLut().
|
private |
Definition at line 70 of file L1MuDTPtaLut.h.
Referenced by getPtLutThreshold(), L1MuDTPtaLut(), load(), reset(), and ~L1MuDTPtaLut().