Skip to content

Commit 31492bc

Browse files
author
Mattia Faggin
committed
Bug fix for physical-primary selection in DPG dca task.
1 parent 23c1fcf commit 31492bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DPG/Tasks/AOTTrack/qaImpPar.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ struct QaImpactPar {
583583
continue;
584584
}
585585
auto particle = track.mcParticle();
586-
if (keepOnlyPhysPrimary && particle.isPhysicalPrimary()) {
586+
if (!particle.isPhysicalPrimary()) {
587587
continue;
588588
}
589589
pdgIndex = PDGtoIndex(std::abs(particle.pdgCode()));

0 commit comments

Comments
 (0)