Commit e8fcbdba authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Use correct variable name in copied lines

parent 68f9cab2
......@@ -119,7 +119,7 @@ private:
std::vector<RecData> rc;
for (const auto& part : mc) {
if (part.genStatus() > 1) {
debug() << "ignoring particle with genStatus = " << p.genStatus() << endmsg;
debug() << "ignoring particle with genStatus = " << part.genStatus() << endmsg;
continue;
}
// only detect neutrons and photons
......
......@@ -83,7 +83,7 @@ namespace Jug::Reco {
// genStatus = 1 means thrown G4Primary
if (part.genStatus() > 1 ) {
debug() << "ignoring particle with genStatus = " << p.genStatus() << endmsg;
debug() << "ignoring particle with genStatus = " << part.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