From 095034a2133940eeb4498733a0dd4f2722c02946 Mon Sep 17 00:00:00 2001
From: R D Schaffer <r.d.schaffer@cern.ch>
Date: Thu, 21 Dec 2023 17:09:21 +0100
Subject: [PATCH] commenting out the call to run algs which preformat
 information for closeBy...

commenting out the call to run algs which preformat information for closeBy correction run in analysis
---
 .../python/IsolationSelectionConfig.py        | 23 ++++++++++---------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/python/IsolationSelectionConfig.py b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/python/IsolationSelectionConfig.py
index f726e95f9f8..0778db6266a 100644
--- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/python/IsolationSelectionConfig.py
+++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/python/IsolationSelectionConfig.py
@@ -152,18 +152,19 @@ def IsoCloseByAlgsCfg(flags, suff = "", isPhysLite = False, containerNames = [ "
     # information on PhysLite.
     acc = ComponentAccumulator()
 
-    ## Temporarily comment out for parent/child augmentation tests
-    # Add additional information to derivation output to be able to run IsoCloseByCorrectionTool on it 
-    if not isPhysLite:
-        from IsolationSelection.IsolationSelectionConfig import IsoCloseByCorrSkimmingAlgCfg, IsoCloseByCaloDecorCfg
-        ### Add the tracks that potentially polute the isolation cones of others to the collection. 
-        ### Question: Is the list of recommended TTVA working points used for isolation available somewhere?
-        acc.merge(IsoCloseByCorrSkimmingAlgCfg(flags, suff = suff, ttva_wp = "Nonprompt_All_MaxWeight",
-                                                            OutputStream = stream_name))
+    # REMOVING THE FOLLOWING UNTIL THE CLASH BETWEEN THESE ALGS AND THE CLOSEBY CORRECTION IS FIXED
+    # ## Temporarily comment out for parent/child augmentation tests
+    # # Add additional information to derivation output to be able to run IsoCloseByCorrectionTool on it 
+    # if not isPhysLite:
+    #     from IsolationSelection.IsolationSelectionConfig import IsoCloseByCorrSkimmingAlgCfg, IsoCloseByCaloDecorCfg
+    #     ### Add the tracks that potentially polute the isolation cones of others to the collection. 
+    #     ### Question: Is the list of recommended TTVA working points used for isolation available somewhere?
+    #     acc.merge(IsoCloseByCorrSkimmingAlgCfg(flags, suff = suff, ttva_wp = "Nonprompt_All_MaxWeight",
+    #                                                         OutputStream = stream_name))
         
-        ### Associate the close-by pflow objects and the calorimeter clusters
-        acc.merge(IsoCloseByCaloDecorCfg(flags, suff = suff,
-                                         containers = containerNames ))
+    #     ### Associate the close-by pflow objects and the calorimeter clusters
+    #     acc.merge(IsoCloseByCaloDecorCfg(flags, suff = suff,
+    #                                      containers = containerNames ))
 
     # Setup the isolation close-by correction algorithm sequence to correct the isolation of near-by el, mu, ph
     from IsolationSelection.IsolationSelectionConfig import IsoCloseByCorrAlgCfg
-- 
GitLab