#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 | |
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 |
unsigned short int | nbit_phib |
std::vector< LUT > | phi_lut |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Look-up tables for phi-assignment
N. Neumeister CERN EP
Definition at line 42 of file L1MuDTPhiLut.h.
|
private |
Definition at line 74 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 223 of file L1MuDTPhiLut.cc.
References dtNoiseDBValidation_cfg::cerr, end, customizeTrackingMonitorSeedNumber::idx, and getDQMSummary::iter.
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 assert(), L1TriggerLutFile::close(), mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), customizeTrackingMonitorSeedNumber::idx, contentValuesFiles::number, 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 167 of file L1MuDTPhiLut.cc.
References funct::abs(), gather_cfg::cout, end, i, customizeTrackingMonitorSeedNumber::idx, getDQMSummary::iter, 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 |
|
friend |
Definition at line 82 of file L1MuDTPhiLut.h.
|
friend |
Definition at line 82 of file L1MuDTPhiLut.h.
|
private |
Definition at line 78 of file L1MuDTPhiLut.h.
|
private |
Definition at line 79 of file L1MuDTPhiLut.h.
|
private |
Definition at line 76 of file L1MuDTPhiLut.h.