diff --git a/src/algorithms/reco/MC2SmearedParticle.cc b/src/algorithms/reco/MC2SmearedParticle.cc index 52e2eb1aad..b31f23f7dd 100644 --- a/src/algorithms/reco/MC2SmearedParticle.cc +++ b/src/algorithms/reco/MC2SmearedParticle.cc @@ -18,7 +18,7 @@ void eicrecon::MC2SmearedParticle::init(std::shared_ptr logger) edm4eic::ReconstructedParticle *eicrecon::MC2SmearedParticle::produce(const edm4hep::MCParticle *mc_particle) { - if (mc_particle->getGeneratorStatus() > 1) { + if (mc_particle->getGeneratorStatus() != 1) { m_log->debug("ignoring particle with generatorStatus = {}", mc_particle->getGeneratorStatus()); return nullptr; }