ATLAS Offline Software
Functions
python.TrkAmbiguitySolverConfig Namespace Reference

Functions

def TrkAmbiguityScoreCfg (flags, name="InDetAmbiguityScore", SiSPSeededTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
 
def TrkAmbiguityScore_TRT_Cfg (flags, name='InDetTRT_SeededAmbiguityScore', **kwargs)
 
def TrkAmbiguityScore_Trig_Cfg (flags, name='InDetTrig_SeededAmbiguityScore', **kwargs)
 
def ITkTrkAmbiguityScoreCfg (flags, name="ITkAmbiguityScore", SiSPSeededTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
 
def TrkAmbiguitySolverCfg (flags, name="InDetAmbiguitySolver", ResolvedTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
 
def TrkAmbiguitySolver_TRT_Cfg (flags, name='InDetTRT_SeededAmbiguitySolver', ClusterSplitProbContainer='', **kwargs)
 
def TrkAmbiguitySolver_Trig_Cfg (flags, name='InDetTrig_SeededAmbiguitySolver', **kwargs)
 
def ITkTrkAmbiguitySolverCfg (flags, name="ITkAmbiguitySolver", ResolvedTrackCollectionKey=None, **kwargs)
 

Function Documentation

◆ ITkTrkAmbiguityScoreCfg()

def python.TrkAmbiguitySolverConfig.ITkTrkAmbiguityScoreCfg (   flags,
  name = "ITkAmbiguityScore",
  SiSPSeededTrackCollectionKey = None,
  ClusterSplitProbContainer = '',
**  kwargs 
)

Definition at line 74 of file TrkAmbiguitySolverConfig.py.

75  flags,
76  name="ITkAmbiguityScore",
77  SiSPSeededTrackCollectionKey=None,
78  ClusterSplitProbContainer='',
79  **kwargs):
80  acc = ComponentAccumulator()
81 
82  from TrkConfig.TrkAmbiguityProcessorConfig import (
83  ITkDenseEnvironmentsAmbiguityScoreProcessorToolCfg)
84  ITkAmbiguityScoreProcessor = acc.popToolsAndMerge(
86  flags,
87  ClusterSplitProbContainer=ClusterSplitProbContainer))
88 
89  #
90  # --- configure Ambiguity (score) solver
91  #
92  kwargs.setdefault("TrackInput",
93  [SiSPSeededTrackCollectionKey])
94  kwargs.setdefault("TrackOutput", (
95  'ScoredMapITkAmbiguityScore' + flags.Tracking.ActiveConfig.extension))
96  # TODO: check the case when it is None object
97  kwargs.setdefault("AmbiguityScoreProcessor", ITkAmbiguityScoreProcessor)
98 
99  acc.addEventAlgo(CompFactory.Trk.TrkAmbiguityScore(
100  name+flags.Tracking.ActiveConfig.extension, **kwargs))
101  return acc
102 
103 

◆ ITkTrkAmbiguitySolverCfg()

def python.TrkAmbiguitySolverConfig.ITkTrkAmbiguitySolverCfg (   flags,
  name = "ITkAmbiguitySolver",
  ResolvedTrackCollectionKey = None,
**  kwargs 
)

Definition at line 184 of file TrkAmbiguitySolverConfig.py.

185  flags,
186  name="ITkAmbiguitySolver",
187  ResolvedTrackCollectionKey=None, **kwargs):
188  acc = ComponentAccumulator()
189 
190  from TrkConfig.TrkAmbiguityProcessorConfig import (
191  ITkDenseEnvironmentsAmbiguityProcessorToolCfg)
192  ITkAmbiguityProcessor = acc.popToolsAndMerge(
194 
195  #
196  # --- configure Ambiguity solver
197  #
198  kwargs.setdefault("TrackInput", (
199  'ScoredMapITkAmbiguityScore' + flags.Tracking.ActiveConfig.extension))
200  kwargs.setdefault("TrackOutput", ResolvedTrackCollectionKey)
201  kwargs.setdefault("AmbiguityProcessor", ITkAmbiguityProcessor)
202 
203  acc.addEventAlgo(CompFactory.Trk.TrkAmbiguitySolver(
204  name+flags.Tracking.ActiveConfig.extension, **kwargs))
205  return acc

◆ TrkAmbiguityScore_Trig_Cfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguityScore_Trig_Cfg (   flags,
  name = 'InDetTrig_SeededAmbiguityScore',
**  kwargs 
)

Definition at line 61 of file TrkAmbiguitySolverConfig.py.

62  flags,
63  name='InDetTrig_SeededAmbiguityScore',
64  **kwargs):
65 
66  kwargs.setdefault("TrackInput", [flags.Tracking.ActiveConfig.trkTracks_FTF])
67  kwargs.setdefault("TrackOutput",
68  f"ScoreMap{flags.Tracking.ActiveConfig.input_name}")
69  kwargs.setdefault("AmbiguityScoreProcessor", None)
70 
71  #allow internal useTIDE_Ambi control
72  return TrkAmbiguityScoreCfg(flags, name, **kwargs)
73 

