3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 if not flags.Detector.GeometryMDT: kwargs.setdefault(
"MdtKey" ,
"")
9 if not flags.Detector.GeometryRPC: kwargs.setdefault(
"RpcKey" ,
"")
10 if not flags.Detector.GeometryTGC: kwargs.setdefault(
"TgcKey" ,
"")
11 if not flags.Detector.GeometryMM: kwargs.setdefault(
"MmKey" ,
"")
12 if not flags.Detector.GeometrysTGC: kwargs.setdefault(
"sTgcKey" ,
"")
14 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
16 the_alg = CompFactory.MuonR4.SpacePointMakerAlg(name, **kwargs)
17 result.addEventAlgo(the_alg, primary =
True)
22 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
26 if flags.Detector.GeometrysTGC
or flags.Detector.GeometryMM:
28 name=
"NswSpacePointMakerAlg",
29 MdtKey=
"", RpcKey =
"", TgcKey =
"",
30 WriteKey =
"NswSpacePoints"))