#include <Lut.h>
Public Member Functions | |
void | DSPtoIEEE32 (short DSPmantissa, short DSPexp, float *f) |
int | get_k (int addr) const |
int | get_x (int addr) const |
void | IEEE32toDSP (float f, short *DSPmantissa, short *DSPexp) |
Lut () | |
Lut (const DTConfigLUTs *conf, int ntc, float SL_shift) | |
void | setForTestBeam (int station, int board, int traco) |
~Lut () | |
Public Attributes | |
float | m_d |
int | m_ST |
int | m_wheel |
float | m_Xcn |
Private Attributes | |
const DTConfigLUTs * | _conf_luts |
float | m_pitch_d_ST |
|
inline |
Definition at line 33 of file Lut.h.
References generateTowerEtThresholdLUT::addr, DSPtoIEEE32(), f, get_k(), get_x(), IEEE32toDSP(), setForTestBeam(), relativeConstraints::station, and ~Lut().
Lut::Lut | ( | const DTConfigLUTs * | conf, |
int | ntc, | ||
float | SL_shift | ||
) |
Definition at line 14 of file Lut.cc.
References _conf_luts, DTConfigLUTs::BTIC(), CELL_PITCH, DTConfigLUTs::D(), dqmMemoryStats::float, m_d, m_pitch_d_ST, m_ST, m_wheel, m_Xcn, DTConfigLUTs::Wheel(), and DTConfigLUTs::Xcn().
void Lut::DSPtoIEEE32 | ( | short | DSPmantissa, |
short | DSPexp, | ||
float * | f | ||
) |
Referenced by Lut().
int Lut::get_k | ( | int | addr | ) | const |
Definition at line 107 of file Lut.cc.
References ANGRESOL, CELL_PITCH, dqmMemoryStats::float, mps_fire::i, m_ST, m_wheel, SL_D, and x.
Referenced by DTTracoChip::calculateAngles(), and Lut().
int Lut::get_x | ( | int | addr | ) | const |
Definition at line 121 of file Lut.cc.
References a, generateTowerEtThresholdLUT::addr, b, dqmMemoryStats::float, mps_fire::i, m_d, m_pitch_d_ST, m_wheel, m_Xcn, POSRESOL, SL_DIFF, and x.
Referenced by DTTracoChip::calculateAngles(), and Lut().
void Lut::IEEE32toDSP | ( | float | f, |
short * | DSPmantissa, | ||
short * | DSPexp | ||
) |
Referenced by Lut().
void Lut::setForTestBeam | ( | int | station, |
int | board, | ||
int | traco | ||
) |
|
private |
float Lut::m_d |
Definition at line 49 of file Lut.h.
Referenced by get_x(), Lut(), and setForTestBeam().
|
private |
int Lut::m_ST |
Definition at line 51 of file Lut.h.
Referenced by get_k(), Lut(), and setForTestBeam().
float Lut::m_Xcn |
Definition at line 50 of file Lut.h.
Referenced by get_x(), Lut(), and setForTestBeam().