ATLAS Offline Software
Loading...
Searching...
No Matches
python/HGTD_GeoModelConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 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.Alignable = False
11 hgtdDetectorTool.DetectorName = "HGTD"
12 hgtdDetectorTool.PrintModuleNumberPerRow = False
13 geoModelSvc.DetectorTools += [ hgtdDetectorTool ]
14 return acc
15
16
18 # main GeoModel config
19 acc = HGTD_GeoModelCfg(flags)
20 return acc
21
22
24 # main GeoModel config
25 acc = HGTD_GeoModelCfg(flags)
26 from HGTD_ConditionsAlgorithms.HGTD_ConditionsAlgorithmsConfig import HGTD_DetectorElementCondAlgCfg
27 acc.merge(HGTD_DetectorElementCondAlgCfg(flags))
28 return acc