Skip to content

Commit 17b99b1

Browse files
authored
PWGHF: fix number of contributors in Ds task (AliceO2Group#7939)
1 parent 783c901 commit 17b99b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/D2H/Tasks/taskDs.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ struct HfTaskDs {
524524

525525
unsigned maxNumContrib = 0;
526526
const auto& recoCollsPerMcColl = recoCollisions.sliceBy(std::get<PresliceUnsorted<Coll>>(colPerMcCollisionMap.at(centDetector)), particle.mcCollision().globalIndex());
527-
for (const auto& recCol : recoCollisions) {
527+
for (const auto& recCol : recoCollsPerMcColl) {
528528
maxNumContrib = recCol.numContrib() > maxNumContrib ? recCol.numContrib() : maxNumContrib;
529529
}
530530

0 commit comments

Comments
 (0)