50 cout <<
"DTBtiChip::computeSums called" << endl;
87 if (_thisStepUsedHit[
a - 1] !=
nullptr && _thisStepUsedHit[
b - 1] !=
nullptr) {
88 _sums[
s - 1] = (
float)(_thisStepUsedHit[
a - 1]->jtrig() + _thisStepUsedHit[
b - 1]->jtrig());
89 _difs[
s - 1] = (
float)(_thisStepUsedHit[
a - 1]->jtrig() - _thisStepUsedHit[
b - 1]->jtrig());
97 reSumAr[2][2 + 2] = 0;
98 reSumAr[2][1 + 2] = 0;
99 reSumAr[2][0 + 2] = 0;
100 reSumAr[2][-1 + 2] = -1;
101 reSumAr[2][-2 + 2] = -1;
103 reSumAr[1][2 + 2] = 1;
104 reSumAr[1][1 + 2] = 1;
105 reSumAr[1][0 + 2] = 0;
106 reSumAr[1][-1 + 2] = 0;
107 reSumAr[1][-2 + 2] = 0;
109 reSumAr[0][2 + 2] = 1;
110 reSumAr[0][1 + 2] = 0;
111 reSumAr[0][0 + 2] = 0;
112 reSumAr[0][-1 + 2] = 0;
113 reSumAr[0][-2 + 2] = -1;
115 reSumAr23[2][2 + 2] = 1;
116 reSumAr23[2][1 + 2] = 1;
117 reSumAr23[2][0 + 2] = 1;
118 reSumAr23[2][-1 + 2] = 0;
119 reSumAr23[2][-2 + 2] = 0;
121 reSumAr23[1][2 + 2] = 1;
122 reSumAr23[1][1 + 2] = 1;
123 reSumAr23[1][0 + 2] = 0;
124 reSumAr23[1][-1 + 2] = 0;
125 reSumAr23[1][-2 + 2] = 0;
127 reSumAr23[0][2 + 2] = 1;
128 reSumAr23[0][1 + 2] = 0;
129 reSumAr23[0][0 + 2] = 0;
130 reSumAr23[0][-1 + 2] = 0;
131 reSumAr23[0][-2 + 2] = -1;
139 float K0 =
config()->ST();
144 for (
int i = 0;
i < 32;
i++) {
152 _Keq[
i][0] = _difs[1] + 2. * K0;
153 _Keq[
i][1] = -_sums[5] + 2. * K0;
154 _Keq[
i][2] = _sums[6];
155 _Keq[
i][3] = -(_sums[0] / 2.) + 2. * K0 + 0.01;
156 _Keq[
i][4] = (_difs[8] / 2.) + K0 + 0.01;
158 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_difs[2]), 3.))) +
int((
double(_difs[2]) / 3.));
163 float _difs_p0 = _difs[5];
167 if (_thisStepUsedHit[3 - 1] ==
nullptr) {
168 if (_hits[3 - 1].
empty())
170 if (!_hits[3 - 1].
empty() && (*(_hits[3 - 1].begin()))->clockTime() <= -K0)
173 TshiftB = _thisStepUsedHit[3 - 1]->jtrig();
175 if (_thisStepUsedHit[2 - 1] ==
nullptr) {
176 if (_hits[2 - 1].
empty())
178 if (!_hits[2 - 1].
empty() && (*(_hits[2 - 1].begin()))->clockTime() <= -K0)
181 TshiftC = _thisStepUsedHit[2 - 1]->jtrig();
183 _difs_p0 = (
float)(TshiftB - TshiftC);
186 _XeqAB_patt0 = (_sums[1] - K0) / 4.;
187 _Xeq[
i][0] = (_difs_p0 + K0) / 4.;
188 _XeqCD_patt0 = (_difs[6] + K0) / 4.;
189 _XeqAC_patt0 = -(_difs[0]) / 4.;
190 _XeqBD_patt0 = (_sums[8]) / 4.;
191 _Xeq[
i][1] = (_sums[2] - K0) / 4.;
206 _Keq[
i][0] = _difs[1] + 2. * K0;
207 _Keq[
i][1] = -(_sums[5]) + 2. * K0;
208 _Keq[
i][2] = -_difs[6] + 2. * K0;
209 _Keq[
i][3] = -(_sums[0] / 2.) + 2. * K0 + 0.01;
210 _Keq[
i][4] = -(_sums[8] / 2.) + 2. * K0 + 0.01;
212 _Keq[
i][5] = ST2 + reSum23(0,
int(fmod(
double(-_sums[2]), 3.))) +
int((
double(-_sums[2]) / 3.));
214 _Xeq[
i][0] = (_difs[5] + K0) / 4.;
215 _Xeq[
i][1] = (-_difs[2] + K0) / 4.;
220 _Keq[
i][0] = _sums[1];
221 _Keq[
i][1] = -_sums[5] + 2. * K0;
222 _Keq[
i][2] = _sums[6];
223 _Keq[
i][3] = -(_difs[0] / 2.) + K0 + 0.01;
224 _Keq[
i][4] = (_difs[8] / 2.) + K0 + 0.01;
226 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(_sums[2]), 3.))) +
int((
double(_sums[2]) / 3.));
235 _Xeq[
i][0] = (_difs[5] + K0) / 4.;
236 _Xeq[
i][1] = (_difs[2] + K0) / 4.;
241 _Keq[
i][0] = _sums[1];
242 _Keq[
i][1] = -_sums[5] + 2. * K0;
243 _Keq[
i][2] = -_difs[6] + 2. * K0;
244 _Keq[
i][3] = -(_difs[0] / 2.) + K0 + 0.01;
245 _Keq[
i][4] = -(_sums[8] / 2.) + 2. * K0 + 0.01;
247 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(-_difs[2]), 3.))) +
int((
double(-_difs[2]) / 3.));
249 _Xeq[
i][0] = (_difs[5] + K0) / 4.;
250 _Xeq[
i][1] = (-_sums[2] + 3. * K0) / 4.;
255 _Keq[
i][0] = _difs[1] + 2. * K0;
256 _Keq[
i][1] = _difs[10] + 2. * K0;
257 _Keq[
i][2] = -(_sums[13]) + 2. * K0;
258 _Keq[
i][3] = (_difs[3] / 2.) + 2. * K0 + 0.01;
259 _Keq[
i][4] = -(_sums[8] / 2.) + 2. * K0 + 0.01;
261 _Keq[
i][5] = ST2 + reSum23(0,
int(fmod(
double(-_sums[2]), 3.))) +
int((
double(-_sums[2]) / 3.));
263 _Xeq[
i][0] = (_sums[10] + K0) / 4.;
264 _Xeq[
i][1] = (-_difs[2] + K0) / 4.;
269 _Keq[
i][0] = _sums[1];
270 _Keq[
i][1] = _difs[10] + 2. * K0;
271 _Keq[
i][2] = -_sums[13] + 2. * K0;
272 _Keq[
i][3] = (_sums[3] / 2.) + K0 + 0.01;
273 _Keq[
i][4] = -(_sums[8] / 2.) + 2. * K0 + 0.01;
275 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(-_difs[2]), 3.))) +
int((
double(-_difs[2]) / 3.));
277 _Xeq[
i][0] = (_sums[10] + K0) / 4.;
278 _Xeq[
i][1] = (-_sums[2] + 3. * K0) / 4.;
283 _Keq[
i][0] = -_difs[1] + 2. * K0;
284 _Keq[
i][1] = _sums[10];
285 _Keq[
i][2] = -_sums[13] + 2. * K0;
286 _Keq[
i][3] = (_sums[3] / 2.) + K0 + 0.01;
287 _Keq[
i][4] = -(_difs[8] / 2.) + K0 + 0.01;
289 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(-_difs[2]), 3.))) +
int((
double(-_difs[2]) / 3.));
291 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
292 _Xeq[
i][1] = (-_sums[2] + 3. * K0) / 4.;
297 _Keq[
i][0] = -_difs[1] + 2. * K0;
298 _Keq[
i][1] = (_sums[10]);
299 _Keq[
i][2] = _difs[20] + 2. * K0;
300 _Keq[
i][3] = (_sums[3] / 2.) + K0 + 0.01;
301 _Keq[
i][4] = (_sums[11] / 2.) + K0 + 0.01;
303 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_sums[4]), 3.))) +
int((
double(_sums[4]) / 3.));
305 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
306 _Xeq[
i][1] = (_difs[4] + 3. * K0) / 4.;
311 _Keq[
i][0] = -_difs[1] + 2. * K0;
312 _Keq[
i][1] = -_difs[10] + 2. * K0;
313 _Keq[
i][2] = (_sums[20]);
314 _Keq[
i][3] = -(_difs[3] / 2.) + 2. * K0 + 0.01;
315 _Keq[
i][4] = (_sums[11] / 2.) + K0 + 0.01;
317 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_sums[4]), 3.))) +
int((
double(_sums[4]) / 3.));
319 _Xeq[
i][0] = (-_sums[10] + 5. * K0) / 4.;
320 _Xeq[
i][1] = (_difs[4] + 3. * K0) / 4.;
325 _Keq[
i][0] = (_sums[1]);
326 _Keq[
i][1] = _difs[10] + 2. * K0;
327 _Keq[
i][2] = _difs[20] + 2. * K0;
328 _Keq[
i][3] = (_sums[3] / 2.) + K0 + 0.01;
329 _Keq[
i][4] = (_difs[11] / 2.) + 2. * K0 + 0.01;
331 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_sums[4]), 3.))) +
int((
double(_sums[4]) / 3.));
333 _Xeq[
i][0] = (_sums[10] + K0) / 4.;
334 _Xeq[
i][1] = (_difs[4] + 3. * K0) / 4.;
339 _Keq[
i][0] = -_difs[9];
340 _Keq[
i][1] = -_sums[5] + 2. * K0;
341 _Keq[
i][2] = _sums[6];
342 _Keq[
i][3] = -(_sums[7] / 2.) + K0 + 0.01;
343 _Keq[
i][4] = (_difs[8] / 2.) + K0 + 0.01;
345 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_difs[12]), 3.))) +
int((
double(-_difs[12]) / 3.));
347 _Xeq[
i][0] = (_difs[5] + K0) / 4.;
348 _Xeq[
i][1] = (_sums[12] + K0) / 4.;
353 _Keq[
i][0] = -_sums[9] + 2. * K0;
354 _Keq[
i][1] = _difs[5];
355 _Keq[
i][2] = _sums[6];
356 _Keq[
i][3] = -(_sums[7] / 2.) + K0 + 0.01;
357 _Keq[
i][4] = (_sums[8] / 2. + 0.01);
359 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_difs[12]), 3.))) +
int((
double(-_difs[12]) / 3.));
361 _Xeq[
i][0] = (-_sums[5] + 3. * K0) / 4.;
362 _Xeq[
i][1] = (_sums[12] + K0) / 4.;
367 _Keq[
i][0] = _difs[9];
368 _Keq[
i][1] = _difs[5];
369 _Keq[
i][2] = (_sums[6]);
370 _Keq[
i][3] = (_difs[7] / 2.) + 0.01;
371 _Keq[
i][4] = (_sums[8] / 2.) + 0.01;
372 _Keq[
i][5] = (_sums[12] / 3.) + 0.51;
374 _Xeq[
i][0] = (-_sums[5] + 3. * K0) / 4.;
375 _Xeq[
i][1] = (-_difs[12] + 3. * K0) / 4.;
380 _Keq[
i][0] = -_sums[9] + 2. * K0;
381 _Keq[
i][1] = _sums[10];
382 _Keq[
i][2] = -_difs[13];
383 _Keq[
i][3] = (_difs[16] / 2.) + K0 + 0.01;
384 _Keq[
i][4] = (_sums[8] / 2. + 0.01);
386 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_difs[12]), 3.))) +
int((
double(-_difs[12]) / 3.));
388 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
389 _Xeq[
i][1] = (_sums[12] + K0) / 4.;
394 _Keq[
i][0] = -_sums[9] + 2. * K0;
395 _Keq[
i][1] = _sums[10];
396 _Keq[
i][2] = -_sums[13] + 2. * K0;
397 _Keq[
i][3] = (_difs[16] / 2.) + K0 + 0.01;
398 _Keq[
i][4] = -(_difs[8] / 2.) + K0 + 0.01;
400 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(-_sums[12]), 3.))) +
int((
double(-_sums[12]) / 3.));
402 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
403 _Xeq[
i][1] = (_difs[12] + 3. * K0) / 4.;
408 _Keq[
i][0] = _difs[9];
409 _Keq[
i][1] = (_sums[10]);
410 _Keq[
i][2] = -_difs[13];
411 _Keq[
i][3] = (_sums[16] / 2. + 0.01);
412 _Keq[
i][4] = (_sums[8] / 2. + 0.01);
413 _Keq[
i][5] = (_sums[12] / 3.) + 0.51;
415 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
416 _Xeq[
i][1] = (-_difs[12] + 3. * K0) / 4.;
421 _Keq[
i][0] = _difs[9];
422 _Keq[
i][1] = _sums[10];
423 _Keq[
i][2] = -_sums[13] + 2. * K0;
424 _Keq[
i][3] = (_sums[16] / 2. + 0.01);
425 _Keq[
i][4] = -(_difs[8] / 2.) + K0 + 0.01;
427 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(_difs[12]), 3.))) +
int((
double(_difs[12]) / 3.));
429 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
430 _Xeq[
i][1] = (-_sums[12] + 5. * K0) / 4.;
435 _Keq[
i][0] = -_sums[9] + 2. * K0;
436 _Keq[
i][1] = _sums[10];
437 _Keq[
i][2] = _difs[20] + 2. * K0;
438 _Keq[
i][3] = (_difs[16] / 2.) + K0 + 0.01;
439 _Keq[
i][4] = (_sums[11] / 2.) + K0 + 0.01;
441 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_difs[18]), 3.))) +
int((
double(_difs[18]) / 3.));
443 _Xeq[
i][0] = (_difs[10] + 3. * K0) / 4.;
444 _Xeq[
i][1] = (_sums[18] + 3. * K0) / 4.;
449 _Keq[
i][0] = -_sums[9] + 2. * K0;
450 _Keq[
i][1] = -_difs[10] + 2. * K0;
451 _Keq[
i][2] = _sums[20];
452 _Keq[
i][3] = -(_sums[16] / 2.) + 2. * K0 + 0.01;
453 _Keq[
i][4] = (_sums[11] / 2.) + K0 + 0.01;
455 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_difs[18]), 3.))) +
int((
double(_difs[18]) / 3.));
457 _Xeq[
i][0] = (-_sums[10] + 5. * K0) / 4.;
458 _Xeq[
i][1] = (_sums[18] + 3. * K0) / 4.;
463 _Keq[
i][0] = -(_sums[9]) + 2. * K0;
464 _Keq[
i][1] = -_difs[10] + 2. * K0;
465 _Keq[
i][2] = -_difs[20] + 2. * K0;
466 _Keq[
i][3] = -(_sums[16] / 2.) + 2. * K0 + 0.01;
467 _Keq[
i][4] = -(_difs[11] / 2.) + 2. * K0 + 0.01;
469 _Keq[
i][5] = ST2 + reSum23(0,
int(fmod(
double(-_sums[18]), 3.))) +
int((
double(-_sums[18]) / 3.));
471 _Xeq[
i][0] = (-_sums[10] + 5. * K0) / 4.;
472 _Xeq[
i][1] = (-_difs[18] + 5. * K0) / 4.;
477 _Keq[
i][0] = _sums[17];
478 _Keq[
i][1] = -_difs[19];
479 _Keq[
i][2] = -_sums[13] + 2. * K0;
480 _Keq[
i][3] = (_sums[16] / 2. + 0.01);
481 _Keq[
i][4] = -(_sums[14] / 2.) + K0 + 0.01;
483 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(_difs[12]), 3.))) +
int((
double(_difs[12]) / 3.));
485 _Xeq[
i][0] = (_sums[19] + 3. * K0) / 4.;
486 _Xeq[
i][1] = (-_sums[12] + 5. * K0) / 4.;
491 _Keq[
i][0] = _sums[17];
492 _Keq[
i][1] = -_sums[19] + 2. * K0;
493 _Keq[
i][2] = _difs[13];
494 _Keq[
i][3] = -(_difs[16] / 2.) + K0 + 0.01;
495 _Keq[
i][4] = -(_sums[14] / 2.) + K0 + 0.01;
497 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(_difs[12]), 3.))) +
int((
double(_difs[12]) / 3.));
499 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
500 _Xeq[
i][1] = (-_sums[12] + 5. * K0) / 4.;
505 _Keq[
i][0] = (_sums[17]);
506 _Keq[
i][1] = -_difs[19];
507 _Keq[
i][2] = -_difs[13];
508 _Keq[
i][3] = (_sums[16] / 2. + 0.01);
509 _Keq[
i][4] = -(_difs[14] / 2.) + 0.01;
510 _Keq[
i][5] = (_sums[12] / 3.) + 0.51;
512 _Xeq[
i][0] = (_sums[19] + 3. * K0) / 4.;
513 _Xeq[
i][1] = (-_difs[12] + 3. * K0) / 4.;
518 _Keq[
i][0] = -_difs[23];
519 _Keq[
i][1] = -_difs[19];
520 _Keq[
i][2] = -(_sums[13]) + 2. * K0;
521 _Keq[
i][3] = -(_difs[21] / 2.) + 0.01;
522 _Keq[
i][4] = -(_sums[14] / 2.) + K0 + 0.01;
524 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_sums[15]), 3.))) +
int((
double(-_sums[15]) / 3.));
526 _Xeq[
i][0] = (_sums[19] + 3. * K0) / 4.;
527 _Xeq[
i][1] = (_difs[15] + 5. * K0) / 4.;
532 _Keq[
i][0] = -_difs[23];
533 _Keq[
i][1] = -(_sums[19]) + 2. * K0;
534 _Keq[
i][2] = _difs[13];
535 _Keq[
i][3] = -(_sums[21] / 2.) + K0 + 0.01;
536 _Keq[
i][4] = -(_sums[14] / 2.) + K0 + 0.01;
538 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_sums[15]), 3.))) +
int((
double(-_sums[15]) / 3.));
540 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
541 _Xeq[
i][1] = (_difs[15] + 5. * K0) / 4.;
546 _Keq[
i][0] = -(_sums[23]) + 2. * K0;
547 _Keq[
i][1] = _difs[19];
548 _Keq[
i][2] = _difs[13];
549 _Keq[
i][3] = -(_sums[21] / 2.) + K0 + 0.01;
550 _Keq[
i][4] = (_difs[14] / 2.) + 0.01;
552 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_sums[15]), 3.))) +
int((
double(-_sums[15]) / 3.));
554 _Xeq[
i][0] = (-_sums[19] + 7. * K0) / 4.;
555 _Xeq[
i][1] = (_difs[15] + 5. * K0) / 4.;
560 _Keq[
i][0] = _difs[17] + 2. * K0;
561 _Keq[
i][1] = -_sums[19] + 2. * K0;
562 _Keq[
i][2] = _sums[20];
563 _Keq[
i][3] = -(_sums[16] / 2.) + 2. * K0 + 0.01;
564 _Keq[
i][4] = (_difs[22] / 2.) + K0 + 0.01;
566 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(_difs[18]), 3.))) +
int((
double(_difs[18]) / 3.));
568 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
569 _Xeq[
i][1] = (_sums[18] + 3. * K0) / 4.;
574 _Keq[
i][0] = _difs[17] + 2. * K0;
575 _Keq[
i][1] = -(_sums[19]) + 2. * K0;
576 _Keq[
i][2] = -_difs[20] + 2. * K0;
577 _Keq[
i][3] = -(_sums[16] / 2.) + 2. * K0 + 0.01;
578 _Keq[
i][4] = -(_sums[22] / 2.) + 2. * K0 + 0.01;
580 _Keq[
i][5] = ST2 + reSum23(0,
int(fmod(
double(-_sums[18]), 3.))) +
int((
double(-_sums[18]) / 3.));
582 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
583 _Xeq[
i][1] = (-_difs[18] + 5. * K0) / 4.;
588 _Keq[
i][0] = _sums[17];
589 _Keq[
i][1] = -_sums[19] + 2. * K0;
590 _Keq[
i][2] = _sums[20];
591 _Keq[
i][3] = -(_difs[16] / 2.) + K0 + 0.01;
592 _Keq[
i][4] = (_difs[22] / 2.) + K0 + 0.01;
594 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(_sums[18]), 3.))) +
int((
double(_sums[18]) / 3.));
596 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
597 _Xeq[
i][1] = (_difs[18] + 5. * K0) / 4.;
602 _Keq[
i][0] = _sums[17];
603 _Keq[
i][1] = -_sums[19] + 2. * K0;
604 _Keq[
i][2] = -_difs[20] + 2. * K0;
605 _Keq[
i][3] = -(_difs[16] / 2.) + K0 + 0.01;
606 _Keq[
i][4] = -(_sums[22] / 2.) + 2. * K0 + 0.01;
608 _Keq[
i][5] =
ST43 + reSum(
RE43,
int(fmod(
double(-_difs[18]), 3.))) +
int((
double(-_difs[18]) / 3.));
610 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
611 _Xeq[
i][1] = (-_sums[18] + 7. * K0) / 4.;
616 _Keq[
i][0] = -_difs[23];
617 _Keq[
i][1] = -_sums[19] + 2. * K0;
618 _Keq[
i][2] = _sums[20];
619 _Keq[
i][3] = -(_sums[21] / 2.) + K0 + 0.01;
620 _Keq[
i][4] = (_difs[22] / 2.) + K0 + 0.01;
622 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_difs[24]), 3.))) +
int((
double(-_difs[24]) / 3.));
624 _Xeq[
i][0] = (_difs[19] + 5. * K0) / 4.;
625 _Xeq[
i][1] = (_sums[24] + 5. * K0) / 4.;
630 _Keq[
i][0] = -_sums[23] + 2. * K0;
631 _Keq[
i][1] = _difs[19];
632 _Keq[
i][2] = _sums[20];
633 _Keq[
i][3] = -(_sums[21] / 2.) + K0 + 0.01;
634 _Keq[
i][4] = (_sums[22] / 2.) + 0.01;
636 _Keq[
i][5] = ST23 + reSum23(RE23,
int(fmod(
double(-_difs[24]), 3.))) +
int((
double(-_difs[24]) / 3.));
638 _Xeq[
i][0] = (-_sums[19] + 7. * K0) / 4.;
639 _Xeq[
i][1] = (_sums[24] + 5. * K0) / 4.;
643 if (
config()->debug() > 3) {
644 cout << endl <<
" Step: " << currentStep() << endl;
645 for (
i = 0;
i < 32;
i++) {
647 cout <<
"K Equation " <<
i <<
" --> ";
649 for (
j = 0;
j < 6;
j++) {
650 cout << _Keq[
i][
j] <<
" ";
653 cout <<
"X Equation " <<
i <<
" --> ";
654 for (
j = 0;
j < 2;
j++) {
655 cout << _Xeq[
i][
j] <<
" ";
658 cout << _XeqAB_patt0 <<
" " << _XeqCD_patt0 <<
" ";
659 cout << _XeqAC_patt0 <<
" " << _XeqBD_patt0 <<
" ";
dictionary config
Read in AllInOne config in JSON format.
void sum(const int s, const int a, const int b)