Skip to content

Commit c61b46b

Browse files
committed
fix to KineParticleFilter::acceptParticle
1 parent 8f6c3cb commit c61b46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FastSimulation/Event/src/KineParticleFilter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ bool KineParticleFilter::acceptParticle(const RawParticle& particle) const {
3434

3535
// keep all high-energy protons
3636
else if (pId == 2212 && particle.E() >= protonEMin) {
37-
return true;
37+
return acceptVertex(particle.vertex());
3838
}
3939

4040
// cut on the energy

0 commit comments

Comments
 (0)