From 8ab490f65dcb820ca91b0a1a6d4eee43f190c0ee Mon Sep 17 00:00:00 2001
From: Teng Jian Khoo <teng.jian.khoo@cern.ch>
Date: Tue, 24 Jul 2018 13:44:47 +0200
Subject: [PATCH] Reinstate function-internal import of AlgSequence

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

diff --git a/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py b/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
index a727ed3af8f..f89b0ebaef6 100644
--- a/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
+++ b/Reconstruction/RecoAlgs/IsolationAlgs/python/IsoGetter.py
@@ -73,6 +73,8 @@ def configureEDCorrection(tool):
   try:
     from AthenaCommon.AppMgr import ToolSvc
     from EventShapeTools.EventDensityConfig import configEventDensityTool, EventDensityAthAlg
+    from AthenaCommon.AlgSequence import AlgSequence
+    topSequence = AlgSequence()
     if not hasattr(topSequence,'EDtpIsoCentralAlg'):
       tccc = configEventDensityTool("EDtpIsoCentralTool",
                                     inputlabel = jtm.emget.Label,
-- 
GitLab