From 4ed64feb868c674ee57667eb1d7c0094f6d2d9f6 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sun, 18 Oct 2020 02:27:47 +0200
Subject: [PATCH] RecExCommon: Fix b-tagging configuration.

Also need to copy DetDescrVersion when setting up config flags;
otherwise, we can get inconsistencies while merging.
---
 .../RecExample/RecExCommon/share/CombinedRec_config.py           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Reconstruction/RecExample/RecExCommon/share/CombinedRec_config.py b/Reconstruction/RecExample/RecExCommon/share/CombinedRec_config.py
index 942de70be18..e3a4ee06952 100755
--- a/Reconstruction/RecExample/RecExCommon/share/CombinedRec_config.py
+++ b/Reconstruction/RecExample/RecExCommon/share/CombinedRec_config.py
@@ -133,6 +133,7 @@ if jetOK and rec.doBTagging() and  DetFlags.ID_on() and DetFlags.Muon_on():
         from AthenaCommon.AthenaCommonFlags import jobproperties as jps
         ConfigFlags.Input.Files = jps.AthenaCommonFlags.FilesInput.get_Value()
         ConfigFlags.IOVDb.GlobalTag=globalflags.ConditionsTag()
+        ConfigFlags.GeoModel.AtlasVersion = jps.Global.DetDescrVersion()
         # Configure BTagging algorithm
         from BTagging.BTagRun3Config import BTagRecoSplitCfg
         CAtoGlobalWrapper(BTagRecoSplitCfg, ConfigFlags)
-- 
GitLab