4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
9 result.setPrivateTools(
10 CompFactory.Muon.MuonStationTypeBuilder(name, **kwargs))
14 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
17 if "StationTypeBuilder" not in kwargs:
18 kwargs.setdefault(
"StationTypeBuilder", result.popToolsAndMerge(
23 muonStationBuilder = CompFactory.Muon.MuonStationBuilderCond(name, **kwargs)
if useCond
else \
24 CompFactory.Muon.MuonStationBuilder(name, **kwargs)
25 result.setPrivateTools(muonStationBuilder)
31 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
36 muonInertMaterialBuilder = CompFactory.Muon.MuonInertMaterialBuilderCond(name, **kwargs)
if useCond
else \
37 CompFactory.Muon.MuonInertMaterialBuilder(name, **kwargs)
38 result.setPrivateTools(muonInertMaterialBuilder)
44 from SubDetectorEnvelopes.SubDetectorEnvelopesConfig
import EnvelopeDefSvcCfg
47 kwargs.setdefault(
"EnvelopeDefinitionSvc", result.getPrimaryAndMerge(
50 kwargs.setdefault(
"MuonStationBuilder", result.popToolsAndMerge(
52 name =
'MuonStationBuilder',
55 kwargs.setdefault(
"InertMaterialBuilder", result.popToolsAndMerge(
57 name =
'MuonInertMaterialBuilder',
60 kwargs.setdefault(
"EntryVolumeName",
'MuonSpectrometerEntrance')
61 kwargs.setdefault(
"ExitVolumeName",
'Muon::Containers::MuonSystem')
65 geometryBuilder = CompFactory.Muon.MuonTrackingGeometryBuilderCond(name, **kwargs)
if useCond
else \
66 CompFactory.Muon.MuonTrackingGeometryBuilder(name, **kwargs)
67 result.setPrivateTools(geometryBuilder)