Skip to content

Commit eae8a3d

Browse files
Fixed issue with centrality filling a dummy value
1 parent 6121a09 commit eae8a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Utils/nucleiUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ bool eventSelection(const Tcollision& collision, HistogramRegistry& registry, La
348348
template <typename Tcollision>
349349
float getCentrality(Tcollision const& collision, const int centralityEstimator)
350350
{
351-
if constexpr (!o2::aod::HasCentrality<Tcollision>) {
351+
if constexpr (!o2::aod::HasCentrality<Tcollision>) { // requires aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs, aod::CentNTPVs
352352
return -1.f;
353353
}
354354
if (centralityEstimator == centDetectors::kFV0A) {

0 commit comments

Comments
 (0)