12 if "FitterTool" not in kwargs:
13 from TrkConfig.CommonTrackFitterConfig
import InDetTrackFitterCfg
14 kwargs.setdefault(
"FitterTool", result.popToolsAndMerge(
17 if "FitterToolTRT" not in kwargs:
18 from TrkConfig.CommonTrackFitterConfig
import InDetTrackFitterTRTCfg
19 kwargs.setdefault(
"FitterToolTRT", result.popToolsAndMerge(
22 if "SummaryTool" not in kwargs:
23 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
24 kwargs.setdefault(
"SummaryTool", result.popToolsAndMerge(
27 if "AssociationTool" not in kwargs:
28 from InDetConfig.InDetAssociationToolsConfig
import (
29 InDetPRDtoTrackMapToolGangedPixelsCfg)
30 kwargs.setdefault(
"AssociationTool", result.popToolsAndMerge(
33 kwargs.setdefault(
"TrackName",
"CombinedInDetTracks")
34 kwargs.setdefault(
"NewTrackName",
"RefittedTracks")
35 kwargs.setdefault(
"useParticleHypothesisFromTrack",
True)
36 kwargs.setdefault(
"matEffects", flags.Tracking.materialInteractionsType \
37 if flags.Tracking.materialInteractions
else 0)
39 result.addEventAlgo(CompFactory.Trk.ReFitTrack(name, **kwargs))