#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 DMR_cfg::cerr, and heavyIonCSV_trainingSettings::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 cms::cuda::assert(), geometryDiff::file, edm::FileInPath::fullPath(), heavyIonCSV_trainingSettings::idx, and ConfigBuilder::number.
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, mps_fire::i, heavyIonCSV_trainingSettings::idx, and DTTFBitArray< N >::twoComplement().
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.