ATLAS Offline Software
Functions
python.SiSPSeededTrackFinderConfig Namespace Reference

Functions

def SiSPSeededTrackFinderCfg (flags, name="InDetSiSpTrackFinder", **kwargs)
 
def TrigSiSPSeededTrackFinderCfg (flags, name="InDetTrigSiSpTrackFinder", **kwargs)
 
def ITkSiSPSeededTrackFinderCfg (flags, name="ITkSiSpTrackFinder", **kwargs)
 
def ITkSiSPSeededTrackFinderROIConvCfg (flags, name="ITkSiSpTrackFinderROIConv", **kwargs)
 
def SiSPSeededTrackFinderRoICfg (flags, name="InDetSiSpTrackFinderRoI", **kwargs)
 

Function Documentation

◆ ITkSiSPSeededTrackFinderCfg()

def python.SiSPSeededTrackFinderConfig.ITkSiSPSeededTrackFinderCfg (   flags,
  name = "ITkSiSpTrackFinder",
**  kwargs 
)

Definition at line 111 of file SiSPSeededTrackFinderConfig.py.

111 def ITkSiSPSeededTrackFinderCfg(flags, name="ITkSiSpTrackFinder", **kwargs):
112  acc = ComponentAccumulator()
113 
114  if "TrackTool" not in kwargs:
115  from InDetConfig.SiTrackMakerConfig import ITkSiTrackMaker_xkCfg
116  kwargs.setdefault("TrackTool", acc.popToolsAndMerge(
117  ITkSiTrackMaker_xkCfg(flags)))
118 
119  if "PropagatorTool" not in kwargs:
120  from TrkConfig.TrkExRungeKuttaPropagatorConfig import ITkPropagatorCfg
121  ITkPropagator = acc.popToolsAndMerge(ITkPropagatorCfg(flags))
122  acc.addPublicTool(ITkPropagator)
123  kwargs.setdefault("PropagatorTool", ITkPropagator)
124 
125  if "TrackSummaryTool" not in kwargs:
126  from TrkConfig.TrkTrackSummaryToolConfig import (
127  ITkTrackSummaryToolNoHoleSearchCfg)
128  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
130 
131  if "SeedsTool" not in kwargs:
132  ITkSiSpacePointsSeedMaker = None
133 
134  if (flags.Tracking.ActiveConfig.extension != "Conversion" and
135  flags.Tracking.ActiveConfig.doActsToAthenaSeed):
136  from ActsConfig.ActsSeedingConfig import (
137  ActsSiSpacePointsSeedMakerToolCfg)
138  ITkSiSpacePointsSeedMaker = acc.popToolsAndMerge(
140  else:
141  from InDetConfig.SiSpacePointsSeedToolConfig import (
142  ITkSiSpacePointsSeedMakerCfg)
143  ITkSiSpacePointsSeedMaker = acc.popToolsAndMerge(
145 
146  kwargs.setdefault("SeedsTool", ITkSiSpacePointsSeedMaker)
147 
148  if flags.Tracking.ActiveConfig.usePrdAssociationTool:
149  # not all classes have that property !!!
150  kwargs.setdefault("PRDtoTrackMap", (
151  'ITkPRDtoTrackMap' + flags.Tracking.ActiveConfig.extension))
152 
153  kwargs.setdefault("useZvertexTool", False)
154  kwargs.setdefault("useZBoundFinding",
155  flags.Tracking.ActiveConfig.doZBoundary)
156  kwargs.setdefault("ITKGeometry", True)
157  kwargs.setdefault("SpacePointsSCTName", "ITkStripSpacePoints"
158  if flags.Tracking.ActiveConfig.useITkStripSeeding else "")
159  kwargs.setdefault("SpacePointsPixelName", "ITkPixelSpacePoints"
160  if flags.Tracking.ActiveConfig.useITkPixelSeeding else "")
161  if flags.Common.ProductionStep in [ProductionStep.PileUpPretracking, ProductionStep.MinbiasPreprocessing]:
162  kwargs.setdefault("EventInfoKey", flags.Overlay.BkgPrefix + "EventInfo")
163 
164  if flags.Tracking.doITkFastTracking:
165  kwargs.setdefault("doFastTracking", True)
166  kwargs.setdefault("writeHolesFromPattern", True)
167 
168  if 'InDetEtaDependentCutsSvc' not in kwargs:
169  from InDetConfig.InDetEtaDependentCutsConfig import (
170  ITkEtaDependentCutsSvcCfg)
171  acc.merge(ITkEtaDependentCutsSvcCfg(flags))
172  kwargs.setdefault("InDetEtaDependentCutsSvc", acc.getService(
173  "ITkEtaDependentCutsSvc"+flags.Tracking.ActiveConfig.extension))
174 
175  acc.addEventAlgo(CompFactory.InDet.SiSPSeededTrackFinder(
176  name+flags.Tracking.ActiveConfig.extension, **kwargs))
177  return acc
178 
179 

◆ ITkSiSPSeededTrackFinderROIConvCfg()

def python.SiSPSeededTrackFinderConfig.ITkSiSPSeededTrackFinderROIConvCfg (   flags,
  name = "ITkSiSpTrackFinderROIConv",
**  kwargs 
)

Definition at line 180 of file SiSPSeededTrackFinderConfig.py.

181  flags, name="ITkSiSpTrackFinderROIConv", **kwargs):
182  from InDetConfig.InDetCaloClusterROISelectorConfig import (
183  ITkCaloClusterROIPhiRZContainerMakerCfg)
185 
186  if "RegSelTool_Strip" not in kwargs:
187  from RegionSelector.RegSelToolConfig import regSelTool_ITkStrip_Cfg
188  kwargs.setdefault("RegSelTool_Strip", acc.popToolsAndMerge(
189  regSelTool_ITkStrip_Cfg(flags)))
190 
191  kwargs.setdefault("useITkConvSeeded", True)
192  kwargs.setdefault("EMROIPhiRZContainer",
193  "ITkCaloClusterROIPhiRZ15GeVUnordered")
194 
195  if "SeedsTool" not in kwargs:
196  if flags.Tracking.ActiveConfig.doActsToAthenaSeed:
197  from ActsConfig.ActsSeedingConfig import ActsSiSpacePointsSeedMakerToolCfg
198  kwargs.setdefault("SeedsTool", acc.popToolsAndMerge(ActsSiSpacePointsSeedMakerToolCfg(flags)))
199  else:
200  from InDetConfig.SiSpacePointsSeedToolConfig import ITkSiSpacePointsSeedMakerCfg
201  kwargs.setdefault("SeedsTool", acc.popToolsAndMerge(ITkSiSpacePointsSeedMakerCfg(flags)))
202 
203  acc.merge(ITkSiSPSeededTrackFinderCfg(flags, name, **kwargs))
204  return acc
205 
206 

◆ SiSPSeededTrackFinderCfg()

def python.SiSPSeededTrackFinderConfig.SiSPSeededTrackFinderCfg (   flags,
  name = "InDetSiSpTrackFinder",
**  kwargs 
)

Definition at line 8 of file SiSPSeededTrackFinderConfig.py.

8 def SiSPSeededTrackFinderCfg(flags, name="InDetSiSpTrackFinder", **kwargs):
10 
11  if "TrackTool" not in kwargs:
12  from InDetConfig.SiTrackMakerConfig import SiTrackMaker_xkCfg
13  kwargs.setdefault("TrackTool", acc.popToolsAndMerge(
14  SiTrackMaker_xkCfg(flags)))
15 
16  if "PropagatorTool" not in kwargs:
17  from TrkConfig.TrkExRungeKuttaPropagatorConfig import InDetPropagatorCfg
18  InDetPropagator = acc.popToolsAndMerge(InDetPropagatorCfg(flags))
19  acc.addPublicTool(InDetPropagator)
20  kwargs.setdefault("PropagatorTool", InDetPropagator)
21 
22  if "TrackSummaryTool" not in kwargs:
23  from TrkConfig.TrkTrackSummaryToolConfig import (
24  InDetTrackSummaryToolNoHoleSearchCfg)
25  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
27 
28  if "SeedsTool" not in kwargs:
29  from InDetConfig.SiSpacePointsSeedToolConfig import (
30  SiSpacePointsSeedMakerCfg)
31  kwargs.setdefault("SeedsTool", acc.popToolsAndMerge(
33 
34  if flags.Tracking.ActiveConfig.usePrdAssociationTool:
35  # not all classes have that property !!!
36  kwargs.setdefault("PRDtoTrackMap", (
37  'InDetPRDtoTrackMap' + flags.Tracking.ActiveConfig.extension))
38 
39  kwargs.setdefault("useZBoundFinding",
40  flags.Tracking.ActiveConfig.doZBoundary)
41  if flags.Common.ProductionStep in [ProductionStep.PileUpPretracking, ProductionStep.MinbiasPreprocessing]:
42  kwargs.setdefault("EventInfoKey", flags.Overlay.BkgPrefix + "EventInfo")
43 
44  # Heavy-ion config
45  kwargs.setdefault("useZvertexTool",
46  flags.Tracking.ActiveConfig.extension in ["HeavyIon", "VtxLumiHeavyIon"])
47  if flags.Tracking.ActiveConfig.extension in ["HeavyIon", "VtxLumiHeavyIon"]:
48  # Optimization from Igor
49  kwargs.setdefault("FreeClustersCut", 2)
50  kwargs.setdefault("useMBTSTimeDiff", True)
51 
52  # Z-coordinates primary vertices finder (only for collisions)
53  if "ZvertexTool" not in kwargs:
54  from InDetConfig.SiZvertexToolConfig import SiZvertexMaker_xkCfg
55  kwargs.setdefault("ZvertexTool", acc.popToolsAndMerge(
56  SiZvertexMaker_xkCfg(flags)))
57 
58  acc.addEventAlgo(CompFactory.InDet.SiSPSeededTrackFinder(
59  name+flags.Tracking.ActiveConfig.extension, **kwargs))
60  return acc
61 

◆ SiSPSeededTrackFinderRoICfg()

def python.SiSPSeededTrackFinderConfig.SiSPSeededTrackFinderRoICfg (   flags,
  name = "InDetSiSpTrackFinderRoI",
**  kwargs 
)

Definition at line 207 of file SiSPSeededTrackFinderConfig.py.

207 def SiSPSeededTrackFinderRoICfg(flags, name="InDetSiSpTrackFinderRoI", **kwargs):
208  acc = ComponentAccumulator()
209 
210  if "TrackTool" not in kwargs:
211  from InDetConfig.SiTrackMakerConfig import SiTrackMaker_xkCfg
212  kwargs.setdefault("TrackTool", acc.popToolsAndMerge(
213  SiTrackMaker_xkCfg(flags)))
214 
215  if "TrackSummaryTool" not in kwargs:
216  from TrkConfig.TrkTrackSummaryToolConfig import (
217  InDetTrackSummaryToolNoHoleSearchCfg)
218  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
220 
221  if "SeedsTool" not in kwargs:
222  from InDetConfig.SiSpacePointsSeedToolConfig import (
223  SiSpacePointsSeedMakerCfg)
224  kwargs.setdefault("SeedsTool", acc.popToolsAndMerge(
226 
227  if flags.Tracking.ActiveConfig.usePrdAssociationTool:
228  kwargs.setdefault("PRDtoTrackMap", (
229  'InDetPRDtoTrackMap' + flags.Tracking.ActiveConfig.extension))
230 
231  if "ZWindowRoISeedTool" not in kwargs:
232  if flags.Tracking.ActiveConfig.RoIStrategy is RoIStrategy.LeadTracks:
233  from InDetConfig.ZWindowRoISeedToolConfig import (
234  LeadTracksRoISeedToolCfg as ZWindowRoISeedToolCfg)
235  elif flags.Tracking.ActiveConfig.RoIStrategy is RoIStrategy.Random:
236  from InDetConfig.ZWindowRoISeedToolConfig import (
237  RandomRoISeedToolCfg as ZWindowRoISeedToolCfg)
238  elif flags.Tracking.ActiveConfig.RoIStrategy is RoIStrategy.File:
239  from InDetConfig.ZWindowRoISeedToolConfig import (
240  FileRoISeedToolCfg as ZWindowRoISeedToolCfg)
241  elif flags.Tracking.ActiveConfig.RoIStrategy is RoIStrategy.TruthHS:
242  from InDetConfig.ZWindowRoISeedToolConfig import (
243  TruthHSRoISeedToolCfg as ZWindowRoISeedToolCfg)
244  kwargs.setdefault("ZWindowRoISeedTool", acc.popToolsAndMerge(
245  ZWindowRoISeedToolCfg(flags)))
246 
247  kwargs.setdefault("doRandomSpot", flags.Tracking.ActiveConfig.doRandomSpot)
248  if (flags.Tracking.ActiveConfig.doRandomSpot and
249  "RandomRoISeedTool" not in kwargs):
250  from InDetConfig.ZWindowRoISeedToolConfig import RandomRoISeedToolCfg
251  kwargs.setdefault("RandomRoISeedTool", acc.popToolsAndMerge(
252  RandomRoISeedToolCfg(flags)))
253 
254  kwargs.setdefault("useRoIWidth", flags.Tracking.ActiveConfig.z0WindowRoI>0)
255  kwargs.setdefault("VxOutputName",
256  "RoIVertices"+flags.Tracking.ActiveConfig.extension)
257 
258  acc.addEventAlgo(CompFactory.InDet.SiSPSeededTrackFinderRoI(
259  name+flags.Tracking.ActiveConfig.extension, **kwargs))
260 
261  return acc

◆ TrigSiSPSeededTrackFinderCfg()

def python.SiSPSeededTrackFinderConfig.TrigSiSPSeededTrackFinderCfg (   flags,
  name = "InDetTrigSiSpTrackFinder",
**  kwargs 
)

Definition at line 62 of file SiSPSeededTrackFinderConfig.py.

62 def TrigSiSPSeededTrackFinderCfg(flags, name="InDetTrigSiSpTrackFinder", **kwargs):
63  acc = ComponentAccumulator()
64 
65  if "TracksLocation" not in kwargs:
66  kwargs.setdefault("TracksLocation", flags.Tracking.ActiveConfig.trkTracks_IDTrig)
67 
68  kwargs.setdefault("SpacePointsSCTName","SCT_TrigSpacePoints")
69  kwargs.setdefault("SpacePointsPixelName","PixelTrigSpacePoints")
70 
71  if "TrackTool" not in kwargs:
72  from InDetConfig.SiTrackMakerConfig import TrigSiTrackMaker_xkCfg
73  kwargs.setdefault("TrackTool", acc.popToolsAndMerge(
74  TrigSiTrackMaker_xkCfg(flags)))
75 
76  #for the time being no need of InDetTrigPropagator
77  # acc.popToolsAndMerge(InDetPropagatorCfg(flags, name="InDetTrigPropagator"))
78 
79  if "TrackSummaryTool" not in kwargs:
80  from TrkConfig.TrkTrackSummaryToolConfig import (
81  InDetTrigFastTrackSummaryToolCfg)
82  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
84 
85  if "SeedsTool" not in kwargs:
86  from InDetConfig.SiSpacePointsSeedToolConfig import (
87  TrigSiSpacePointsSeedMakerCfg)
88  kwargs.setdefault("SeedsTool", acc.popToolsAndMerge(
90 
91  # Heavy-ion config (TODO the steering for the trigger)
92  kwargs.setdefault("useMBTSTimeDiff", False)
93  kwargs.setdefault("useZvertexTool", False)
94  kwargs.setdefault("useZBoundFinding",
95  flags.Tracking.ActiveConfig.doZBoundary)
96  if flags.Reco.EnableHI:
97  # Heavy Ion optimization from Igor
98  kwargs.setdefault("FreeClustersCut", 2)
99 
100 
101  if flags.Tracking.ActiveConfig.usePrdAssociationTool:
102  # not all classes have that property !!!
103  kwargs.setdefault("PRDtoTrackMap", (
104  'InDetPRDtoTrackMap' + flags.Tracking.ActiveConfig.input_name))
105  else:
106  kwargs.setdefault("PRDtoTrackMap", "")
107 
108  acc.merge(SiSPSeededTrackFinderCfg(flags, name, **kwargs))
109  return acc
110 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkTrackSummaryToolConfig.InDetTrigFastTrackSummaryToolCfg
def InDetTrigFastTrackSummaryToolCfg(flags, name="InDetTrigFastTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:71
python.InDetEtaDependentCutsConfig.ITkEtaDependentCutsSvcCfg
def ITkEtaDependentCutsSvcCfg(flags, name='ITkEtaDependentCutsSvc', **kwargs)
Definition: InDetEtaDependentCutsConfig.py:7
python.SiSpacePointsSeedToolConfig.SiSpacePointsSeedMakerCfg
def SiSpacePointsSeedMakerCfg(flags, **kwargs)
Definition: SiSpacePointsSeedToolConfig.py:131
python.SiSpacePointsSeedToolConfig.TrigSiSpacePointsSeedMakerCfg
def TrigSiSpacePointsSeedMakerCfg(flags, **kwargs)
Definition: SiSpacePointsSeedToolConfig.py:164
python.InDetCaloClusterROISelectorConfig.ITkCaloClusterROIPhiRZContainerMakerCfg
def ITkCaloClusterROIPhiRZContainerMakerCfg(flags, name="ITkCaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:69
RegSelToolConfig.regSelTool_ITkStrip_Cfg
def regSelTool_ITkStrip_Cfg(flags)
Definition: RegSelToolConfig.py:126
python.SiSPSeededTrackFinderConfig.SiSPSeededTrackFinderCfg
def SiSPSeededTrackFinderCfg(flags, name="InDetSiSpTrackFinder", **kwargs)
Definition: SiSPSeededTrackFinderConfig.py:8
python.ZWindowRoISeedToolConfig.RandomRoISeedToolCfg
def RandomRoISeedToolCfg(flags, **kwargs)
Definition: ZWindowRoISeedToolConfig.py:29
python.SiSPSeededTrackFinderConfig.ITkSiSPSeededTrackFinderROIConvCfg
def ITkSiSPSeededTrackFinderROIConvCfg(flags, name="ITkSiSpTrackFinderROIConv", **kwargs)
Definition: SiSPSeededTrackFinderConfig.py:180
python.TrkExRungeKuttaPropagatorConfig.ITkPropagatorCfg
def ITkPropagatorCfg(flags, name='ITkPropagator', **kwargs)
Definition: TrkExRungeKuttaPropagatorConfig.py:40
python.SiZvertexToolConfig.SiZvertexMaker_xkCfg
def SiZvertexMaker_xkCfg(flags, name="InDetZvertexMaker", **kwargs)
Definition: SiZvertexToolConfig.py:6
ActsSeedingConfig.ActsSiSpacePointsSeedMakerToolCfg
ComponentAccumulator ActsSiSpacePointsSeedMakerToolCfg(flags, str name='ActsSiSpacePointsSeedMakerTool', **kwargs)
Definition: ActsSeedingConfig.py:175
python.SiSPSeededTrackFinderConfig.SiSPSeededTrackFinderRoICfg
def SiSPSeededTrackFinderRoICfg(flags, name="InDetSiSpTrackFinderRoI", **kwargs)
Definition: SiSPSeededTrackFinderConfig.py:207
python.SiTrackMakerConfig.SiTrackMaker_xkCfg
def SiTrackMaker_xkCfg(flags, name="InDetSiTrackMaker", **kwargs)
Definition: SiTrackMakerConfig.py:7
python.SiSPSeededTrackFinderConfig.TrigSiSPSeededTrackFinderCfg
def TrigSiSPSeededTrackFinderCfg(flags, name="InDetTrigSiSpTrackFinder", **kwargs)
Definition: SiSPSeededTrackFinderConfig.py:62
python.SiSpacePointsSeedToolConfig.ITkSiSpacePointsSeedMakerCfg
def ITkSiSpacePointsSeedMakerCfg(flags, name="ITkSpSeedsMaker", **kwargs)
Definition: SiSpacePointsSeedToolConfig.py:203
python.SiTrackMakerConfig.TrigSiTrackMaker_xkCfg
def TrigSiTrackMaker_xkCfg(flags, name="TrigSiTrackMaker", **kwargs)
Definition: SiTrackMakerConfig.py:119
python.TrkExRungeKuttaPropagatorConfig.InDetPropagatorCfg
def InDetPropagatorCfg(flags, name='InDetPropagator', **kwargs)
Definition: TrkExRungeKuttaPropagatorConfig.py:20
python.SiSPSeededTrackFinderConfig.ITkSiSPSeededTrackFinderCfg
def ITkSiSPSeededTrackFinderCfg(flags, name="ITkSiSpTrackFinder", **kwargs)
Definition: SiSPSeededTrackFinderConfig.py:111
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolNoHoleSearchCfg
def InDetTrackSummaryToolNoHoleSearchCfg(flags, name='InDetTrackSummaryToolNoHoleSearch', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:47
python.SiTrackMakerConfig.ITkSiTrackMaker_xkCfg
def ITkSiTrackMaker_xkCfg(flags, name="ITkSiTrackMaker", **kwargs)
Definition: SiTrackMakerConfig.py:163
python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolNoHoleSearchCfg
def ITkTrackSummaryToolNoHoleSearchCfg(flags, name='ITkTrackSummaryToolNoHoleSearch', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:115