3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 kwargs.setdefault(
"downWeightPrdMultiplicity",
True)
10 theAlg = CompFactory.MuonR4.PhiHoughTransformAlg(name, **kwargs)
11 result.addEventAlgo(theAlg, primary=
True)
17 theAlg = CompFactory.MuonR4.CombinatorialNSWSeedFinderAlg(name, **kwargs)
18 result.addEventAlgo(theAlg, primary=
True)
24 kwargs.setdefault(
"downWeightPrdMultiplicity",
True)
25 theAlg = CompFactory.MuonR4.EtaHoughTransformAlg(name, **kwargs)
26 result.addEventAlgo(theAlg, primary=
True)
31 from MuonSpacePointCalibrator.CalibrationConfig
import MuonSpacePointCalibratorCfg
33 kwargs.setdefault(
"ResoSeedHitAssoc", 5. )
34 kwargs.setdefault(
"RecoveryPull", 3.)
35 kwargs.setdefault(
"fitSegmentT0",
False)
36 kwargs.setdefault(
"recalibInFit",
True)
37 kwargs.setdefault(
"useFastFitter",
False)
38 kwargs.setdefault(
"doBeamspotConstraint",
True)
40 theAlg = CompFactory.MuonR4.SegmentFittingAlg(name, **kwargs)
41 result.addEventAlgo(theAlg, primary=
True)
46 from MuonTrackFindingAlgs.TrackFindingConfig
import SegmentSelectorCfg, MSTrackFitterCfg
47 kwargs.setdefault(
"SegmentSelectionTool", result.popToolsAndMerge(
SegmentSelectorCfg(flags)))
48 kwargs.setdefault(
"FittingTool", result.popToolsAndMerge(
MSTrackFitterCfg(flags)))
49 from ActsConfig.ActsGeometryConfig
import ActsExtrapolationToolCfg
51 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometryToolCfg
53 kwargs.setdefault(
"SegmentContainer",
"MuonSegmentsFromR4")
54 theAlg = CompFactory.MuonR4.SegmentActsRefitAlg(name, **kwargs)
55 result.addEventAlgo(theAlg, primary =
True)
60 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
62 sgementContainers = []
63 if flags.Detector.GeometrysTGC
or flags.Detector.GeometryMM:
64 sgementContainers+=[
"R4MuonSegmentsNsw"]
66 EtaHoughMaxContainer =
"MuonHoughNswMaxima",
67 SpacePointContainer =
"NswSpacePoints"))
69 CombinatorialPhiWriteKey =
"MuonHoughNswSegmentSeeds",
70 CombinatorialReadKey =
"MuonHoughNswMaxima"))
72 OutSegmentContainer=sgementContainers[-1],
73 ReadKey=
"MuonHoughNswSegmentSeeds",
76 doBeamspotConstraint=
False,
77 useHessianResidual=
True,
78 tryPatternPars =
True ))
79 if flags.Detector.GeometryMDT
or flags.Detector.GeometryRPC
or flags.Detector.GeometryTGC:
82 sgementContainers+=[
"R4MuonSegments"]
86 from MuonSegmentCnv.MuonSegmentCnvConfig
import xAODSegmentCnvAlgCfg
89 from MuonTruthAlgsR4.MuonTruthAlgsConfig
import RecoSegmentTruthAssocCfg
91 name=
"MuonSegmentsFromR4TruthMatching",
92 SegmentKey=
"MuonSegmentsFromR4"))