7 static const double coeff[18] = { .16916627,.11057547,.054287448,.01179527,
8 .0062073273,-.013570915,-.0027121772,-.0053792764,-.0027452986,
9 -.0020556715,.0021511659,.0011376412,.0026183373,.0017980602,
10 -.0012975418,-.0010798782,-.0012322628,-8.3635924e-4 };
13 double x10, x11, x12, x13, x14, x20, x21, x22, x23, x24, x25;
56 x11 = fabs(
ycell) * 2. - 1.;
57 x12 = x11 * 2. * x11 - x10;
58 x13 = x11 * 2. * x12 - x11;
59 x14 = x11 * 2. * x13 - x12;
61 x21 = fabs(
zcell) * 2. - 1.;
62 x22 = x21 * 2. * x21 - x20;
63 x23 = x21 * 2. * x22 - x21;
64 x24 = x21 * 2. * x23 - x22;
65 x25 = x21 * 2. * x24 - x23;
67 return coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x22 +
68 coeff[4] * x12 + coeff[5] * x11 * x21 + coeff[6] * x13 + coeff[7]
69 * x12 * x22 + coeff[8] * x12 * x23 + coeff[9] * x11 * x24 + coeff[
70 10] * x12 * x21 + coeff[11] * x14 + coeff[12] * x11 * x22 + coeff[
71 13] * x13 * x22 + coeff[14] * x13 * x21 + coeff[15] * x12 * x24 +
72 coeff[16] * x11 * x25 + coeff[17] * x11 * x23;
79 static const double coeff[9] = { .0049089564,.0091482062,.0024036507,
80 .0065285652,.0041487742,-.0038102526,-.0043923587,.0019230151,
87 double x11, x12, x13, x14, x15, x16, x21, x22, x23,
88 x24, x25, x26, x27, x28, x29;
132 x11 = fabs(
ycell) * 2. - 1.;
139 x21 = fabs(
zcell) * 2. - 1.;
149 ret_val = coeff[0] + coeff[1] * x21 + coeff[2] * x11 + coeff[3] * x22 +
150 coeff[4] * x11 * x21 + coeff[5] * x16 * x22 + coeff[6] * x16 *
151 x23 + coeff[7] * x11 * x22 + coeff[8] * x29;
160 static const double coeff[27] = { 22.384492,10.562894,14.032961,7.06233,
161 3.5523289,-5.0176704,1.999075,1.0635552,-3.2770096,-2.7384958,
162 .98411495,-2.0963696,-1.4006525,-.47542728,.64179451,-.80308436,
163 .42964647,-.4153324,.50423068,.35049792,-.42595896,-.30947641,
164 .16671267,-.21336584,.22979164,.23481052,.32550435 };
170 double x10, x11, x12, x13, x14, x15, x16, x17, x20, x21, x22,
171 x23, x24, x25, x26, x27;
215 x11 = fabs(
ycell) * 2. - 1.;
216 x12 = x11 * 2. * x11 - x10;
217 x13 = x11 * 2. * x12 - x11;
218 x14 = x11 * 2. * x13 - x12;
219 x15 = x11 * 2. * x14 - x13;
220 x16 = x11 * 2. * x15 - x14;
221 x17 = x11 * 2. * x16 - x15;
223 x21 = fabs(
zcell) * 2. - 1.;
224 x22 = x21 * 2. * x21 - x20;
225 x23 = x21 * 2. * x22 - x21;
226 x24 = x21 * 2. * x23 - x22;
227 x25 = x21 * 2. * x24 - x23;
228 x26 = x21 * 2. * x25 - x24;
229 x27 = x21 * 2. * x26 - x25;
231 ret_val = coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x22 +
232 coeff[4] * x23 + coeff[5] * x11 * x21 + coeff[6] * x24 + coeff[7]
233 * x12 + coeff[8] * x11 * x22 + coeff[9] * x11 * x23 + coeff[10] *
234 x25 + coeff[11] * x11 * x24 + coeff[12] * x11 * x25 + coeff[13] *
235 x13 + coeff[14] * x12 * x21 + coeff[15] * x11 * x26 + coeff[16] *
236 x26 + coeff[17] * x11 * x27 + coeff[18] * x17 * x21 + coeff[19] *
237 x15 * x21 + coeff[20] * x12 * x22 + coeff[21] * x12 * x23 + coeff[
238 22] * x27 + coeff[23] * x14 * x22 + coeff[24] * x16 * x21 + coeff[
239 25] * x17 + coeff[26] * x17 * x22;
248 static const double coeff[17] = { 5.5533465,3.3733352,3.776603,2.2673355,
249 1.3401485,.84209333,-.71621378,.57572407,-.52313936,-.78790514,
250 -.71786066,.43370011,.29223306,-.37791975,.21121024,.31513644,
257 double x10, x11, x12, x13, x14, x15, x16, x17, x18, x20,
258 x21, x22, x23, x24, x25, x26, x27, x28, x29;
303 x11 = fabs(
ycell) * 2. - 1.;
304 x12 = x11 * 2. * x11 - x10;
305 x13 = x11 * 2. * x12 - x11;
306 x14 = x11 * 2. * x13 - x12;
307 x15 = x11 * 2. * x14 - x13;
308 x16 = x11 * 2. * x15 - x14;
309 x17 = x11 * 2. * x16 - x15;
310 x18 = x11 * 2. * x17 - x16;
313 x21 = fabs(
zcell) * 2. - 1.;
314 x22 = x21 * 2. * x21 - x20;
315 x23 = x21 * 2. * x22 - x21;
316 x24 = x21 * 2. * x23 - x22;
317 x25 = x21 * 2. * x24 - x23;
318 x26 = x21 * 2. * x25 - x24;
319 x27 = x21 * 2. * x26 - x25;
320 x28 = x21 * 2. * x27 - x26;
321 x29 = x21 * 2. * x28 - x27;
323 ret_val = coeff[0] * x21 + coeff[1] + coeff[2] * x22 + coeff[3] * x23 +
324 coeff[4] * x24 + coeff[5] * x25 + coeff[6] * x11 * x23 + coeff[7]
325 * x26 + coeff[8] * x11 * x25 + coeff[9] * x11 * x24 + coeff[10] *
326 x11 * x22 + coeff[11] * x27 + coeff[12] * x28 + coeff[13] * x11 *
327 x26 + coeff[14] * x29 + coeff[15] * x16 * x21 + coeff[16] * x18 *
double avgPathLengthHighB()
double driftTimeSigmaHighB()
double avgDriftTimeHighB()