Skip to content

Commit 59c864e

Browse files
authored
[PWGHF] update the collision type in MC process (#9547)
1 parent e5cadd0 commit 59c864e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/D2H/Tasks/taskD0.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ struct HfTaskD0 {
763763
unsigned maxNumContrib = 0;
764764
float cent{-1.f};
765765
float occ{-1.f};
766-
if constexpr (std::is_same_v<CollType, CollisionsCent>) {
766+
if constexpr (std::is_same_v<CollType, CollisionsWithMcLabelsCent>) {
767767
const auto& recoCollsPerMcCollCent = collisions.sliceBy(colPerMcCollisionCent, particle.mcCollision().globalIndex());
768768
for (const auto& recCol : recoCollsPerMcCollCent) {
769769
maxNumContrib = recCol.numContrib() > maxNumContrib ? recCol.numContrib() : maxNumContrib;

0 commit comments

Comments
 (0)