ATLAS Offline Software
TrkAmbiguityProcessorConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 # Configuration of TrkAmbiguityProcessor
4 # The ambiguity processor drives the ambiguity resolution step that
5 # rejects lower-quality candidates sharing a large number
6 # of associated hits with higher-quality ones.
7 # Special treatment for electrons (brem)
8 # photons (conversion) and charged particles
9 # in the cores of high-energy jets, can be applied.
10 # The track candidates resulting after the ambiguity resolution
11 # are then re-fitted to obtain the final track parameter estimate.
12 
13 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
14 from AthenaConfiguration.ComponentFactory import CompFactory
15 from AthenaConfiguration.Enums import BeamType
16 
17 
19  name="InDetAmbiguityProcessor",
20  ClusterSplitProbContainer='',
21  **kwargs):
22  acc = ComponentAccumulator()
23 
24  #
25  # --- set up different Scoring Tool for collisions and cosmics
26  #
27  if "ScoringTool" not in kwargs:
28  if (flags.Beam.Type is BeamType.Cosmics):
29  from InDetConfig.InDetTrackScoringToolsConfig import (
30  InDetCosmicsScoringToolCfg as InDetScoringToolCfg)
31  elif (flags.Tracking.ActiveConfig.extension == "R3LargeD0" and
32  flags.Tracking.nnCutLargeD0Threshold > 0):
33  # Set up NN config
34  from InDetConfig.InDetTrackScoringToolsConfig import (
35  InDetNNScoringToolSiCfg as InDetScoringToolCfg)
36  else:
37  from InDetConfig.InDetTrackScoringToolsConfig import (
38  InDetAmbiScoringToolSiCfg as InDetScoringToolCfg)
39  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
40  InDetScoringToolCfg(flags)))
41 
42  if "Fitter" not in kwargs:
43  if flags.Tracking.ActiveConfig.isLowPt:
44  from TrkConfig.CommonTrackFitterConfig import (
45  InDetTrackFitterLowPtCfg)
46  InDetTrackFitter = acc.popToolsAndMerge(
48  else:
49  from TrkConfig.CommonTrackFitterConfig import InDetTrackFitterCfg
50  InDetTrackFitter = acc.popToolsAndMerge(InDetTrackFitterCfg(flags))
51  kwargs.setdefault("Fitter", InDetTrackFitter)
52 
53  if "AssociationTool" not in kwargs:
54  from InDetConfig.InDetAssociationToolsConfig import (
55  InDetPRDtoTrackMapToolGangedPixelsCfg)
56  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
58 
59  if "TrackSummaryTool" not in kwargs:
60  from TrkConfig.TrkTrackSummaryToolConfig import (
61  InDetTrackSummaryToolCfg)
62  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
64 
65  if "SelectionTool" not in kwargs:
66  from InDetConfig.InDetAmbiTrackSelectionToolConfig import (
67  InDetAmbiTrackSelectionToolCfg)
68  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
70 
71  kwargs.setdefault("InputClusterSplitProbabilityName",
72  ClusterSplitProbContainer)
73  kwargs.setdefault("OutputClusterSplitProbabilityName", (
74  'InDetAmbiguityProcessorSplitProb' +
75  flags.Tracking.ActiveConfig.extension))
76  kwargs.setdefault("SuppressTrackFit", (
77  not flags.Tracking.ActiveConfig.doAmbiguityProcessorTrackFit))
78  kwargs.setdefault("SuppressHoleSearch", False)
79  kwargs.setdefault("tryBremFit",
80  flags.Tracking.ActiveConfig.doBremRecoverySi)
81  kwargs.setdefault("caloSeededBrem", flags.Tracking.doCaloSeededBrem)
82  kwargs.setdefault("pTminBrem", flags.Tracking.ActiveConfig.minPTBrem)
83  kwargs.setdefault("RefitPrds", True)
84  kwargs.setdefault("MatEffects", flags.Tracking.materialInteractionsType
85  if flags.Tracking.materialInteractions else 0)
86 
87  if flags.Tracking.ActiveConfig.extension == "Pixel":
88  kwargs.setdefault("SuppressHoleSearch", True)
89 
90  acc.setPrivateTools(CompFactory.Trk.SimpleAmbiguityProcessorTool(
91  name+flags.Tracking.ActiveConfig.extension, **kwargs))
92  return acc
93 
94 
96  flags,
97  name='InDetTRT_SeededAmbiguityProcessor',
98  ClusterSplitProbContainer="",
99  **kwargs):
100  acc = ComponentAccumulator()
101 
102  if "Fitter" not in kwargs:
103  from TrkConfig.CommonTrackFitterConfig import InDetTrackFitterBTCfg
104  kwargs.setdefault("Fitter", acc.popToolsAndMerge(
105  InDetTrackFitterBTCfg(flags)))
106 
107  if "AssociationTool" not in kwargs:
108  from InDetConfig.InDetAssociationToolsConfig import (
109  InDetPRDtoTrackMapToolGangedPixelsCfg)
110  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
112 
113  #
114  # --- set up special Scoring Tool for TRT seeded tracks
115  #
116  if "ScoringTool" not in kwargs:
117  if flags.Beam.Type is BeamType.Cosmics:
118  from InDetConfig.InDetTrackScoringToolsConfig import (
119  InDetCosmicScoringTool_TRTCfg as InDetScoringToolCfg)
120  else:
121  from InDetConfig.InDetTrackScoringToolsConfig import (
122  InDetTRT_SeededScoringToolCfg as InDetScoringToolCfg)
123  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
124  InDetScoringToolCfg(flags)))
125 
126  if "TrackSummaryTool" not in kwargs:
127  from TrkConfig.TrkTrackSummaryToolConfig import (
128  InDetTrackSummaryToolCfg)
129  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
130  InDetTrackSummaryToolCfg(flags)))
131 
132  if "SelectionTool" not in kwargs:
133  from InDetConfig.InDetAmbiTrackSelectionToolConfig import (
134  InDetTRTAmbiTrackSelectionToolCfg)
135  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
137 
138  kwargs.setdefault("InputClusterSplitProbabilityName",
139  ClusterSplitProbContainer)
140  kwargs.setdefault("OutputClusterSplitProbabilityName", (
141  'InDetTRT_SeededAmbiguityProcessorSplitProb' +
142  flags.Tracking.ActiveConfig.extension))
143  kwargs.setdefault("RefitPrds", False)
144  kwargs.setdefault("SuppressTrackFit", (
145  not flags.Tracking.ActiveConfig.doAmbiguityProcessorTrackFit))
146  kwargs.setdefault("SuppressHoleSearch", False)
147  kwargs.setdefault("MatEffects", flags.Tracking.materialInteractionsType
148  if flags.Tracking.materialInteractions else 0)
149 
150  acc.setPrivateTools(
151  CompFactory.Trk.SimpleAmbiguityProcessorTool(name, **kwargs))
152  return acc
153 
154 
156  flags,
157  name='InDetTrig_SeededAmbiguityProcessor',
158  **kwargs):
159  import AthenaCommon.SystemOfUnits as Units
160 
161  acc = ComponentAccumulator()
162 
163  kwargs.setdefault("SuppressTrackFit", (
164  not flags.Tracking.ActiveConfig.doAmbiguityProcessorTrackFit))
165  # TODO False if flags.Tracking.ActiveConfig.name == 'cosmics' else True
166  kwargs.setdefault("SuppressHoleSearch", False)
167  # kwargs.setdefault("RefitPrds", False)
168  # #TODO clarify this setting False if flags.Tracking.ActiveConfig.name == 'cosmics' else True
169  kwargs.setdefault("tryBremFit",
170  flags.Tracking.ActiveConfig.doBremRecoverySi)
171  kwargs.setdefault("pTminBrem", 5*Units.GeV)
172  kwargs.setdefault("MatEffects", 3)
173 
174  if "Fitter" not in kwargs:
175  from TrkConfig.TrkGlobalChi2FitterConfig import (
176  InDetTrigGlobalChi2FitterCfg,InDetTrigGlobalChi2FitterCosmicsCfg)
177  if flags.Tracking.ActiveConfig.input_name == "cosmics":
178  kwargs.setdefault("Fitter", acc.popToolsAndMerge(
180  else:
181  kwargs.setdefault("Fitter", acc.popToolsAndMerge(
183 
184  if "ScoringTool" not in kwargs:
185  from InDetConfig.InDetTrackScoringToolsConfig import (
186  InDetTrigAmbiScoringToolCfg)
187  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
189 
190  if "TrackSummaryTool" not in kwargs:
191  from TrkConfig.TrkTrackSummaryToolConfig import (
192  InDetTrigTrackSummaryToolCfg)
193  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
195 
196  if "AssociationTool" not in kwargs:
197  from InDetConfig.InDetAssociationToolsConfig import (
198  TrigPRDtoTrackMapToolGangedPixelsCfg)
199  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
201 
202  if "SelectionTool" not in kwargs:
203  from InDetConfig.InDetAmbiTrackSelectionToolConfig import (
204  InDetTrigAmbiTrackSelectionToolCfg,InDetTrigAmbiTrackSelectionToolCosmicsCfg)
205 
206  if flags.Tracking.ActiveConfig.input_name == "cosmics":
207  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
209  else:
210  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
211  InDetTrigAmbiTrackSelectionToolCfg(flags,DriftCircleCutTool=None)))
212 
213  acc.setPrivateTools(
214  CompFactory.Trk.SimpleAmbiguityProcessorTool(name, **kwargs))
215  return acc
216 
217 
219  flags,
220  name="InDetAmbiguityScoreProcessor",
221  ClusterSplitProbContainer="",
222  **kwargs):
223 
224  acc = ComponentAccumulator()
225 
226  # --- set up different Scoring Tool for collisions and cosmics
227  if "ScoringTool" not in kwargs:
228  if (flags.Beam.Type is BeamType.Cosmics):
229  from InDetConfig.InDetTrackScoringToolsConfig import (
230  InDetCosmicsScoringToolCfg as InDetScoringToolCfg)
231  elif (flags.Tracking.ActiveConfig.extension == "R3LargeD0" and
232  flags.Tracking.nnCutLargeD0Threshold > 0):
233  from InDetConfig.InDetTrackScoringToolsConfig import (
234  InDetNNScoringToolSiCfg as InDetScoringToolCfg)
235  else:
236  from InDetConfig.InDetTrackScoringToolsConfig import (
237  InDetAmbiScoringToolSiCfg as InDetScoringToolCfg)
238  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
239  InDetScoringToolCfg(flags)))
240 
241  if "SplitProbTool" not in kwargs:
242  if flags.Tracking.doPixelTruthSplit:
243  from InDetConfig.SiClusterizationToolConfig import (
244  TruthPixelClusterSplitProbToolCfg as PixelClusterSplitProbToolCfg)
245  else:
246  from InDetConfig.SiClusterizationToolConfig import (
247  NnPixelClusterSplitProbToolCfg as PixelClusterSplitProbToolCfg)
248  kwargs.setdefault("SplitProbTool", (
249  acc.popToolsAndMerge(PixelClusterSplitProbToolCfg(flags))
250  if flags.Tracking.doPixelClusterSplitting else None))
251 
252  if "AssociationTool" not in kwargs:
253  from InDetConfig.InDetAssociationToolsConfig import (
254  InDetPRDtoTrackMapToolGangedPixelsCfg)
255  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
257 
258  if "AssociationToolNotGanged" not in kwargs:
259  from TrkConfig.TrkAssociationToolsConfig import PRDtoTrackMapToolCfg
260  kwargs.setdefault("AssociationToolNotGanged",
261  acc.popToolsAndMerge(PRDtoTrackMapToolCfg(flags)))
262 
263  kwargs.setdefault("AssociationMapName", (
264  "PRDtoTrackMapAmbi_"+flags.Tracking.ActiveConfig.extension))
265 
266  if flags.Tracking.ActiveConfig.useTIDE_Ambi:
267  kwargs.setdefault("sharedProbCut",
268  flags.Tracking.pixelClusterSplitProb1)
269  kwargs.setdefault("sharedProbCut2",
270  flags.Tracking.pixelClusterSplitProb2)
271 
272  extension = flags.Tracking.ActiveConfig.extension
273  if extension == flags.Tracking.PrimaryPassConfig.value:
274  extension = ""
275  kwargs.setdefault("SplitClusterMap_new", (
276  f"SplitClusterAmbiguityMap{extension}"))
277 
278  kwargs.setdefault("InputClusterSplitProbabilityName",
279  ClusterSplitProbContainer)
280  kwargs.setdefault("OutputClusterSplitProbabilityName",
281  f"SplitProb{flags.Tracking.ActiveConfig.extension}")
282 
283  if (flags.Tracking.doTIDE_AmbiTrackMonitoring and
284  flags.Tracking.ActiveConfig.extension == ""):
285  from TrkConfig.TrkValToolsConfig import TrkObserverToolCfg
286  TrkObserverTool = acc.popToolsAndMerge(TrkObserverToolCfg(flags))
287  acc.addPublicTool(TrkObserverTool)
288  kwargs.setdefault("ObserverTool", TrkObserverTool)
289 
290  acc.setPrivateTools(
291  CompFactory.Trk.DenseEnvironmentsAmbiguityScoreProcessorTool(
292  f"{name}{flags.Tracking.ActiveConfig.extension}", **kwargs))
293  return acc
294 
295 
297  flags,
298  name="ITkAmbiguityScoreProcessor",
299  ClusterSplitProbContainer='',
300  **kwargs):
301 
302  acc = ComponentAccumulator()
303 
304  #
305  # --- set up different Scoring Tool for collisions and cosmics
306  #
307  if "ScoringTool" not in kwargs:
308  if flags.Beam.Type is BeamType.Cosmics:
309  from InDetConfig.InDetTrackScoringToolsConfig import (
310  ITkCosmicsScoringToolCfg as ITkScoringToolCfg)
311  else:
312  from InDetConfig.InDetTrackScoringToolsConfig import (
313  ITkAmbiScoringToolCfg as ITkScoringToolCfg)
314  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
315  ITkScoringToolCfg(flags)))
316 
317  if "SplitProbTool" not in kwargs:
318  if flags.Tracking.doPixelTruthSplit:
319  from InDetConfig.SiClusterizationToolConfig import (
320  ITkTruthPixelClusterSplitProbToolCfg as PixelClusterSplitProbToolCfg)
321  else:
322  from InDetConfig.SiClusterizationToolConfig import (
323  ITkNnPixelClusterSplitProbToolCfg as PixelClusterSplitProbToolCfg)
324  kwargs.setdefault("SplitProbTool", (
325  acc.popToolsAndMerge(PixelClusterSplitProbToolCfg(flags))
326  if flags.Tracking.doPixelClusterSplitting else None))
327 
328  if "AssociationTool" not in kwargs:
329  from InDetConfig.InDetAssociationToolsConfig import (
330  ITkPRDtoTrackMapToolGangedPixelsCfg)
331  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
333 
334  if "AssociationToolNotGanged" not in kwargs:
335  from TrkConfig.TrkAssociationToolsConfig import (
336  PRDtoTrackMapToolCfg)
337  kwargs.setdefault("AssociationToolNotGanged", acc.popToolsAndMerge(
338  PRDtoTrackMapToolCfg(flags)))
339 
340  kwargs.setdefault("sharedProbCut", flags.Tracking.pixelClusterSplitProb1)
341  kwargs.setdefault("sharedProbCut2", flags.Tracking.pixelClusterSplitProb2)
342 
343  extension = flags.Tracking.ActiveConfig.extension
344  if extension == flags.Tracking.PrimaryPassConfig.value:
345  extension = ""
346  kwargs.setdefault("SplitClusterMap_new", (
347  'SplitClusterAmbiguityMap' + extension))
348 
349  kwargs.setdefault("AssociationMapName", (
350  'ITkPRDtoTrackMapAmbi_' + flags.Tracking.ActiveConfig.extension))
351  kwargs.setdefault("InputClusterSplitProbabilityName", (
352  ClusterSplitProbContainer))
353  kwargs.setdefault("OutputClusterSplitProbabilityName", (
354  'SplitProb'+flags.Tracking.ActiveConfig.extension))
355 
356  acc.setPrivateTools(
357  CompFactory.Trk.DenseEnvironmentsAmbiguityScoreProcessorTool(
358  name+flags.Tracking.ActiveConfig.extension, **kwargs))
359  return acc
360 
361 
363  flags,
364  name="InDetAmbiguityProcessor",
365  **kwargs):
366 
367  acc = ComponentAccumulator()
368 
369  # --- set up different Scoring Tool for collisions and cosmics
370  if "ScoringTool" not in kwargs:
371  if (flags.Beam.Type is BeamType.Cosmics):
372  from InDetConfig.InDetTrackScoringToolsConfig import (
373  InDetCosmicsScoringToolCfg as InDetScoringToolCfg)
374  elif (flags.Tracking.ActiveConfig.extension == "R3LargeD0" and
375  flags.Tracking.nnCutLargeD0Threshold > 0):
376  from InDetConfig.InDetTrackScoringToolsConfig import (
377  InDetNNScoringToolSiCfg as InDetScoringToolCfg)
378  else:
379  from InDetConfig.InDetTrackScoringToolsConfig import (
380  InDetAmbiScoringToolSiCfg as InDetScoringToolCfg)
381  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
382  InDetScoringToolCfg(flags)))
383 
384  if "Fitter" not in kwargs:
385  fitter_list = []
386 
387  if flags.Tracking.ActiveConfig.isLowPt:
388  from TrkConfig.CommonTrackFitterConfig import (
389  InDetTrackFitterLowPtAmbiCfg)
390  InDetTrackFitterLowPt = acc.popToolsAndMerge(
392  flags,
393  name=('InDetTrackFitterLowPt' +
394  flags.Tracking.ActiveConfig.extension)))
395  fitter_list.append(InDetTrackFitterLowPt)
396  else:
397  from TrkConfig.CommonTrackFitterConfig import (
398  InDetTrackFitterAmbiCfg)
399  InDetTrackFitterAmbi = acc.popToolsAndMerge(
401  flags,
402  name=('InDetTrackFitterAmbi' +
403  flags.Tracking.ActiveConfig.extension)))
404  fitter_list.append(InDetTrackFitterAmbi)
405 
406  kwargs.setdefault("Fitter", fitter_list)
407 
408  if "AssociationTool" not in kwargs:
409  from InDetConfig.InDetAssociationToolsConfig import (
410  InDetPRDtoTrackMapToolGangedPixelsCfg)
411  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
413 
414  if "TrackSummaryTool" not in kwargs:
415  from TrkConfig.TrkTrackSummaryToolConfig import (
416  InDetTrackSummaryToolCfg)
417  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
418  InDetTrackSummaryToolCfg(flags)))
419 
420  if "SelectionTool" not in kwargs:
421  from InDetConfig.InDetAmbiTrackSelectionToolConfig import (
422  InDetAmbiTrackSelectionToolCfg)
423  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
425 
426  kwargs.setdefault("AssociationMapName", (
427  'PRDtoTrackMapAmbi_' + flags.Tracking.ActiveConfig.extension))
428  kwargs.setdefault("InputClusterSplitProbabilityName", (
429  'SplitProb'+flags.Tracking.ActiveConfig.extension))
430  kwargs.setdefault("OutputClusterSplitProbabilityName", (
431  'InDetAmbiguityProcessorSplitProb' +
432  flags.Tracking.ActiveConfig.extension))
433  kwargs.setdefault("SuppressTrackFit", (
434  not flags.Tracking.ActiveConfig.doAmbiguityProcessorTrackFit))
435  kwargs.setdefault("SuppressHoleSearch", False)
436  kwargs.setdefault("tryBremFit",
437  flags.Tracking.ActiveConfig.doBremRecoverySi)
438  kwargs.setdefault("caloSeededBrem", flags.Tracking.doCaloSeededBrem)
439  kwargs.setdefault("pTminBrem", flags.Tracking.ActiveConfig.minPTBrem)
440  kwargs.setdefault("RefitPrds", True)
441  kwargs.setdefault("KeepHolesFromBeforeRefit", False)
442  kwargs.setdefault("MatEffects", flags.Tracking.materialInteractionsType
443  if flags.Tracking.materialInteractions else 0)
444 
445  if (flags.Tracking.doTIDE_AmbiTrackMonitoring and
446  flags.Tracking.ActiveConfig.extension == ""):
447  from TrkConfig.TrkValToolsConfig import (
448  TrkObserverToolCfg, WriterTrkObserverToolCfg)
449  TrkObserverTool = acc.popToolsAndMerge(TrkObserverToolCfg(flags))
450  acc.addPublicTool(TrkObserverTool)
451  kwargs.setdefault("ObserverTool", TrkObserverTool)
452 
453  TrkObserverToolWriter = acc.popToolsAndMerge(
455  acc.addPublicTool(TrkObserverToolWriter)
456  kwargs.setdefault("ObserverToolWriter", TrkObserverToolWriter)
457 
458  acc.setPrivateTools(
459  CompFactory.Trk.DenseEnvironmentsAmbiguityProcessorTool(
460  name+flags.Tracking.ActiveConfig.extension, **kwargs))
461  return acc
462 
463 
465  flags,
466  name="ITkAmbiguityProcessor",
467  **kwargs):
468  acc = ComponentAccumulator()
469 
470  #
471  # --- set up different Scoring Tool for collisions and cosmics
472  #
473  if "ScoringTool" not in kwargs:
474  if flags.Beam.Type is BeamType.Cosmics:
475  from InDetConfig.InDetTrackScoringToolsConfig import (
476  ITkCosmicsScoringToolCfg as ITkScoringToolCfg)
477  else:
478  from InDetConfig.InDetTrackScoringToolsConfig import (
479  ITkAmbiScoringToolCfg as ITkScoringToolCfg)
480  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
481  ITkScoringToolCfg(flags)))
482 
483  if "Fitter" not in kwargs:
484  from TrkConfig.CommonTrackFitterConfig import (
485  ITkTrackFitterAmbiCfg)
486  fitter_list = []
487  ITkTrackFitterAmbi = acc.popToolsAndMerge(
489  flags,
490  name=('ITkTrackFitterAmbi' +
491  flags.Tracking.ActiveConfig.extension)))
492  fitter_list.append(ITkTrackFitterAmbi)
493  kwargs.setdefault("Fitter", fitter_list)
494 
495  if "AssociationTool" not in kwargs:
496  from InDetConfig.InDetAssociationToolsConfig import (
497  ITkPRDtoTrackMapToolGangedPixelsCfg)
498  kwargs.setdefault("AssociationTool", acc.popToolsAndMerge(
500 
501  if "TrackSummaryTool" not in kwargs:
502  from TrkConfig.TrkTrackSummaryToolConfig import (
503  ITkTrackSummaryToolCfg)
504  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
505  ITkTrackSummaryToolCfg(flags)))
506 
507  if "SelectionTool" not in kwargs:
508  from InDetConfig.InDetAmbiTrackSelectionToolConfig import (
509  ITkAmbiTrackSelectionToolCfg)
510  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(
512 
513  kwargs.setdefault("AssociationMapName", (
514  'ITkPRDtoTrackMapAmbi_' + flags.Tracking.ActiveConfig.extension))
515  kwargs.setdefault("InputClusterSplitProbabilityName", (
516  'SplitProb'+flags.Tracking.ActiveConfig.extension))
517  kwargs.setdefault("OutputClusterSplitProbabilityName", (
518  'ITkAmbiguityProcessorSplitProb' +
519  flags.Tracking.ActiveConfig.extension))
520  kwargs.setdefault("SuppressTrackFit", (
521  not flags.Tracking.ActiveConfig.doAmbiguityProcessorTrackFit))
522  kwargs.setdefault("SuppressHoleSearch", False)
523 
524  # Disabled for second passes in reco
525  kwargs.setdefault("tryBremFit",
526  flags.Tracking.ActiveConfig.doBremRecoverySi)
527  kwargs.setdefault("caloSeededBrem", flags.Tracking.ActiveConfig.doCaloSeededBremSi)
528  kwargs.setdefault("pTminBrem", flags.Tracking.ActiveConfig.minPTBrem[0])
529  kwargs.setdefault("RefitPrds", True)
530  kwargs.setdefault("KeepHolesFromBeforeRefit", False)
531  kwargs.setdefault("MatEffects", flags.Tracking.materialInteractionsType
532  if flags.Tracking.materialInteractions else 0)
533 
534  acc.setPrivateTools(
535  CompFactory.Trk.DenseEnvironmentsAmbiguityProcessorTool(
536  name+flags.Tracking.ActiveConfig.extension, **kwargs))
537  return acc
python.TrkTrackSummaryToolConfig.InDetTrigTrackSummaryToolCfg
def InDetTrigTrackSummaryToolCfg(flags, name="InDetTrigTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:53
SystemOfUnits
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetAmbiTrackSelectionToolConfig.InDetTrigAmbiTrackSelectionToolCosmicsCfg
def InDetTrigAmbiTrackSelectionToolCosmicsCfg(flags, name='InDetTrigAmbiTrackSelectionToolCosmics', **kwargs)
Definition: InDetAmbiTrackSelectionToolConfig.py:165
python.CommonTrackFitterConfig.InDetTrackFitterBTCfg
def InDetTrackFitterBTCfg(flags, name='InDetTrackFitterBT', **kwargs)
Definition: CommonTrackFitterConfig.py:112
python.CommonTrackFitterConfig.InDetTrackFitterLowPtAmbiCfg
def InDetTrackFitterLowPtAmbiCfg(flags, name='InDetTrackFitterAmbi', **kwargs)
Definition: CommonTrackFitterConfig.py:91
python.TrkAmbiguityProcessorConfig.DenseEnvironmentsAmbiguityScoreProcessorToolCfg
def DenseEnvironmentsAmbiguityScoreProcessorToolCfg(flags, name="InDetAmbiguityScoreProcessor", ClusterSplitProbContainer="", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:218
python.InDetAmbiTrackSelectionToolConfig.InDetAmbiTrackSelectionToolCfg
def InDetAmbiTrackSelectionToolCfg(flags, name="InDetAmbiTrackSelectionTool", **kwargs)
Definition: InDetAmbiTrackSelectionToolConfig.py:9
python.CommonTrackFitterConfig.InDetTrackFitterCfg
def InDetTrackFitterCfg(flags, name='InDetTrackFitter', **kwargs)
InDet configs #####.
Definition: CommonTrackFitterConfig.py:10
python.TrkAmbiguityProcessorConfig.SimpleAmbiguityProcessorTool_Trig_Cfg
def SimpleAmbiguityProcessorTool_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguityProcessor', **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:155
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.TrkValToolsConfig.TrkObserverToolCfg
def TrkObserverToolCfg(flags, name="TrackObserverTool", **kwargs)
Definition: TrkValToolsConfig.py:8
python.InDetAssociationToolsConfig.InDetPRDtoTrackMapToolGangedPixelsCfg
def InDetPRDtoTrackMapToolGangedPixelsCfg(flags, name='PRDtoTrackMapToolGangedPixels', **kwargs)
Definition: InDetAssociationToolsConfig.py:29
python.TrkGlobalChi2FitterConfig.InDetTrigGlobalChi2FitterCfg
def InDetTrigGlobalChi2FitterCfg(flags, name='InDetTrigTrackFitter', **kwargs)
InDet trigger config.
Definition: TrkGlobalChi2FitterConfig.py:338
python.TrkAmbiguityProcessorConfig.ITkDenseEnvironmentsAmbiguityScoreProcessorToolCfg
def ITkDenseEnvironmentsAmbiguityScoreProcessorToolCfg(flags, name="ITkAmbiguityScoreProcessor", ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:296
python.TrkTrackSummaryToolConfig.ITkTrackSummaryToolCfg
def ITkTrackSummaryToolCfg(flags, name='ITkTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:94
python.TrkAmbiguityProcessorConfig.SimpleAmbiguityProcessorToolCfg
def SimpleAmbiguityProcessorToolCfg(flags, name="InDetAmbiguityProcessor", ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:18
python.TrkAmbiguityProcessorConfig.DenseEnvironmentsAmbiguityProcessorToolCfg
def DenseEnvironmentsAmbiguityProcessorToolCfg(flags, name="InDetAmbiguityProcessor", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:362
python.TrkAmbiguityProcessorConfig.SimpleAmbiguityProcessorTool_TRT_Cfg
def SimpleAmbiguityProcessorTool_TRT_Cfg(flags, name='InDetTRT_SeededAmbiguityProcessor', ClusterSplitProbContainer="", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:95
python.InDetTrackScoringToolsConfig.InDetTrigAmbiScoringToolCfg
def InDetTrigAmbiScoringToolCfg(flags, name='TrigAmbiguityScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:100
python.CommonTrackFitterConfig.InDetTrackFitterLowPtCfg
def InDetTrackFitterLowPtCfg(flags, name='InDetTrackFitter', **kwargs)
Definition: CommonTrackFitterConfig.py:67
python.InDetAmbiTrackSelectionToolConfig.InDetTRTAmbiTrackSelectionToolCfg
def InDetTRTAmbiTrackSelectionToolCfg(flags, name='InDetTRT_SeededAmbiTrackSelectionTool', **kwargs)
Definition: InDetAmbiTrackSelectionToolConfig.py:101
python.CommonTrackFitterConfig.InDetTrackFitterAmbiCfg
def InDetTrackFitterAmbiCfg(flags, name='InDetTrackFitterAmbi', **kwargs)
Definition: CommonTrackFitterConfig.py:36
python.InDetAmbiTrackSelectionToolConfig.InDetTrigAmbiTrackSelectionToolCfg
def InDetTrigAmbiTrackSelectionToolCfg(flags, name='InDetTrigAmbiTrackSelectionTool', **kwargs)
Definition: InDetAmbiTrackSelectionToolConfig.py:134
python.InDetAssociationToolsConfig.TrigPRDtoTrackMapToolGangedPixelsCfg
def TrigPRDtoTrackMapToolGangedPixelsCfg(flags, name='InDetTrigPRDtoTrackMapToolGangedPixels', **kwargs)
Definition: InDetAssociationToolsConfig.py:36
python.TrkGlobalChi2FitterConfig.InDetTrigGlobalChi2FitterCosmicsCfg
def InDetTrigGlobalChi2FitterCosmicsCfg(flags, name='InDetTrigTrackFitterCosmics', **kwargs)
Definition: TrkGlobalChi2FitterConfig.py:394
python.InDetAmbiTrackSelectionToolConfig.ITkAmbiTrackSelectionToolCfg
def ITkAmbiTrackSelectionToolCfg(flags, name="ITkAmbiTrackSelectionTool", **kwargs)
Definition: InDetAmbiTrackSelectionToolConfig.py:172
python.TrkAssociationToolsConfig.PRDtoTrackMapToolCfg
def PRDtoTrackMapToolCfg(flags, name='PRDtoTrackMapTool', **kwargs)
Definition: TrkAssociationToolsConfig.py:6
python.InDetAssociationToolsConfig.ITkPRDtoTrackMapToolGangedPixelsCfg
def ITkPRDtoTrackMapToolGangedPixelsCfg(flags, name='ITkPRDtoTrackMapToolGangedPixels', **kwargs)
Definition: InDetAssociationToolsConfig.py:43
python.CommonTrackFitterConfig.ITkTrackFitterAmbiCfg
def ITkTrackFitterAmbiCfg(flags, name='ITkTrackFitterAmbi', **kwargs)
Definition: CommonTrackFitterConfig.py:137
python.TrkAmbiguityProcessorConfig.ITkDenseEnvironmentsAmbiguityProcessorToolCfg
def ITkDenseEnvironmentsAmbiguityProcessorToolCfg(flags, name="ITkAmbiguityProcessor", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:464
python.TrkValToolsConfig.WriterTrkObserverToolCfg
def WriterTrkObserverToolCfg(flags, name="WriterTrackObserverTool", **kwargs)
Definition: TrkValToolsConfig.py:15