#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 |
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(), 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 | ||
) |
int Lut::get_k | ( | int | addr | ) | const |
Definition at line 107 of file Lut.cc.
References ANGRESOL, CELL_PITCH, mps_fire::i, m_ST, m_wheel, SL_D, and x.
Referenced by DTTracoChip::calculateAngles().
int Lut::get_x | ( | int | addr | ) | const |
Definition at line 121 of file Lut.cc.
References a, generateTowerEtThresholdLUT::addr, b, mps_fire::i, m_d, m_pitch_d_ST, m_wheel, m_Xcn, POSRESOL, SL_DIFF, and x.
Referenced by DTTracoChip::calculateAngles().
void Lut::IEEE32toDSP | ( | float | f, |
short * | DSPmantissa, | ||
short * | DSPexp | ||
) |
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().