From e0116271df6f8ba04a4b6112704b3ba03f3ed2ce Mon Sep 17 00:00:00 2001
From: Mark Hodgkinson <m.hodgkinson@sheffield.ac.uk>
Date: Wed, 16 Oct 2019 18:19:09 +0100
Subject: [PATCH] Minimal changes to fix ATLASRECTS-5163. In particular the way
 we load the /Indet/Onl/IBLDist conditions folder has been modified.

---
 Reconstruction/eflowRec/python/PFRun3Config.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Reconstruction/eflowRec/python/PFRun3Config.py b/Reconstruction/eflowRec/python/PFRun3Config.py
index f414b8791f1..7162bbf4eae 100644
--- a/Reconstruction/eflowRec/python/PFRun3Config.py
+++ b/Reconstruction/eflowRec/python/PFRun3Config.py
@@ -163,8 +163,8 @@ def PFCfg(inputFlags,**kwargs):
     result.merge(GeoModelCfg(inputFlags))
 
     #load folders needed for IBL
-    from IOVDbSvc.IOVDbSvcConfig import addFolders
-    result.merge(addFolders(inputFlags,['/Indet/IBLDist'],'INDET_OFL'))
+    from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline
+    result.merge(addFoldersSplitOnline(inputFlags,"INDET","/Indet/Onl/IBLDist","/Indet/IBLDist",className="CondAttrListCollection"))
     
     #Setup Pixel conditions
     from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelAlignCondAlg
@@ -205,7 +205,7 @@ def PFCfg(inputFlags,**kwargs):
     result.merge(acc)
     
     #load folders needed for Run2 ID alignment
-    from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline
+    from IOVDbSvc.IOVDbSvcConfig import addFolders
     result.merge(addFoldersSplitOnline(inputFlags,"INDET","/Indet/Onl/Align","/Indet/Align",className="AlignableTransformContainer"))
     result.merge(addFolders(inputFlags,['/TRT/Align'],'TRT_OFL'))
     
-- 
GitLab