1 parent 7e78d8c commit 05540b4Copy full SHA for 05540b4
1 file changed
PWGCF/EbyEFluctuations/Tasks/radialFlowDecorr.cxx
@@ -565,15 +565,15 @@ struct RadialFlowDecorr {
565
566
// Ensure the input binning allows exact 10/100-track groups
567
if (groupSize < 1 ||
568
- std::abs(groupSize * originalWidth - trackStep) > 1.e-6) {
+ std::abs(groupSize * originalWidth - trackStep) > KFloatEpsilon) {
569
LOGF(fatal, "Nch bin width is incompatible with %d-track rebinning",
570
trackStep);
571
return nullptr;
572
}
573
574
for (int ix = 1; ix <= nx; ++ix) {
575
if (std::abs(h->GetXaxis()->GetBinWidth(ix) -
576
- originalWidth) > 1.e-6) {
+ originalWidth) > KFloatEpsilon) {
577
LOGF(fatal, "Input Nch axis must have uniform bin widths");
578
579
0 commit comments