Skip to content

Commit 8fcd2bf

Browse files
authored
[PWGLF] Strangeness in jets: Fix isPhysicalPrimary flag (#9411)
1 parent 4af39fa commit 8fcd2bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ struct strangeness_in_jets {
13891389
for (auto& particleMotherOfPos : posParticle.mothers_as<aod::McParticles>()) { // o2-linter: disable=[const-ref-in-for-loop]
13901390
if (particleMotherOfNeg == particleMotherOfPos) {
13911391
pdg_parent = particleMotherOfNeg.pdgCode();
1392+
isPhysPrim = particleMotherOfNeg.isPhysicalPrimary();
13921393
}
13931394
}
13941395
}

0 commit comments

Comments
 (0)