3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory
import CompFactory
7 result = ComponentAccumulator()
8 if not flags.Detector.GeometrysTGC:
10 the_alg = CompFactory.MuonR4.sTgcMeasViewAlg(name, **kwargs)
11 result.addEventAlgo(the_alg, primary =
True)
15 result = ComponentAccumulator()
16 if not flags.Detector.GeometryRPC:
18 the_alg = CompFactory.MuonR4.RpcMeasViewAlg(name, **kwargs)
19 result.addEventAlgo(the_alg, primary =
True)
23 result = ComponentAccumulator()
24 if not flags.Detector.GeometryMDT:
26 the_alg = CompFactory.MuonR4.MdtMeasViewAlg(name, **kwargs)
27 result.addEventAlgo(the_alg, primary =
True)
31 result = ComponentAccumulator()
32 the_alg = CompFactory.MuonR4.SegmentViewAlg(name, **kwargs)
33 result.addEventAlgo(the_alg, primary =
True)
38 result = ComponentAccumulator()
RpcMeasViewAlgCfg(flags, name="RpcMeasViewAlg", **kwargs)
MdtMeasViewAlgCfg(flags, name="MdtMeasViewAlg", **kwargs)
sTgcMeasViewAlgCfg(flags, name="sTgcMeasViewAlg", **kwargs)
SegmentViewAlgCfg(flags, name="SegmentViewAlg", **kwargs)