7 flags, name ='InDetTRT_Standalone_SegmentToTrackTool', **kwargs):
8 from MagFieldServices.MagFieldServicesConfig
import (
9 AtlasFieldCacheCondAlgCfg)
12 if "AssociationTool" not in kwargs:
13 if flags.Tracking.ActiveConfig.usePrdAssociationTool:
14 from InDetConfig.InDetAssociationToolsConfig
import (
15 InDetPRDtoTrackMapToolGangedPixelsCfg)
16 asso_tool = acc.popToolsAndMerge(
20 kwargs.setdefault(
"AssociationTool", asso_tool)
22 if "RefitterTool" not in kwargs:
23 from TrkConfig.CommonTrackFitterConfig
import InDetTrackFitterTRTCfg
24 kwargs.setdefault(
"RefitterTool", acc.popToolsAndMerge(
27 if "TrackSummaryTool" not in kwargs:
28 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
29 kwargs.setdefault(
"TrackSummaryTool", acc.popToolsAndMerge(
32 if "Extrapolator" not in kwargs:
33 from TrkConfig.AtlasExtrapolatorConfig
import InDetExtrapolatorCfg
34 kwargs.setdefault(
"Extrapolator", acc.popToolsAndMerge(
37 if "ScoringTool" not in kwargs:
38 from InDetConfig.InDetTrackScoringToolsConfig
import (
39 InDetTRT_StandaloneScoringToolCfg)
40 kwargs.setdefault(
"ScoringTool", acc.popToolsAndMerge(
43 kwargs.setdefault(
"FinalRefit",
True)
44 kwargs.setdefault(
"MaxSharedHitsFraction", 0.7)
45 kwargs.setdefault(
"SuppressHoleSearch",
True)
47 acc.setPrivateTools(CompFactory.InDet.TRT_SegmentToTrackTool(name, **kwargs))