Commit 60b648d2 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

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

parent 263b0a02
...@@ -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;
} }
......
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