ATLAS Offline Software
Loading...
Searching...
No Matches
python/HGTD_GeoModelConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3def HGTD_GeoModelCfg(flags):
4 from AtlasGeoModel.GeoModelConfig import GeoModelCfg
5 acc = GeoModelCfg(flags)
6 geoModelSvc = acc.getPrimary()
7
8 from AthenaConfiguration.ComponentFactory import CompFactory
9 hgtdDetectorTool = CompFactory.HGTD_DetectorTool("HGTD_DetectorTool")
10 hgtdDetectorTool.DetectorName = "HGTD"
11 hgtdDetectorTool.PrintModuleNumberPerRow = False
12 geoModelSvc.DetectorTools += [ hgtdDetectorTool ]
13 return acc
14
15
17 # main GeoModel config
18 acc = HGTD_GeoModelCfg(flags)
19 return acc
20
21
23 # main GeoModel config
24 acc = HGTD_GeoModelCfg(flags)
25 from HGTD_ConditionsAlgorithms.HGTD_ConditionsAlgorithmsConfig import HGTD_DetectorElementCondAlgCfg
26 acc.merge(HGTD_DetectorElementCondAlgCfg(flags))
27 return acc