9 static const double coeff[7] = { .28872209,.21705601,.063908389,-.012224924,
10 .012901814,-.0089355058,-.015769145 };
16 double x10, x11, x12, x13, x20, x21, x22;
58 x11 = fabs(
ycell) * 2. - 1.;
59 x12 = x11 * 2. * x11 - x10;
60 x13 = x11 * 2. * x12 - x11;
62 x21 = fabs(
zcell) * 2. - 1.;
63 x22 = x21 * 2. * x21 - x20;
64 ret_val = coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x12 *
65 x22 + coeff[4] * x22 + coeff[5] * x13 + coeff[6] * x11 * x21;
73 static const double coeff[12] = { .002854441,8.701339e-4,.0053064193,
74 .0012356508,9.8627318e-4,.0013802449,-5.4633755e-4,.0026078648,
75 .0044171026,6.2029063e-4,.0011392474,-.0056275595 };
81 double x10, x11, x12, x13, x14, x15, x16, x20, x21, x22, x23,
82 x24, x25, x26, x27, x28, x29, x210, x211, x212, x213;
126 x11 = fabs(
ycell) * 2. - 1.;
133 x21 = fabs(
zcell) * 2. - 1.;
146 ret_val = coeff[0] + coeff[1] * x23 + coeff[2] * x24 + coeff[3] * x13 +
147 coeff[4] * x11 * x21 + coeff[5] * x11 * x22 + coeff[6] * x16 +
148 coeff[7] * x213 + coeff[8] * x212 + coeff[9] * x21 + coeff[10] *
149 x11 * x23 + coeff[11] * x26;
158 static const double coeff[20] = { 42.981588,25.732805,26.539129,16.719016,
159 10.862044,7.4859085,5.0353142,3.3620548,1.9057762,2.2207695,
160 -2.6787582,1.2977292,-.8358091,1.2452612,.74813469,-.57581194,
161 .32705275,-.85426489,-.55688158,-.38384903 };
167 double x10, x11, x12, x13, x14, x20, x21, x22, x23, x24, x25,
214 x11 = fabs(
ycell) * 2. - 1.;
215 x12 = x11 * 2. * x11 - x10;
216 x13 = x11 * 2. * x12 - x11;
217 x14 = x11 * 2. * x13 - x12;
219 x21 = fabs(
zcell) * 2. - 1.;
220 x22 = x21 * 2. * x21 - x20;
221 x23 = x21 * 2. * x22 - x21;
222 x24 = x21 * 2. * x23 - x22;
223 x25 = x21 * 2. * x24 - x23;
224 x26 = x21 * 2. * x25 - x24;
225 x27 = x21 * 2. * x26 - x25;
226 x28 = x21 * 2. * x27 - x26;
227 x29 = x21 * 2. * x28 - x27;
229 ret_val = coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x22 +
230 coeff[4] * x23 + coeff[5] * x24 + coeff[6] * x25 + coeff[7] * x26
231 + coeff[8] * x12 + coeff[9] * x27 + coeff[10] * x11 * x21 + coeff[
232 11] * x28 + coeff[12] * x13 + coeff[13] * x12 * x21 + coeff[14] *
233 x29 + coeff[15] * x13 * x21 + coeff[16] * x14 + coeff[17] * x11 *
234 x22 + coeff[18] * x11 * x23 + coeff[19] * x11 * x24;
242 static const double coeff[19] = { 6.2681223,3.5916437,5.5425809,4.6974052,
243 3.8472392,3.1019155,2.4323913,1.8695623,1.3909068,.99056625,
244 .52066638,.64671229,.68023389,.40512251,.40202738,.23908531,
245 -.41245784,-.32196924,-.29890696 };
248 double x10, x11, x20, x21, x22, x23, x24, x25, x26, x27, x28,
249 x29, x210, x211, x212;
294 x11 = fabs(
ycell) * 2. - 1.;
296 x21 = fabs(
zcell) * 2. - 1.;
297 x22 = x21 * 2. * x21 - x20;
298 x23 = x21 * 2. * x22 - x21;
299 x24 = x21 * 2. * x23 - x22;
300 x25 = x21 * 2. * x24 - x23;
301 x26 = x21 * 2. * x25 - x24;
302 x27 = x21 * 2. * x26 - x25;
303 x28 = x21 * 2. * x27 - x26;
304 x29 = x21 * 2. * x28 - x27;
305 x210 = x21 * 2. * x29 - x28;
306 x211 = x21 * 2. * x210 - x29;
307 x212 = x21 * 2. * x211 - x210;
309 return coeff[0] * x21 + coeff[1] + coeff[2] * x22 + coeff[3] * x23 +
310 coeff[4] * x24 + coeff[5] * x25 + coeff[6] * x26 + coeff[7] * x27
311 + coeff[8] * x28 + coeff[9] * x29 + coeff[10] * x11 + coeff[11] *
312 x11 * x21 + coeff[12] * x210 + coeff[13] * x11 * x22 + coeff[14] *
313 x211 + coeff[15] * x212 + coeff[16] * x11 * x25 + coeff[17] *
314 x11 * x27 + coeff[18] * x11 * x26;
double driftTimeSigmaLowB()
double avgDriftTimeLowB()
double avgPathLengthLowB()