26 Xcn_corr = Xcn_corr - SL_shift;
28 Xcn_corr = Xcn_corr + SL_shift;
50 tracoPos[0] = -120.19;
51 tracoPos[1] = -103.39;
54 tracoPos[10] = -52.99;
55 tracoPos[11] = -36.19;
56 tracoPos[12] = -19.39;
66 float m_Xc = tracoPos[(nBoard * 10) + nTraco];
74 tracoPos[0] = -165.45;
75 tracoPos[1] = -148.65;
76 tracoPos[2] = -131.85;
77 tracoPos[3] = -115.05;
78 tracoPos[10] = -98.25;
79 tracoPos[11] = -81.45;
80 tracoPos[12] = -64.65;
81 tracoPos[13] = -47.85;
82 tracoPos[20] = -31.05;
83 tracoPos[21] = -14.25;
90 tracoPos[40] = 103.34;
91 tracoPos[41] = 120.14;
92 tracoPos[42] = 136.94;
93 tracoPos[43] = 153.74;
97 float m_Xc = tracoPos[(nBoard * 10) + nTraco];
129 }
else if (addr <= 1023)
151 return ((i - 10) +
'A');
155 char *
buf =
new char[6];
403 *f = DSPmantissa * (float)
pow(2.0, DSPexp);
428 if ((pl & 0x80000000) != 0)
430 lm = (0x800000 | (pl & 0x7FFFFF));
433 *DSPexp = ((pl >> 23) & 0xFF) - 126;
434 *DSPmantissa = (short)lm;
436 *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)