ATLAS Offline Software
Functions
python.TRT_SeededTrackFinderConfig Namespace Reference

Functions

def TRT_SeededTrackFinderCfg (flags, name='InDetTRT_SeededTrackFinder', InputCollections=None, **kwargs)
 

Function Documentation

◆ TRT_SeededTrackFinderCfg()

def python.TRT_SeededTrackFinderConfig.TRT_SeededTrackFinderCfg (   flags,
  name = 'InDetTRT_SeededTrackFinder',
  InputCollections = None,
**  kwargs 
)

Definition at line 6 of file TRT_SeededTrackFinderConfig.py.

6 def TRT_SeededTrackFinderCfg(flags, name='InDetTRT_SeededTrackFinder',
7  InputCollections=None,
8  **kwargs):
9 
10  # TRT seeded back tracking algorithm
11  from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
12  acc = BeamSpotCondAlgCfg(flags)
13 
14  if flags.Tracking.ActiveConfig.usePixel:
15  from InDetConfig.SiCombinatorialTrackFinderToolConfig import (
16  SiDetElementBoundaryLinksCondAlg_xk_Pixel_Cfg)
18 
19  if flags.Tracking.ActiveConfig.useSCT:
20  from InDetConfig.SiCombinatorialTrackFinderToolConfig import (
21  SiDetElementBoundaryLinksCondAlg_xk_SCT_Cfg)
23 
24  if "RefitterTool" not in kwargs:
25  from TrkConfig.CommonTrackFitterConfig import InDetTrackFitterBTCfg
26  kwargs.setdefault("RefitterTool", acc.popToolsAndMerge(
27  InDetTrackFitterBTCfg(flags)))
28 
29  if "TrackExtensionTool" not in kwargs:
30  from InDetConfig.TRT_TrackExtensionToolConfig import (
31  TRT_TrackExtensionToolCfg)
32  kwargs.setdefault("TrackExtensionTool", acc.popToolsAndMerge(
34 
35  if "TrackSummaryTool" not in kwargs:
36  from TrkConfig.TrkTrackSummaryToolConfig import (
37  InDetTrackSummaryToolNoHoleSearchCfg)
38  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
40 
41  if "Extrapolator" not in kwargs:
42  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
43  kwargs.setdefault("Extrapolator", acc.popToolsAndMerge(
44  InDetExtrapolatorCfg(flags)))
45 
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)))
52 
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)
66 
67  if flags.Tracking.BackTracking.doRoISeeded:
68  from RegionSelector.RegSelToolConfig import regSelTool_SCT_Cfg
69  RegSelTool_SCT = acc.popToolsAndMerge(regSelTool_SCT_Cfg(flags))
70  acc.addPublicTool(RegSelTool_SCT)
71 
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)))
77 
78  acc.addEventAlgo(CompFactory.InDet.TRT_SeededTrackFinder(name, **kwargs))
79  return acc
RegSelToolConfig.regSelTool_SCT_Cfg
def regSelTool_SCT_Cfg(flags)
Definition: RegSelToolConfig.py:106
python.BeamSpotConditionsConfig.BeamSpotCondAlgCfg
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
Definition: BeamSpotConditionsConfig.py:7
python.TRT_SeededTrackFinderToolConfig.TRT_SeededTrackFinder_ATLCfg
def TRT_SeededTrackFinder_ATLCfg(flags, name='InDetTRT_SeededTrackMaker', InputCollections=[], **kwargs)
Definition: TRT_SeededTrackFinderToolConfig.py:7
python.SiCombinatorialTrackFinderToolConfig.SiDetElementBoundaryLinksCondAlg_xk_Pixel_Cfg
def SiDetElementBoundaryLinksCondAlg_xk_Pixel_Cfg(flags, name="InDetSiDetElementBoundaryLinksPixelCondAlg", **kwargs)
Definition: SiCombinatorialTrackFinderToolConfig.py:8
python.SiCombinatorialTrackFinderToolConfig.SiDetElementBoundaryLinksCondAlg_xk_SCT_Cfg
def SiDetElementBoundaryLinksCondAlg_xk_SCT_Cfg(flags, name="InDetSiDetElementBoundaryLinksSCTCondAlg", **kwargs)
Definition: SiCombinatorialTrackFinderToolConfig.py:22
python.CommonTrackFitterConfig.InDetTrackFitterBTCfg
def InDetTrackFitterBTCfg(flags, name='InDetTrackFitterBT', **kwargs)
Definition: CommonTrackFitterConfig.py:112
python.TRT_SeededTrackFinderConfig.TRT_SeededTrackFinderCfg
def TRT_SeededTrackFinderCfg(flags, name='InDetTRT_SeededTrackFinder', InputCollections=None, **kwargs)
Definition: TRT_SeededTrackFinderConfig.py:6
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolCfg
def TRT_TrackExtensionToolCfg(flags, name='TRT_TrackExtensionTool', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:142
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolNoHoleSearchCfg
def InDetTrackSummaryToolNoHoleSearchCfg(flags, name='InDetTrackSummaryToolNoHoleSearch', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:47
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315