From c0938d02fba47e90fc86f9f190df0ab0462a504d Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Tue, 9 Jan 2018 17:11:11 +0100
Subject: [PATCH] AthenaCommon: Configure SGInputLoader in MT jobs.

Former-commit-id: 428bbd0b6818afc36a6b3e37f8a19bdfd9e06bcb
---
 Control/AthenaCommon/python/AtlasThreadedJob.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Control/AthenaCommon/python/AtlasThreadedJob.py b/Control/AthenaCommon/python/AtlasThreadedJob.py
index 185b0516ef28..4c29eeec21d8 100644
--- a/Control/AthenaCommon/python/AtlasThreadedJob.py
+++ b/Control/AthenaCommon/python/AtlasThreadedJob.py
@@ -50,6 +50,15 @@ def _setupAtlasThreadedJob():
     AlgScheduler.ShowDataDependencies(False)
     AlgScheduler.ShowControlFlow(False)
 
+    from AthenaCommon.AlgSequence import AlgSequence
+    topSequence = AlgSequence()
+    from SGComps.SGCompsConf import SGInputLoader
+    # FailIfNoProxy=False makes it a warning, not an error, if unmet data
+    # dependencies are not found in the store.  It should probably be changed
+    # to True eventually.
+    topSequence += SGInputLoader (FailIfNoProxy = False)
+    AlgScheduler.setDataLoaderAlg ('SGInputLoader' )
+
     from AthenaServices.AthenaServicesConf import AthenaHiveEventLoopMgr
 
     svcMgr += AthenaHiveEventLoopMgr()
-- 
GitLab