diff --git a/InnerDetector/InDetExample/InDetSLHC_Example/python/SLHC_Setup_ITK.py b/InnerDetector/InDetExample/InDetSLHC_Example/python/SLHC_Setup_ITK.py index 1a5104bd068ba64891531aee067f2fd22d9f46e4..daff22875d764efa1757e47bfaa44ae9077e0c91 100644 --- a/InnerDetector/InDetExample/InDetSLHC_Example/python/SLHC_Setup_ITK.py +++ b/InnerDetector/InDetExample/InDetSLHC_Example/python/SLHC_Setup_ITK.py @@ -12,6 +12,8 @@ from AthenaCommon.DetFlags import DetFlags from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags auto_isGMX = (SLHC_Flags.doGMX()) or (CommonGeometryFlags.StripGeoType() == "GMX") +auto_doHGTD = DetFlags.geometry.HGTD_on() + class SLHC_Setup_XMLReader : # constructor requires the SLHC_Flags def __init__(self): @@ -21,7 +23,7 @@ class SLHC_Setup_XMLReader : createXML = True, doPix=True, doSCT=True, - doHGTD=True, + doHGTD=auto_doHGTD, isGMX=auto_isGMX, )