Skip to content
Snippets Groups Projects
Commit 60b648d2 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

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

parent 263b0a02
No related branches found
No related tags found
1 merge request!258Accept particles with p.genStatus() == 0 in MC2DummyParticle and TrackParamTruthInit
...@@ -57,7 +57,8 @@ namespace Jug::Base { ...@@ -57,7 +57,8 @@ namespace Jug::Base {
auto relations = m_outputRelCollection.createAndPut(); auto relations = m_outputRelCollection.createAndPut();
int ID = 0; int ID = 0;
for (const auto& p : *parts) { for (const auto& p : *parts) {
if (p.genStatus() != 1) { if (p.genStatus() > 1) {
debug() << "ignoring particle with genStatus = " << p.genStatus() << endmsg;
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment