diff --git a/Common/TableProducer/multiplicityExtraTable.cxx b/Common/TableProducer/multiplicityExtraTable.cxx index ad135be3043..216a1b7acc6 100644 --- a/Common/TableProducer/multiplicityExtraTable.cxx +++ b/Common/TableProducer/multiplicityExtraTable.cxx @@ -43,9 +43,11 @@ struct MultiplicityExtraTable { Configurable bcTableFloatPrecision{"bcTableFloatPrecision", 0.1, "float precision in bc table for data reduction"}; - float tru(float value){ - if(bcTableFloatPrecision<1e-4) return value; //make sure nothing bad happens in case zero (best precision) - return bcTableFloatPrecision*std::round(value/bcTableFloatPrecision) + 0.5f*bcTableFloatPrecision; + float tru(float value) + { + if (bcTableFloatPrecision < 1e-4) + return value; // make sure nothing bad happens in case zero (best precision) + return bcTableFloatPrecision * std::round(value / bcTableFloatPrecision) + 0.5f * bcTableFloatPrecision; }; // needed for downscale @@ -238,7 +240,7 @@ struct MultiplicityExtraTable { bc2mult(bc2multArray[bc.globalIndex()]); multBC( - tru(multFT0A), tru(multFT0C), + tru(multFT0A), tru(multFT0C), tru(posZFT0), posZFT0valid, tru(multFV0A), tru(multFDDA), tru(multFDDC), tru(multZNA), tru(multZNC), tru(multZEM1), tru(multZEM2), tru(multZPA), tru(multZPC), Tvx, isFV0OrA,