From 3ac7bd3e3270682a79bb69ea6c0d34d25f7a7bf9 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wouter.deconinck@umanitoba.ca>
Date: Fri, 1 Oct 2021 21:33:12 +0000
Subject: [PATCH] keep mcparticles

---
 options/reconstruction.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/options/reconstruction.py b/options/reconstruction.py
index ccd8595f..6086d083 100644
--- a/options/reconstruction.py
+++ b/options/reconstruction.py
@@ -593,7 +593,9 @@ podout.outputCommands = [
         "drop *ProtoClusters",
         "drop outputParticles",
         "drop InitTrackParams",
-        ] + [ "drop " + c for c in sim_coll]
+        ]
+        + [ "drop " + c for c in sim_coll ]
+        + [ "keep mcparticles" ]
 algorithms.append(podout)
 
 ApplicationMgr(
-- 
GitLab