Commit 1caac100 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Ignore particles with p.genStatus() > 1 in TrackParamTruthInit

parent 60b648d2
......@@ -82,7 +82,8 @@ namespace Jug::Reco {
for(const auto& part : *mcparts) {
// genStatus = 1 means thrown G4Primary
if(part.genStatus() != 1 ) {
if (part.genStatus() > 1 ) {
debug() << "ignoring particle with genStatus = " << p.genStatus() << endmsg;
continue;
}
using Acts::UnitConstants::GeV;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment