ATLAS Offline Software
Functions
python.TrkTrackSummaryToolConfig Namespace Reference

Functions

def InDetTrackSummaryToolCfg (flags, name='InDetTrackSummaryTool', **kwargs)
 
def InDetTrackSummaryToolNoHoleSearchCfg (flags, name='InDetTrackSummaryToolNoHoleSearch', **kwargs)
 
def InDetTrigTrackSummaryToolCfg (flags, name="InDetTrigTrackSummaryTool", **kwargs)
 
def InDetTrigFastTrackSummaryToolCfg (flags, name="InDetTrigFastTrackSummaryTool", **kwargs)
 
def ITkTrackSummaryToolCfg (flags, name='ITkTrackSummaryTool', **kwargs)
 
def ITkTrackSummaryToolNoHoleSearchCfg (flags, name='ITkTrackSummaryToolNoHoleSearch', **kwargs)
 
def GSFTrackSummaryToolCfg (flags, name="GSFTrackSummaryTool", **kwargs)
 
def MuonTrackSummaryToolCfg (flags, name="MuonTrackSummaryTool", **kwargs)
 
def MuonCombinedTrackSummaryToolCfg (flags, name="CombinedMuonTrackSummary", **kwargs)
 

Function Documentation

◆ GSFTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.GSFTrackSummaryToolCfg (   flags,
  name = "GSFTrackSummaryTool",
**  kwargs 
)
The Track Summary for the GSF refitted Tracks/TrackParticles

Definition at line 121 of file TrkTrackSummaryToolConfig.py.

122  flags, name="GSFTrackSummaryTool", **kwargs):
123  """ The Track Summary for the GSF refitted Tracks/TrackParticles"""
124 
125  acc = ComponentAccumulator()
126 
127  if "InDetSummaryHelperTool" not in kwargs:
128  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
129  InDetTrackSummaryHelperToolCfg)
130  kwargs["InDetSummaryHelperTool"] = acc.popToolsAndMerge(
132  flags,
133  name="GSFBuildTrackSummaryHelperTool",
134  HoleSearch=None))
135 
136  kwargs.setdefault("doHolesInDet", False)
137 
138  # Particle creator needs a public one
139  acc.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
140  return acc
141 
142 @AccumulatorCache

◆ InDetTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg (   flags,
  name = 'InDetTrackSummaryTool',
**  kwargs 
)

Definition at line 22 of file TrkTrackSummaryToolConfig.py.

22 def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs):
23  if flags.Detector.GeometryITk:
24  name = name.replace("InDet", "ITk")
25  return ITkTrackSummaryToolCfg(flags, name, **kwargs)
26 
27  acc = ComponentAccumulator()
28 
29  kwargs.setdefault("doHolesInDet", True)
30 
31  if 'InDetSummaryHelperTool' not in kwargs:
32  if kwargs["doHolesInDet"]:
33  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
34  InDetTrackSummaryHelperToolCfg)
35  InDetSummaryHelperTool = acc.popToolsAndMerge(
37  else:
38  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
39  InDetSummaryHelperNoHoleSearchCfg)
40  InDetSummaryHelperTool = acc.popToolsAndMerge(
42  kwargs.setdefault("InDetSummaryHelperTool", InDetSummaryHelperTool)
43 
44  acc.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
45  return acc
46 

◆ InDetTrackSummaryToolNoHoleSearchCfg()

def python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolNoHoleSearchCfg (   flags,
  name = 'InDetTrackSummaryToolNoHoleSearch',
**  kwargs 
)

Definition at line 47 of file TrkTrackSummaryToolConfig.py.

48  flags, name='InDetTrackSummaryToolNoHoleSearch', **kwargs):
49  kwargs.setdefault('doHolesInDet', False)
50  return InDetTrackSummaryToolCfg(flags, name, **kwargs)
51 
52 

◆ InDetTrigFastTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.InDetTrigFastTrackSummaryToolCfg (   flags,
  name = "InDetTrigFastTrackSummaryTool",
**  kwargs 
)
faster instance without hole search and TRT 

Definition at line 71 of file TrkTrackSummaryToolConfig.py.

