4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12 if "TrackToVertexTool" not in kwargs:
13 from TrackToVertex.TrackToVertexConfig
import InDetTrackToVertexCfg
14 kwargs.setdefault(
"TrackToVertexTool", acc.popToolsAndMerge(
18 kwargs.setdefault(
"InputTracksCollection",
"ExtendedTracks")
19 kwargs.setdefault(
"BeamSpotKey",
"BeamSpotData")
22 kwargs.setdefault(
"TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
24 acc.setPrivateTools(CompFactory.InDet.LeadTracksRoISeedTool(
25 "InDetLeadTracksRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
33 kwargs.setdefault(
"BeamSpotKey",
"BeamSpotData")
36 kwargs.setdefault(
"TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
38 acc.setPrivateTools(CompFactory.InDet.RandomRoISeedTool(
39 "InDetRandomRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
47 kwargs.setdefault(
"InputFileName", flags.Tracking.ActiveConfig.inputLowPtRoIfile)
50 kwargs.setdefault(
"TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
52 acc.setPrivateTools(CompFactory.InDet.FlatRoISeedTool(
53 "InDetFlatRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
61 kwargs.setdefault(
"InputTruthEventsCollection",
"TruthEvents")
64 kwargs.setdefault(
"TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
66 acc.setPrivateTools(CompFactory.InDet.TruthHSRoISeedTool(
67 "InDetTruthHSRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))