Skip to content

Commit aaf2722

Browse files
committed
Fix cpplint "readability" or whatever.
1 parent b3b51fc commit aaf2722

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

PWGCF/Tasks/correlations.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,12 +387,14 @@ struct CorrelationTask {
387387

388388
// last param is the weight
389389
if (cfgMassAxis) {
390-
if constexpr (std::experimental::is_detected<hasInvMass, typename TTracks1::iterator>::value)
390+
if constexpr (std::experimental::is_detected<hasInvMass, typename TTracks1::iterator>::value) {
391391
target->getPairHist()->Fill(step, track1.eta() - track2.eta(), track2.pt(), track1.pt(), multiplicity, deltaPhi, posZ, track1.invMass(), associatedWeight);
392-
else
392+
} else {
393393
LOGF(fatal, "Can not fill mass axis without invMass column. Disable cfgMassAxis.");
394-
} else
394+
}
395+
} else {
395396
target->getPairHist()->Fill(step, track1.eta() - track2.eta(), track2.pt(), track1.pt(), multiplicity, deltaPhi, posZ, associatedWeight);
397+
}
396398
}
397399
}
398400
}

0 commit comments

Comments
 (0)