#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 40 of file L1MuDTPhiLut.h.
|
private |
Definition at line 68 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 220 of file L1MuDTPhiLut.cc.
References beam_dqm_sourceclient-live_cfg::cerr, end, and training_settings::idx.
Referenced by L1MuDTAssignmentUnit::PhiAU().
pair< unsigned short, unsigned short > L1MuDTPhiLut::getPrecision | ( | ) | const |
int L1MuDTPhiLut::load | ( | ) |
load phi-assignment look-up tables
Definition at line 86 of file L1MuDTPhiLut.cc.
References L1TriggerLutFile::close(), FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), training_settings::idx, contentValuesFiles::number, L1TriggerLutFile::open(), and L1TriggerLutFile::readInteger().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
void L1MuDTPhiLut::print | ( | void | ) | const |
print phi-assignment look-up tables
Definition at line 159 of file L1MuDTPhiLut.cc.
References funct::abs(), gather_cfg::cout, end, mps_fire::i, training_settings::idx, and DTTFBitArray< N >::twoComplement().
Referenced by DTPhiLutTester::analyze().
void L1MuDTPhiLut::reset | ( | void | ) |
reset phi-assignment look-up tables
Definition at line 81 of file L1MuDTPhiLut.cc.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
|
private |
|
friend |
Definition at line 75 of file L1MuDTPhiLut.h.
|
friend |
Definition at line 75 of file L1MuDTPhiLut.h.
|
private |
Definition at line 72 of file L1MuDTPhiLut.h.
|
private |
Definition at line 73 of file L1MuDTPhiLut.h.
|
private |
Definition at line 70 of file L1MuDTPhiLut.h.