Skip to content

Commit 5d9260d

Browse files
authored
[PWGEM] Select only physical primaries in peredictions from OTF (#12564)
1 parent 7e0a2c7 commit 5d9260d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGEM/Dilepton/Tasks/mcParticlePredictionsOTF.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ struct otfParticlePrediction {
5959
if (particle.eta() < maxEtaParticle) {
6060
continue;
6161
}
62+
if (!particle.isPhysicalPrimary()) {
63+
continue;
64+
}
6265
if (pdg < 100) {
6366
continue;
6467
}

0 commit comments

Comments
 (0)