7 result = ComponentAccumulator()
8 from MuonSpacePointFormation.SpacePointFormationConfig
import MuonSpacePointFormationCfg
9 result.merge(MuonSpacePointFormationCfg(flags))
11 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
12 spCont+=[
"MuonSpacePoints"]
13 if flags.Detector.GeometryMM
or flags.Detector.GeometrysTGC:
14 spCont+=[
"NswSpacePoints"]
16 kwargs.setdefault(
"SpacePointKeys", spCont)
17 the_alg = CompFactory.MuonR4.SpacePointCsvDumperAlg(name=name, **kwargs)
18 result.addEventAlgo(the_alg, primary =
True)
23 result = ComponentAccumulator()
24 the_alg = CompFactory.MuonR4.TruthSegmentCsvDumperAlg(name = name, **kwargs)
25 result.addEventAlgo(the_alg, primary =
True)