|
@@ -922,7 +922,6 @@ float ClassFlowPostProcessing::checkDigitConsistency(double input, int _decilams
|
|
|
printf("checkDigitConsistency: pot=%d, decimalshift=%d\n", pot, _decilamshift);
|
|
printf("checkDigitConsistency: pot=%d, decimalshift=%d\n", pot, _decilamshift);
|
|
|
#endif
|
|
#endif
|
|
|
pot_max = ((int) log10(input)) + 1;
|
|
pot_max = ((int) log10(input)) + 1;
|
|
|
- float not_checked_input = floorf(input * pow(10, pot)) / pow(10, pot);
|
|
|
|
|
#ifdef SERIAL_DEBUG
|
|
#ifdef SERIAL_DEBUG
|
|
|
printf("checkDigitConsistency: not_checked_input=%f\n", not_checked_input);
|
|
printf("checkDigitConsistency: not_checked_input=%f\n", not_checked_input);
|
|
|
#endif
|
|
#endif
|
|
@@ -960,7 +959,7 @@ float ClassFlowPostProcessing::checkDigitConsistency(double input, int _decilams
|
|
|
pot++;
|
|
pot++;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- return not_checked_input + input;
|
|
|
|
|
|
|
+ return input;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
string ClassFlowPostProcessing::getReadoutRate(int _number)
|
|
string ClassFlowPostProcessing::getReadoutRate(int _number)
|