From 65a79233e73b64e510a1ed1f4e0c9a441ba250eb Mon Sep 17 00:00:00 2001
From: Jovan Mitrevski <Jovan.Mitrevski@cern.ch>
Date: Thu, 4 Oct 2018 11:27:47 +0200
Subject: [PATCH] fix IsoGetter ED configuration

---
 Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py b/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
index 136252a37f1..4e97081babe 100644
--- a/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
+++ b/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
@@ -82,9 +82,13 @@ def configureEDCorrection(tool):
   try:
     from AthenaCommon.AppMgr import ToolSvc
     from JetRec.JetRecStandard import jtm
+    from JetRec.JetRecConf import PseudoJetAlgorithm
     from EventShapeTools.EventDensityConfig import configEventDensityTool, EventDensityAthAlg
     from AthenaCommon.AlgSequence import AlgSequence
     topSequence = AlgSequence()
+    # EMTopo (non-origin corrected) clusters
+    if not hasattr(topSequence, "pjalg_"+jtm.emget.Label):
+      topSequence += PseudoJetAlgorithm("pjalg_"+jtm.emget.Label,PJGetter=jtm.emget)
     if not hasattr(topSequence,'EDtpIsoCentralAlg'):
       tccc = configEventDensityTool("EDtpIsoCentralTool",
                                     inputlabel = jtm.emget.Label,
-- 
GitLab