3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 if "ExtrapolationTool" not in kwargs:
10 from TrkConfig.AtlasExtrapolatorConfig
import InDetExtrapolatorCfg
11 kwargs.setdefault(
"ExtrapolationTool", acc.popToolsAndMerge(
14 if "TrackFitter" not in kwargs:
15 from TrkConfig.CommonTrackFitterConfig
import InDetTrackFitterCfg
16 kwargs.setdefault(
"TrackFitter", acc.popToolsAndMerge(
19 if "SummaryTool" not in kwargs:
20 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
21 kwargs.setdefault(
"SummaryTool", acc.popToolsAndMerge(
24 if (
"AssociationTool" not in kwargs
25 and "InputAssociationMapName" in kwargs
26 and kwargs[
"InputAssociationMapName"] !=
''):
27 from InDetConfig.InDetAssociationToolsConfig
import (
28 InDetPRDtoTrackMapToolGangedPixelsCfg)
29 kwargs.setdefault(
"AssociationTool", acc.popToolsAndMerge(
32 kwargs.setdefault(
"MinNHit", flags.Tracking.TRTStandalone.minTRT)
33 kwargs.setdefault(
"OutlierRemoval",
True)
34 kwargs.setdefault(
"MaterialEffects",
False)
36 acc.addEventAlgo(CompFactory.InDet.TRT_SegmentsToTrack(name, **kwargs))