27 Xcn_corr = Xcn_corr - SL_shift;
29 Xcn_corr = Xcn_corr + SL_shift;
52 tracoPos[0] = -120.19;
53 tracoPos[1] = -103.39;
56 tracoPos[10] = -52.99;
57 tracoPos[11] = -36.19;
58 tracoPos[12] = -19.39;
68 float m_Xc = tracoPos[(nBoard * 10) + nTraco];
76 tracoPos[0] = -165.45;
77 tracoPos[1] = -148.65;
78 tracoPos[2] = -131.85;
79 tracoPos[3] = -115.05;
80 tracoPos[10] = -98.25;
81 tracoPos[11] = -81.45;
82 tracoPos[12] = -64.65;
83 tracoPos[13] = -47.85;
84 tracoPos[20] = -31.05;
85 tracoPos[21] = -14.25;
92 tracoPos[40] = 103.34;
93 tracoPos[41] = 120.14;
94 tracoPos[42] = 136.94;
95 tracoPos[43] = 153.74;
99 float m_Xc = tracoPos[(nBoard * 10) + nTraco];
131 }
else if (addr <= 1023)
153 return ((i - 10) +
'A');
157 char *buf =
new char[6];
405 *f = DSPmantissa * (
float)
pow(2.0, DSPexp);
430 if ((pl & 0x80000000) != 0)
432 lm = (0x800000 | (pl & 0x7FFFFF));
435 *DSPexp = ((pl >> 23) & 0xFF) - 126;
436 *DSPmantissa = (short)lm;
438 *DSPmantissa = -*DSPmantissa;
void IEEE32toDSP(float f, short *DSPmantissa, short *DSPexp)
int get_k(int addr) const
int Wheel() const
wheel sign (-1 or +1)
int get_x(int addr) const
std::string lutFmt(int i)
void DSPtoIEEE32(short DSPmantissa, short DSPexp, float *f)
int BTIC() const
BTIC parameter.
void setForTestBeam(int station, int board, int traco)
float Xcn() const
Xcn: distance vertex to normal, unit cm.
const DTConfigLUTs * _conf_luts
float D() const
d: distance vertex to normal, unit cm.
Power< A, B >::type pow(const A &a, const B &b)