114 if "TrackTool" not in kwargs:
115 from InDetConfig.SiTrackMakerConfig
import ITkSiTrackMaker_xkCfg
116 kwargs.setdefault(
"TrackTool", acc.popToolsAndMerge(
119 if "PropagatorTool" not in kwargs:
120 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import ITkPropagatorCfg
122 acc.addPublicTool(ITkPropagator)
123 kwargs.setdefault(
"PropagatorTool", ITkPropagator)
125 if "TrackSummaryTool" not in kwargs:
126 from TrkConfig.TrkTrackSummaryToolConfig
import (
127 ITkTrackSummaryToolNoHoleSearchCfg)
128 kwargs.setdefault(
"TrackSummaryTool", acc.popToolsAndMerge(
131 if "SeedsTool" not in kwargs:
132 ITkSiSpacePointsSeedMaker =
None
134 if (flags.Tracking.ActiveConfig.extension !=
"Conversion" and
135 flags.Tracking.ActiveConfig.doActsToAthenaSeed):
136 from ActsConfig.ActsSeedingConfig
import (
137 ActsSiSpacePointsSeedMakerToolCfg)
138 ITkSiSpacePointsSeedMaker = acc.popToolsAndMerge(
141 from InDetConfig.SiSpacePointsSeedToolConfig
import (
142 ITkSiSpacePointsSeedMakerCfg)
143 ITkSiSpacePointsSeedMaker = acc.popToolsAndMerge(
146 kwargs.setdefault(
"SeedsTool", ITkSiSpacePointsSeedMaker)
148 if flags.Tracking.ActiveConfig.usePrdAssociationTool:
150 kwargs.setdefault(
"PRDtoTrackMap", (
151 'ITkPRDtoTrackMap' + flags.Tracking.ActiveConfig.extension))
153 kwargs.setdefault(
"useZvertexTool",
False)
154 kwargs.setdefault(
"useZBoundFinding",
155 flags.Tracking.ActiveConfig.doZBoundary)
156 kwargs.setdefault(
"ITKGeometry",
True)
157 kwargs.setdefault(
"SpacePointsSCTName",
"ITkStripSpacePoints"
158 if flags.Tracking.ActiveConfig.useITkStripSeeding
else "")
159 kwargs.setdefault(
"SpacePointsPixelName",
"ITkPixelSpacePoints"
160 if flags.Tracking.ActiveConfig.useITkPixelSeeding
else "")
161 if flags.Common.ProductionStep
in [ProductionStep.PileUpPretracking, ProductionStep.MinbiasPreprocessing]:
162 kwargs.setdefault(
"EventInfoKey", flags.Overlay.BkgPrefix +
"EventInfo")
164 if flags.Tracking.doITkFastTracking:
165 kwargs.setdefault(
"doFastTracking",
True)
166 kwargs.setdefault(
"writeHolesFromPattern",
True)
168 if 'InDetEtaDependentCutsSvc' not in kwargs:
169 from InDetConfig.InDetEtaDependentCutsConfig
import (
170 ITkEtaDependentCutsSvcCfg)
172 kwargs.setdefault(
"InDetEtaDependentCutsSvc", acc.getService(
173 "ITkEtaDependentCutsSvc"+flags.Tracking.ActiveConfig.extension))
175 acc.addEventAlgo(CompFactory.InDet.SiSPSeededTrackFinder(
176 name+flags.Tracking.ActiveConfig.extension, **kwargs))