Skip to content

Commit 7872267

Browse files
committed
Select physical primary particles.
1 parent 83f3b80 commit 7872267

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)