#include <L1MuDTExtLut.h>
Classes | |
class | LUT |
helper class for look-up tables More... | |
Public Member Functions | |
int | getHigh (int ext_ind, int address) const |
get high_value for a given address More... | |
int | getLow (int ext_ind, int address) const |
get low_value for a given address More... | |
L1MuDTExtLut () | |
constructor More... | |
int | load () |
load extrapolation look-up tables More... | |
void | print () const |
print extrapolation look-up tables More... | |
void | reset () |
reset extrapolation look-up tables More... | |
virtual | ~L1MuDTExtLut () |
destructor More... | |
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 | |
std::vector< LUT > | ext_lut |
unsigned short int | nbit_phi |
unsigned short int | nbit_phib |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Look-up tables for extrapolation
N. Neumeister CERN EP
Definition at line 39 of file L1MuDTExtLut.h.
L1MuDTExtLut::L1MuDTExtLut | ( | ) |
|
virtual |
destructor
Definition at line 66 of file L1MuDTExtLut.cc.
int L1MuDTExtLut::getHigh | ( | int | ext_ind, |
int | address | ||
) | const |
get high_value for a given address
Definition at line 277 of file L1MuDTExtLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and LaserClient_cfi::high.
Referenced by L1MuDTEUX::run().
int L1MuDTExtLut::getLow | ( | int | ext_ind, |
int | address | ||
) | const |
get low_value for a given address
Definition at line 264 of file L1MuDTExtLut.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and LaserClient_cfi::low.
Referenced by L1MuDTEUX::run().
int L1MuDTExtLut::load | ( | ) |
load extrapolation look-up tables
Definition at line 88 of file L1MuDTExtLut.cc.
References EX12, EX13, EX14, EX15, EX16, EX21, EX23, EX24, EX25, EX26, EX34, EX56, geometryDiff::file, edm::FileInPath::fullPath(), L1MuDTExtLut::LUT::high, LaserClient_cfi::high, L1MuDTExtLut::LUT::low, LaserClient_cfi::low, MAX_EXT, and contentValuesFiles::number.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
void L1MuDTExtLut::print | ( | void | ) | const |
print extrapolation look-up tables
Definition at line 196 of file L1MuDTExtLut.cc.
References funct::abs(), gather_cfg::cout, LaserClient_cfi::high, mps_fire::i, LaserClient_cfi::low, MAX_EXT, and DTTFBitArray< N >::twoComplement().
void L1MuDTExtLut::reset | ( | void | ) |
reset extrapolation look-up tables
Definition at line 83 of file L1MuDTExtLut.cc.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
|
private |
set precision for look-up tables
Definition at line 290 of file L1MuDTExtLut.cc.
|
friend |
Definition at line 83 of file L1MuDTExtLut.h.
|
friend |
Definition at line 83 of file L1MuDTExtLut.h.
|
private |
Definition at line 78 of file L1MuDTExtLut.h.
|
private |
Definition at line 80 of file L1MuDTExtLut.h.
|
private |
Definition at line 81 of file L1MuDTExtLut.h.