From ad4251b0d540c2d2957f663ce7dc54c9d32317d5 Mon Sep 17 00:00:00 2001
From: Yee Chinn Yap <yee.chinn.yap@cern.ch>
Date: Tue, 30 Mar 2021 09:27:32 +0000
Subject: [PATCH] Bug fix for IBL service material

---
 .../InDetGeoModelUtils/src/InDetMaterialManager.cxx             | 2 +-
 Tools/PROCTools/python/RunTier0TestsTools.py                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/InnerDetector/InDetDetDescr/InDetGeoModelUtils/src/InDetMaterialManager.cxx b/InnerDetector/InDetDetDescr/InDetGeoModelUtils/src/InDetMaterialManager.cxx
index bcaf9930f2e..cf163cd72ef 100755
--- a/InnerDetector/InDetDetDescr/InDetGeoModelUtils/src/InDetMaterialManager.cxx
+++ b/InnerDetector/InDetDetDescr/InDetGeoModelUtils/src/InDetMaterialManager.cxx
@@ -105,7 +105,7 @@ InDetMaterialManager::getMaterial(const std::string& materialName) {
 
 bool
 InDetMaterialManager::hasMaterial(const std::string& materialName) const {
-  return m_store.find(materialName) != m_store.end();
+  return m_weightMap.find(materialName) != m_weightMap.end();
 }
 
 const GeoMaterial*
diff --git a/Tools/PROCTools/python/RunTier0TestsTools.py b/Tools/PROCTools/python/RunTier0TestsTools.py
index 796037059ee..45d7900b2ec 100644
--- a/Tools/PROCTools/python/RunTier0TestsTools.py
+++ b/Tools/PROCTools/python/RunTier0TestsTools.py
@@ -27,7 +27,7 @@ ciRefFileMap = {
                 's3505-21.0'           : 'v2',
                 's3505-21.3'           : 'v1',
                 's3505-21.9'           : 'v1',
-                's3505-22.0'           : 'v8',
+                's3505-22.0'           : 'v9',
                 # OverlayTier0Test_required-test
                 'overlay-d1498-21.0'   : 'v2',
                 'overlay-d1498-22.0'   : 'v38',
-- 
GitLab