4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
9 if flags.HGTD.Geometry.useGeoModelXml:
10 from HGTD_GeoModelXml.HGTD_GeoModelConfig
import HGTD_ReadoutGeometryCfg
12 from HGTD_GeoModel.HGTD_GeoModelConfig
import HGTD_ReadoutGeometryCfg
15 kwargs.setdefault(
"Identification",
'HGTD')
16 kwargs.setdefault(
"SetLayerAssociation",
True)
18 result.setPrivateTools(CompFactory.HGTD_LayerBuilderCond(name, **kwargs))
23 name='HGTD_TrackingGeometryBuilderCond',
27 HGTD_LayerBuilder = result.popToolsAndMerge(
29 result.addPublicTool(HGTD_LayerBuilder)
31 from TrackingGeometryCondAlg.TrkDetDescrToolsConfig
import HGTD_CylinderVolumeCreatorCfg
32 cylinderVolumeCreator = result.popToolsAndMerge(
34 result.addPublicTool(cylinderVolumeCreator)
36 from SubDetectorEnvelopes.SubDetectorEnvelopesConfig
import (
40 kwargs.setdefault(
"LayerBuilder", HGTD_LayerBuilder)
41 kwargs.setdefault(
"EnvelopeDefinitionSvc", envelopeDefinitionSvc)
42 kwargs.setdefault(
"TrackingVolumeCreator", cylinderVolumeCreator)
44 result.setPrivateTools(
45 CompFactory.HGTD_TrackingGeometryBuilderCond(name, **kwargs))