#include <L1MuDTPhiLut.h>
Public Member Functions | |
int | getDeltaPhi (int idx, int address) const |
get delta-phi for a given address (bend-angle) More... | |
std::pair< unsigned short, unsigned short > | getPrecision () const |
get precision for look-up tables More... | |
L1MuDTPhiLut () | |
constructor More... | |
int | load () |
load phi-assignment look-up tables More... | |
void | print () const |
print phi-assignment look-up tables More... | |
void | reset () |
reset phi-assignment look-up tables More... | |
virtual | ~L1MuDTPhiLut () |
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 |
unsigned short int | nbit_phib |
std::vector< LUT > | phi_lut |
Look-up tables for phi-assignment
N. Neumeister CERN EP
Definition at line 40 of file L1MuDTPhiLut.h.
|
private |
Definition at line 72 of file L1MuDTPhiLut.h.
L1MuDTPhiLut::L1MuDTPhiLut | ( | ) |
constructor
Definition at line 51 of file L1MuDTPhiLut.cc.
|
virtual |
int L1MuDTPhiLut::getDeltaPhi | ( | int | idx, |
int | address | ||
) | const |
get delta-phi for a given address (bend-angle)
Definition at line 222 of file L1MuDTPhiLut.cc.
References dtNoiseDBValidation_cfg::cerr, and end.
pair< unsigned short, unsigned short > L1MuDTPhiLut::getPrecision | ( | ) | const |
int L1MuDTPhiLut::load | ( | ) |
load phi-assignment look-up tables
Definition at line 97 of file L1MuDTPhiLut.cc.
References L1TriggerLutFile::close(), mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), L1TriggerLutFile::open(), phi, and L1TriggerLutFile::readInteger().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
void L1MuDTPhiLut::print | ( | void | ) | const |
print phi-assignment look-up tables
Definition at line 166 of file L1MuDTPhiLut.cc.
References abs, gather_cfg::cout, end, i, DTTFBitArray< N >::twoComplement(), and relativeConstraints::value.
void L1MuDTPhiLut::reset | ( | void | ) |
reset phi-assignment look-up tables
Definition at line 87 of file L1MuDTPhiLut.cc.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
|
private |
Definition at line 76 of file L1MuDTPhiLut.h.
|
private |
Definition at line 77 of file L1MuDTPhiLut.h.
|
private |
Definition at line 74 of file L1MuDTPhiLut.h.