32 InputCombinedTracks=None,
33 OutputCombinedTracks="CombinedITkTracks",
36 if hasattr(flags.TrackOverlay,
"ActiveConfig"):
37 doTrackOverlay = getattr(flags.TrackOverlay.ActiveConfig,
"doTrackOverlay",
None)
39 doTrackOverlay = flags.Overlay.doTrackOverlay
40 prefix = flags.Overlay.SigPrefix
if doTrackOverlay
else ''
42 kwargs.setdefault(
"TracksLocation", InputCombinedTracks)
43 kwargs.setdefault(
"OutputTracksLocation", OutputCombinedTracks)
45 if "AssociationTool" not in kwargs:
46 from InDetConfig.InDetAssociationToolsConfig
import ITkPRDtoTrackMapToolGangedPixelsCfg
49 kwargs.setdefault(
"AssociationMapName",
"ITkPRDToTrackMapCombinedITkTracks")
50 kwargs.setdefault(
"DoTrackOverlay",doTrackOverlay)
52 result.addEventAlgo(CompFactory.Trk.TrackCollectionMerger(prefix+name, **kwargs))