3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 if "TrackExtensionTool" not in kwargs:
10 from InDetConfig.TRT_TrackExtensionToolConfig
import TRT_TrackExtensionToolCfg
11 kwargs.setdefault(
"TrackExtensionTool", acc.popToolsAndMerge(
14 acc.addEventAlgo(CompFactory.InDet.TRT_TrackExtensionAlg(
15 name + flags.Tracking.ActiveConfig.extension, **kwargs))
21 if "TrackExtensionTool" not in kwargs:
22 from InDetConfig.TRT_TrackExtensionToolConfig
import TRT_TrackExtensionToolPhaseCfg
23 kwargs.setdefault(
"TrackExtensionTool", acc.popToolsAndMerge(
26 acc.addEventAlgo(CompFactory.InDet.TRT_TrackExtensionAlg(name, **kwargs))
32 if "TrackExtensionTool" not in kwargs:
33 from InDetConfig.TRT_TrackExtensionToolConfig
import Trig_TRT_TrackExtensionToolCfg
34 kwargs.setdefault(
"TrackExtensionTool", acc.popToolsAndMerge(
37 kwargs[
"InputTracksLocation"] = inputTracks
38 kwargs.setdefault(
"ExtendedTracksLocation",
"ExtendedTrackMap")
40 acc.addEventAlgo(CompFactory.InDet.TRT_TrackExtensionAlg(f
"{name}_{flags.Tracking.ActiveConfig.input_name}", **kwargs))