72  flags, name="InDetTrigFastTrackSummaryTool", **kwargs):
73  """
74  faster instance without hole search and TRT
75  """
76 
77  acc = ComponentAccumulator()
78 
79  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
80  TrigTrackSummaryHelperToolSiOnlyCfg)
81 
82  kwargs.setdefault("doHolesInDet", False)
83 
84  acc.setPrivateTools(acc.popToolsAndMerge(
86  flags, name,
87  # Prevents summary helper tool to be incorrectly set to something
88  # else through kwargs
89  InDetSummaryHelperTool = acc.popToolsAndMerge(
91  **kwargs)))
92  return acc
93 

◆ InDetTrigTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.InDetTrigTrackSummaryToolCfg (   flags,
  name = "InDetTrigTrackSummaryTool",
**  kwargs 
)
instance with hole search

Definition at line 53 of file TrkTrackSummaryToolConfig.py.

54  flags,name="InDetTrigTrackSummaryTool",**kwargs):
55  """
56  instance with hole search
57  """
58  acc = ComponentAccumulator()
59 
60  kwargs.setdefault("doHolesInDet", True)
61 
62  if 'InDetSummaryHelperTool' not in kwargs:
63  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
64  TrigTrackSummaryHelperToolCfg)
65  kwargs.setdefault("InDetSummaryHelperTool", acc.popToolsAndMerge(
67 
68  acc.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
69  return acc
70 

◆ ITkTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolCfg (   flags,
  name = 'ITkTrackSummaryTool',
**  kwargs 
)

Definition at line 94 of file TrkTrackSummaryToolConfig.py.

94 def ITkTrackSummaryToolCfg(flags, name='ITkTrackSummaryTool', **kwargs):
95  acc = ComponentAccumulator()
96 
97  kwargs.setdefault("doHolesInDet", not flags.Tracking.doITkFastTracking)
98 
99  if 'InDetSummaryHelperTool' not in kwargs:
100  if kwargs["doHolesInDet"]:
101  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
102  ITkTrackSummaryHelperToolCfg)
103  ITkSummaryHelperTool = acc.popToolsAndMerge(
105  else:
106  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
107  ITkSummaryHelperNoHoleSearchCfg)
108  ITkSummaryHelperTool = acc.popToolsAndMerge(
110  kwargs.setdefault("InDetSummaryHelperTool", ITkSummaryHelperTool)
111 
112  acc.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
113  return acc
114 

◆ ITkTrackSummaryToolNoHoleSearchCfg()

def python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolNoHoleSearchCfg (   flags,
  name = 'ITkTrackSummaryToolNoHoleSearch',
**  kwargs 
)

Definition at line 115 of file TrkTrackSummaryToolConfig.py.

116  flags, name='ITkTrackSummaryToolNoHoleSearch', **kwargs):
117  kwargs.setdefault('doHolesInDet', False)
118  return ITkTrackSummaryToolCfg(flags, name, **kwargs)
119 
120 

◆ MuonCombinedTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.MuonCombinedTrackSummaryToolCfg (   flags,
  name = "CombinedMuonTrackSummary",
**  kwargs 
)

Definition at line 153 of file TrkTrackSummaryToolConfig.py.

154  flags, name="CombinedMuonTrackSummary", **kwargs):
155 
156  result = ComponentAccumulator()
157 
158  if "InDetSummaryHelperTool" not in kwargs:
159  from InDetConfig.InDetTrackSummaryHelperToolConfig import (
160  CombinedMuonIDSummaryHelperToolCfg)
161  kwargs.setdefault("InDetSummaryHelperTool", result.popToolsAndMerge(
163 
164  if "MuonSummaryHelperTool" not in kwargs:
165  from MuonConfig.MuonRecToolsConfig import MuonTrackSummaryHelperToolCfg
166  kwargs.setdefault("MuonSummaryHelperTool", result.popToolsAndMerge(
168 
169  kwargs.setdefault("doHolesInDet", True)
170  kwargs.setdefault("doHolesMuon", False)
171  kwargs.setdefault("AddDetailedMuonSummary", True)
172  kwargs.setdefault("PixelExists", True)
173 
174  result.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
175  return result

◆ MuonTrackSummaryToolCfg()

def python.TrkTrackSummaryToolConfig.MuonTrackSummaryToolCfg (   flags,
  name = "MuonTrackSummaryTool",
**  kwargs 
)

Definition at line 143 of file TrkTrackSummaryToolConfig.py.

143 def MuonTrackSummaryToolCfg(flags, name="MuonTrackSummaryTool", **kwargs):
144  result = ComponentAccumulator()
145  from MuonConfig.MuonRecToolsConfig import MuonTrackSummaryHelperToolCfg
146  kwargs.setdefault("MuonSummaryHelperTool", result.popToolsAndMerge(
148  kwargs.setdefault("AddDetailedMuonSummary", True)
149  result.setPrivateTools(CompFactory.Trk.TrackSummaryTool(name, **kwargs))
150  return result
151 
152 @AccumulatorCache
python.TrkTrackSummaryToolConfig.InDetTrigTrackSummaryToolCfg
def InDetTrigTrackSummaryToolCfg(flags, name="InDetTrigTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:53
python.MuonRecToolsConfig.MuonTrackSummaryHelperToolCfg
def MuonTrackSummaryHelperToolCfg(flags, name="MuonTrackSummaryHelperTool", **kwargs)
Definition: MuonRecToolsConfig.py:123
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetTrackSummaryHelperToolConfig.TrigTrackSummaryHelperToolSiOnlyCfg
def TrigTrackSummaryHelperToolSiOnlyCfg(flags, name="InDetTrigSummaryHelperSiOnly", **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:76
python.TrkTrackSummaryToolConfig.InDetTrigFastTrackSummaryToolCfg
def InDetTrigFastTrackSummaryToolCfg(flags, name="InDetTrigFastTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:71
python.TrkTrackSummaryToolConfig.MuonTrackSummaryToolCfg
def MuonTrackSummaryToolCfg(flags, name="MuonTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:143
python.InDetTrackSummaryHelperToolConfig.TrigTrackSummaryHelperToolCfg
def TrigTrackSummaryHelperToolCfg(flags, name="InDetTrigSummaryHelper", **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:38
python.TrkTrackSummaryToolConfig.MuonCombinedTrackSummaryToolCfg
def MuonCombinedTrackSummaryToolCfg(flags, name="CombinedMuonTrackSummary", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:153
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.InDetTrackSummaryHelperToolConfig.InDetSummaryHelperNoHoleSearchCfg
def InDetSummaryHelperNoHoleSearchCfg(flags, name='InDetSummaryHelperNoHoleSearch', **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:32
python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolCfg
def ITkTrackSummaryToolCfg(flags, name='ITkTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:94
python.InDetTrackSummaryHelperToolConfig.ITkSummaryHelperNoHoleSearchCfg
def ITkSummaryHelperNoHoleSearchCfg(flags, name='ITkSummaryHelperNoHoleSearch', **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:103
python.InDetTrackSummaryHelperToolConfig.CombinedMuonIDSummaryHelperToolCfg
def CombinedMuonIDSummaryHelperToolCfg(flags, name='CombinedMuonIDSummaryHelper', **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:109
python.TrkTrackSummaryToolConfig.GSFTrackSummaryToolCfg
def GSFTrackSummaryToolCfg(flags, name="GSFTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:121
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolNoHoleSearchCfg
def InDetTrackSummaryToolNoHoleSearchCfg(flags, name='InDetTrackSummaryToolNoHoleSearch', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:47
python.InDetTrackSummaryHelperToolConfig.ITkTrackSummaryHelperToolCfg
def ITkTrackSummaryHelperToolCfg(flags, name='ITkSummaryHelper', **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:84
python.InDetTrackSummaryHelperToolConfig.InDetTrackSummaryHelperToolCfg
def InDetTrackSummaryHelperToolCfg(flags, name='InDetSummaryHelper', **kwargs)
Definition: InDetTrackSummaryHelperToolConfig.py:7
python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolNoHoleSearchCfg
def ITkTrackSummaryToolNoHoleSearchCfg(flags, name='ITkTrackSummaryToolNoHoleSearch', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:115