◆ TrkAmbiguityScore_TRT_Cfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguityScore_TRT_Cfg (   flags,
  name = 'InDetTRT_SeededAmbiguityScore',
**  kwargs 
)

Definition at line 43 of file TrkAmbiguitySolverConfig.py.

44  flags,
45  name='InDetTRT_SeededAmbiguityScore',
46  **kwargs):
47  acc = ComponentAccumulator()
48 
49  kwargs.setdefault("TrackInput",
50  ['TRTSeededTracks'])
51  kwargs.setdefault("TrackOutput",
52  'ScoredMapInDetTRT_SeededAmbiguityScore')
53 
54  InDetAmbiguityScore = CompFactory.Trk.TrkAmbiguityScore(
55  name=name,
56  **kwargs)
57  acc.addEventAlgo(InDetAmbiguityScore)
58  return acc
59 
60 

◆ TrkAmbiguityScoreCfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguityScoreCfg (   flags,
  name = "InDetAmbiguityScore",
  SiSPSeededTrackCollectionKey = None,
  ClusterSplitProbContainer = '',
**  kwargs 
)

Definition at line 11 of file TrkAmbiguitySolverConfig.py.

11 def TrkAmbiguityScoreCfg(flags,
12  name="InDetAmbiguityScore",
13  SiSPSeededTrackCollectionKey=None,
14  ClusterSplitProbContainer='',
15  **kwargs):
16  acc = ComponentAccumulator()
17 
18  if flags.Tracking.ActiveConfig.useTIDE_Ambi:
19  from TrkConfig.TrkAmbiguityProcessorConfig import (
20  DenseEnvironmentsAmbiguityScoreProcessorToolCfg)
21  InDetAmbiguityScoreProcessor = acc.popToolsAndMerge(
23  flags,
24  ClusterSplitProbContainer=ClusterSplitProbContainer))
25  else:
26  InDetAmbiguityScoreProcessor = None
27 
28  #
29  # --- configure Ambiguity (score) solver
30  #
31  kwargs.setdefault("TrackInput",
32  [SiSPSeededTrackCollectionKey])
33  kwargs.setdefault("TrackOutput", (
34  'ScoredMapInDetAmbiguityScore' + flags.Tracking.ActiveConfig.extension))
35  kwargs.setdefault("AmbiguityScoreProcessor",
36  InDetAmbiguityScoreProcessor) # TODO: check the case when it is None object
37 
38  acc.addEventAlgo(CompFactory.Trk.TrkAmbiguityScore(
39  name+flags.Tracking.ActiveConfig.extension, **kwargs))
40  return acc
41 
42 

◆ TrkAmbiguitySolver_Trig_Cfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguitySolver_Trig_Cfg (   flags,
  name = 'InDetTrig_SeededAmbiguitySolver',
**  kwargs 
)

Definition at line 161 of file TrkAmbiguitySolverConfig.py.

162  flags,
163  name='InDetTrig_SeededAmbiguitySolver',
164  **kwargs):
165  acc = ComponentAccumulator()
166 
167  from TrkConfig.TrkAmbiguityProcessorConfig import (
168  SimpleAmbiguityProcessorTool_Trig_Cfg)
169  processorTool = acc.popToolsAndMerge(
171  flags,
172  name=f"InDetTrigMT_AmbiguityProcessor_{flags.Tracking.ActiveConfig.name}"))
173 
174  kwargs.setdefault(
175  "TrackInput", f"ScoreMap{flags.Tracking.ActiveConfig.input_name}")
176  kwargs.setdefault(
177  "TrackOutput", flags.Tracking.ActiveConfig.trkTracks_IDTrig+"_Amb")
178  kwargs.setdefault("AmbiguityProcessor", processorTool)
179 
180  acc.addEventAlgo(CompFactory.Trk.TrkAmbiguitySolver(name, **kwargs))
181  return acc
182 
183 

◆ TrkAmbiguitySolver_TRT_Cfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguitySolver_TRT_Cfg (   flags,
  name = 'InDetTRT_SeededAmbiguitySolver',
  ClusterSplitProbContainer = '',
**  kwargs 
)

Definition at line 137 of file TrkAmbiguitySolverConfig.py.

138  flags,
139  name='InDetTRT_SeededAmbiguitySolver',
140  ClusterSplitProbContainer='',
141  **kwargs):
142 
143  acc = ComponentAccumulator()
144  from TrkConfig.TrkAmbiguityProcessorConfig import (
145  SimpleAmbiguityProcessorTool_TRT_Cfg)
146  InDetTRT_SeededAmbiguityProcessor = acc.popToolsAndMerge(
148  flags,
149  ClusterSplitProbContainer=ClusterSplitProbContainer))
150 
151  kwargs.setdefault("TrackInput", 'ScoredMapInDetTRT_SeededAmbiguityScore')
152  kwargs.setdefault("TrackOutput", 'ResolvedTRTSeededTracks')
153  kwargs.setdefault("AmbiguityProcessor", InDetTRT_SeededAmbiguityProcessor)
154 
155  InDetTRT_SeededAmbiguitySolver = CompFactory.Trk.TrkAmbiguitySolver(
156  name=name, **kwargs)
157  acc.addEventAlgo(InDetTRT_SeededAmbiguitySolver)
158  return acc
159 
160 

