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)