8 Configure the AddTrackSummaryAlg to add TrackSummary to tracks read from file
10 This is needed for track overlay where pileup tracks don't have TrackSummary
11 objects (not persisted with Track EDM).
13 result = ComponentAccumulator()
16 if "TrackSummaryTool" not in kwargs:
17 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
18 kwargs.setdefault(
"TrackSummaryTool",
19 result.popToolsAndMerge(InDetTrackSummaryToolCfg(flags)))
22 result.addEventAlgo(CompFactory.Trk.AddTrackSummaryAlg(name, **kwargs))