From 617f9dccaa38cac80e808bac7642d44e50fb8261 Mon Sep 17 00:00:00 2001
From: Dave Casper <dcasper@uci.edu>
Date: Wed, 28 Sep 2022 10:59:58 -0700
Subject: [PATCH] Fix stupidity

---
 .../FaserISF_Services/python/FaserISF_ServicesConfigNew.py  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Simulation/ISF/ISF_Core/FaserISF_Services/python/FaserISF_ServicesConfigNew.py b/Simulation/ISF/ISF_Core/FaserISF_Services/python/FaserISF_ServicesConfigNew.py
index 41cdb421..829b0df0 100644
--- a/Simulation/ISF/ISF_Core/FaserISF_Services/python/FaserISF_ServicesConfigNew.py
+++ b/Simulation/ISF/ISF_Core/FaserISF_Services/python/FaserISF_ServicesConfigNew.py
@@ -65,11 +65,9 @@ def FaserTruthServiceCfg(ConfigFlags, name="FaserISF_TruthService", **kwargs):
     # acc2= FaserDipoleTruthStrategyCfg(ConfigFlags)
     # kwargs.setdefault('TruthStrategies',[result.popToolsAndMerge(acc), result.popToolsAndMerge(acc2)])
     acc = TruthStrategyGroupCfg(ConfigFlags)
-    kwargs.setdefault('TruthStrategies', [result.popToolsAndMerge(acc)])
-
     # FaserNu hack
-    acc = TrenchStrategyGroupCfg(ConfigFlags)
-    kwargs.setdefault('TrenchStrategies', [result.popToolsAndMerge(acc)])
+    acc2 = TrenchStrategyGroupCfg(ConfigFlags)
+    kwargs.setdefault('TruthStrategies', [result.popToolsAndMerge(acc), result.popToolsAndMerge(acc2)])
 
     kwargs.setdefault('SkipIfNoChildren', True)
     kwargs.setdefault('SkipIfNoParentBarcode', True)
-- 
GitLab