11 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
14 if flags.Tracking.ActiveConfig.usePixel:
15 from InDetConfig.SiCombinatorialTrackFinderToolConfig
import (
16 SiDetElementBoundaryLinksCondAlg_xk_Pixel_Cfg)
19 if flags.Tracking.ActiveConfig.useSCT:
20 from InDetConfig.SiCombinatorialTrackFinderToolConfig
import (
21 SiDetElementBoundaryLinksCondAlg_xk_SCT_Cfg)
24 if "RefitterTool" not in kwargs:
25 from TrkConfig.CommonTrackFitterConfig
import InDetTrackFitterBTCfg
26 kwargs.setdefault(
"RefitterTool", acc.popToolsAndMerge(
29 if "TrackExtensionTool" not in kwargs:
30 from InDetConfig.TRT_TrackExtensionToolConfig
import (
31 TRT_TrackExtensionToolCfg)
32 kwargs.setdefault(
"TrackExtensionTool", acc.popToolsAndMerge(
35 if "TrackSummaryTool" not in kwargs:
36 from TrkConfig.TrkTrackSummaryToolConfig
import (
37 InDetTrackSummaryToolNoHoleSearchCfg)
38 kwargs.setdefault(
"TrackSummaryTool", acc.popToolsAndMerge(
41 if "Extrapolator" not in kwargs:
42 from TrkConfig.AtlasExtrapolatorConfig
import InDetExtrapolatorCfg
43 kwargs.setdefault(
"Extrapolator", acc.popToolsAndMerge(
46 if "TrackTool" not in kwargs:
47 from InDetConfig.TRT_SeededTrackFinderToolConfig
import (
48 TRT_SeededTrackFinder_ATLCfg)
49 kwargs.setdefault(
"TrackTool", acc.popToolsAndMerge(
51 flags, InputCollections=InputCollections)))
53 kwargs.setdefault(
"PRDtoTrackMap",
54 'InDetSegmentPRDtoTrackMap' if InputCollections
is not None else "")
55 kwargs.setdefault(
"MinTRTonSegment", flags.Tracking.BackTracking.minTRT)
56 kwargs.setdefault(
"MinTRTonly", flags.Tracking.BackTracking.minTRT)
57 kwargs.setdefault(
"TrtExtension",
True)
58 kwargs.setdefault(
"SiExtensionCuts", flags.Tracking.BackTracking.SiExtensionCuts)
59 kwargs.setdefault(
"minPt", flags.Tracking.BackTracking.minPt)
60 kwargs.setdefault(
"maxRPhiImp", flags.Tracking.BackTracking.maxSecondaryImpact)
61 kwargs.setdefault(
"maxZImp", flags.Tracking.ActiveConfig.maxZImpact)
62 kwargs.setdefault(
"maxEta", flags.Tracking.ActiveConfig.maxEta)
63 kwargs.setdefault(
"RejectShortExtension",
64 flags.Tracking.BackTracking.rejectShortExtensions)
65 kwargs.setdefault(
"OutputSegments",
False)
67 if flags.Tracking.BackTracking.doRoISeeded:
68 from RegionSelector.RegSelToolConfig
import regSelTool_SCT_Cfg
70 acc.addPublicTool(RegSelTool_SCT)
72 kwargs.setdefault(
"RegSelTool", RegSelTool_SCT)
73 kwargs.setdefault(
"CaloSeededRoI",
True)
74 kwargs.setdefault(
"EMROIPhiRZContainer", (
75 "InDetCaloClusterROIPhiRZ%.0fGeVBackTracking" %
76 (flags.Tracking.BackTracking.minRoIClusterEt/Units.GeV)))
78 acc.addEventAlgo(CompFactory.InDet.TRT_SeededTrackFinder(name, **kwargs))