◆ TrkAmbiguitySolverCfg()

def python.TrkAmbiguitySolverConfig.TrkAmbiguitySolverCfg (   flags,
  name = "InDetAmbiguitySolver",
  ResolvedTrackCollectionKey = None,
  ClusterSplitProbContainer = '',
**  kwargs 
)

Definition at line 104 of file TrkAmbiguitySolverConfig.py.

105  flags,
106  name="InDetAmbiguitySolver",
107  ResolvedTrackCollectionKey=None,
108  ClusterSplitProbContainer='', **kwargs):
109  acc = ComponentAccumulator()
110 
111  if flags.Tracking.ActiveConfig.useTIDE_Ambi:
112  from TrkConfig.TrkAmbiguityProcessorConfig import (
113  DenseEnvironmentsAmbiguityProcessorToolCfg)
114  InDetAmbiguityProcessor = acc.popToolsAndMerge(
116  else:
117  from TrkConfig.TrkAmbiguityProcessorConfig import (
118  SimpleAmbiguityProcessorToolCfg)
119  InDetAmbiguityProcessor = acc.popToolsAndMerge(
121  flags,
122  ClusterSplitProbContainer=ClusterSplitProbContainer))
123 
124  #
125  # --- configure Ambiguity solver
126  #
127  kwargs.setdefault("TrackInput", (
128  'ScoredMapInDetAmbiguityScore' + flags.Tracking.ActiveConfig.extension))
129  kwargs.setdefault("TrackOutput", ResolvedTrackCollectionKey)
130  kwargs.setdefault("AmbiguityProcessor", InDetAmbiguityProcessor)
131 
132  acc.addEventAlgo(CompFactory.Trk.TrkAmbiguitySolver(
133  name+flags.Tracking.ActiveConfig.extension, **kwargs))
134  return acc
135 
136 
python.TrkAmbiguitySolverConfig.TrkAmbiguityScore_Trig_Cfg
def TrkAmbiguityScore_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguityScore', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:61
python.TrkAmbiguitySolverConfig.TrkAmbiguitySolver_TRT_Cfg
def TrkAmbiguitySolver_TRT_Cfg(flags, name='InDetTRT_SeededAmbiguitySolver', ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:137
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkAmbiguitySolverConfig.ITkTrkAmbiguitySolverCfg
def ITkTrkAmbiguitySolverCfg(flags, name="ITkAmbiguitySolver", ResolvedTrackCollectionKey=None, **kwargs)
Definition: TrkAmbiguitySolverConfig.py:184
python.TrkAmbiguitySolverConfig.TrkAmbiguityScore_TRT_Cfg
def TrkAmbiguityScore_TRT_Cfg(flags, name='InDetTRT_SeededAmbiguityScore', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:43
python.TrkAmbiguityProcessorConfig.DenseEnvironmentsAmbiguityScoreProcessorToolCfg
def DenseEnvironmentsAmbiguityScoreProcessorToolCfg(flags, name="InDetAmbiguityScoreProcessor", ClusterSplitProbContainer="", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:218
python.TrkAmbiguitySolverConfig.ITkTrkAmbiguityScoreCfg
def ITkTrkAmbiguityScoreCfg(flags, name="ITkAmbiguityScore", SiSPSeededTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:74
python.TrkAmbiguityProcessorConfig.SimpleAmbiguityProcessorTool_Trig_Cfg
def SimpleAmbiguityProcessorTool_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguityProcessor', **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:155
python.TrkAmbiguitySolverConfig.TrkAmbiguitySolverCfg
def TrkAmbiguitySolverCfg(flags, name="InDetAmbiguitySolver", ResolvedTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:104
python.TrkAmbiguityProcessorConfig.ITkDenseEnvironmentsAmbiguityScoreProcessorToolCfg
def ITkDenseEnvironmentsAmbiguityScoreProcessorToolCfg(flags, name="ITkAmbiguityScoreProcessor", ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:296
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.TrkAmbiguitySolverConfig.TrkAmbiguityScoreCfg
def TrkAmbiguityScoreCfg(flags, name="InDetAmbiguityScore", SiSPSeededTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:11
python.TrkAmbiguitySolverConfig.TrkAmbiguitySolver_Trig_Cfg
def TrkAmbiguitySolver_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguitySolver', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:161
python.TrkAmbiguityProcessorConfig.ITkDenseEnvironmentsAmbiguityProcessorToolCfg
def ITkDenseEnvironmentsAmbiguityProcessorToolCfg(flags, name="ITkAmbiguityProcessor", **kwargs)
Definition: TrkAmbiguityProcessorConfig.py:464