Skip to content

Commit db855ff

Browse files
authored
[PWGLF] Bug Fix in hStrangeCorrelation.cxx (#16487)
1 parent 0edae6e commit db855ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,6 +2807,8 @@ struct HStrangeCorrelation {
28072807
histos.fill(HIST("Generated/hPositive") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1);
28082808
else if (i == IndexPion && mcParticle.pdgCode() < Neutral)
28092809
histos.fill(HIST("Generated/hNegative") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1);
2810+
else if (mcParticle.pdgCode() == PdgCodes[i])
2811+
histos.fill(HIST("Generated/h") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1);
28102812
});
28112813
}
28122814
if (collisions.size() < 1)

0 commit comments

Comments
 (0)