Skip to content
Snippets Groups Projects
Commit 8d6f69bc authored by Nicholas Styles's avatar Nicholas Styles
Browse files

Merge branch '21.9-hgtdDictByFlag' into '21.9'

Tie HGTD dict building to DetFlag

See merge request atlas/athena!37742
parents eb8534ef f40262df
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,8 @@ from AthenaCommon.DetFlags import DetFlags ...@@ -12,6 +12,8 @@ from AthenaCommon.DetFlags import DetFlags
from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags
auto_isGMX = (SLHC_Flags.doGMX()) or (CommonGeometryFlags.StripGeoType() == "GMX") auto_isGMX = (SLHC_Flags.doGMX()) or (CommonGeometryFlags.StripGeoType() == "GMX")
auto_doHGTD = DetFlags.geometry.HGTD_on()
class SLHC_Setup_XMLReader : class SLHC_Setup_XMLReader :
# constructor requires the SLHC_Flags # constructor requires the SLHC_Flags
def __init__(self): def __init__(self):
...@@ -21,7 +23,7 @@ class SLHC_Setup_XMLReader : ...@@ -21,7 +23,7 @@ class SLHC_Setup_XMLReader :
createXML = True, createXML = True,
doPix=True, doPix=True,
doSCT=True, doSCT=True,
doHGTD=True, doHGTD=auto_doHGTD,
isGMX=auto_isGMX, isGMX=auto_isGMX,
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment