#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 | |
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 |
Look-up tables for pt-assignment
N. Neumeister CERN EP
Definition at line 40 of file L1MuDTPtaLut.h.
|
private |
Definition at line 72 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 dtNoiseDBValidation_cfg::cerr, end, and pta_lut.
int L1MuDTPtaLut::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 282 of file L1MuDTPtaLut.cc.
References dtNoiseDBValidation_cfg::cerr, MAX_PTASSMETH, and pta_threshold.
Referenced by print().
int L1MuDTPtaLut::load | ( | ) |
load pt-assignment look-up tables
Definition at line 104 of file L1MuDTPtaLut.cc.
References L1TriggerLutFile::close(), mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), MAX_PTASSMETH, nbit_phi, L1TriggerLutFile::open(), 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 dtDQMClient_cfg::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 abs, gather_cfg::cout, end, getPtLutThreshold(), i, MAX_PTASSMETH, nbit_phi, DTTFBitArray< N >::print(), pta_lut, DTTFBitArray< N >::twoComplement(), and relativeConstraints::value.
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__(), BeautifulSoup.BeautifulStoneSoup::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
set precision for look-up tables
Definition at line 298 of file L1MuDTPtaLut.cc.
References nbit_phi.
Referenced by L1MuDTPtaLut().
|
private |
Definition at line 77 of file L1MuDTPtaLut.h.
Referenced by load(), print(), and setPrecision().
|
private |
Definition at line 74 of file L1MuDTPtaLut.h.
Referenced by getPt(), L1MuDTPtaLut(), load(), print(), reset(), and ~L1MuDTPtaLut().
|
private |
Definition at line 75 of file L1MuDTPtaLut.h.
Referenced by getPtLutThreshold(), L1MuDTPtaLut(), load(), reset(), and ~L1MuDTPtaLut().