3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
10 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
11 spCont+=[
"MuonSpacePoints"]
12 if flags.Detector.GeometryMM
or flags.Detector.GeometrysTGC:
13 spCont+=[
"NswSpacePoints"]
14 kwargs.setdefault(
"SpacePointKeys", spCont)
15 result.addEventAlgo(CompFactory.MuonR4.MlHitDumperAlg(name, **kwargs))
20 from MuonSpacePointFormation.SpacePointFormationConfig
import MuonSpacePointFormationCfg
22 kwargs.setdefault(
"isMC", flags.Input.isMC)
23 from RngComps.RngCompsConfig
import AthRNGSvcCfg
24 kwargs.setdefault(
"RndmSvc", result.getPrimaryAndMerge(
AthRNGSvcCfg(flags)))
26 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
27 spCont+=[
"MuonSpacePoints"]
28 if flags.Detector.GeometryMM
or flags.Detector.GeometrysTGC:
29 spCont+=[
"NswSpacePoints"]
31 kwargs.setdefault(
"SpacePointKeys", spCont)
34 the_alg = CompFactory.MuonR4.BucketDumperAlg(name=name, **kwargs)
35 result.addEventAlgo(the_alg, primary =
True)
40 from MuonSpacePointFormation.SpacePointFormationConfig
import MuonSpacePointFormationCfg
44 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
45 spCont+=[
"MuonSpacePoints"]
46 if flags.Detector.GeometryMM
or flags.Detector.GeometrysTGC:
47 spCont+=[
"NswSpacePoints"]
50 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
51 segCont =
"MuonSegmentsFromR4"
53 kwargs.setdefault(
"SpacePointKeys", spCont)
54 kwargs.setdefault(
"SegmentKeys", segCont)
56 the_alg = CompFactory.MuonR4.SegmentDumperAlg(name=name, **kwargs)
57 result.addEventAlgo(the_alg, primary =
True)