Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PWGHF/D2H/Tasks/taskCharmPolarisation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@ struct HfTaskCharmPolarisation {
float centrality = {-1.f};
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
continue; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

Expand Down Expand Up @@ -2345,7 +2345,7 @@ struct HfTaskCharmPolarisation {
float centrality = {-1.f};
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
continue; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

Expand Down Expand Up @@ -2379,7 +2379,7 @@ struct HfTaskCharmPolarisation {
for (const auto& collision : collisions) { // loop over reco collisions associated to this gen collision
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
continue; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

Expand Down Expand Up @@ -2420,7 +2420,7 @@ struct HfTaskCharmPolarisation {
for (const auto& collision : collisions) { // loop over reco collisions associated to this gen collision
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
continue; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

Expand Down
Loading