#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 34 of file Lut.h.
References 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(), objects.autophobj::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 109 of file Lut.cc.
References ANGRESOL, CELL_PITCH, objects.autophobj::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 123 of file Lut.cc.
References a, b, objects.autophobj::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 50 of file Lut.h.
Referenced by get_x(), Lut(), and setForTestBeam().
|
private |
int Lut::m_ST |
Definition at line 52 of file Lut.h.
Referenced by get_k(), Lut(), and setForTestBeam().
float Lut::m_Xcn |
Definition at line 51 of file Lut.h.
Referenced by get_x(), Lut(), and setForTestBeam().