ATLAS Offline Software
Functions
python.TrkVertexToolsConfig Namespace Reference

Functions

def SumPt2VertexCollectionSortingToolCfg (flags, name="SumPt2VertexCollectionSortingTool", **kwargs)
 
def SumPtVertexCollectionSortingToolCfg (flags, name="SumPtVertexCollectionSortingTool", **kwargs)
 
def JetRestrictedSumPt2VertexCollectionSortingToolCfg (flags, name="JetRestrictedSumPt2VertexCollectionSortingTool", **kwargs)
 
def VertexCollectionSortingToolCfg (flags, **kwargs)
 
def SecVertexMergingToolCfg (flags, name='SecVertexMergingTool', **kwargs)
 

Function Documentation

◆ JetRestrictedSumPt2VertexCollectionSortingToolCfg()

def python.TrkVertexToolsConfig.JetRestrictedSumPt2VertexCollectionSortingToolCfg (   flags,
  name = "JetRestrictedSumPt2VertexCollectionSortingTool",
**  kwargs 
)

Definition at line 38 of file TrkVertexToolsConfig.py.

38 def JetRestrictedSumPt2VertexCollectionSortingToolCfg(flags, name="JetRestrictedSumPt2VertexCollectionSortingTool", **kwargs):
39  acc = ComponentAccumulator()
40 
41  if "VertexWeightCalculator" not in kwargs:
42  from TrkConfig.TrkVertexWeightCalculatorsConfig import (
43  JetRestrictedSumPt2VertexWeightCalculatorCfg)
44  kwargs.setdefault("VertexWeightCalculator", acc.popToolsAndMerge(
46 
47  kwargs.setdefault("decorationName", "sumPt2")
48 
49  acc.setPrivateTools(
50  CompFactory.Trk.VertexCollectionSortingTool(name,**kwargs))
51  return acc
52 
53 

◆ SecVertexMergingToolCfg()

def python.TrkVertexToolsConfig.SecVertexMergingToolCfg (   flags,
  name = 'SecVertexMergingTool',
**  kwargs 
)

Definition at line 66 of file TrkVertexToolsConfig.py.

66 def SecVertexMergingToolCfg(flags, name='SecVertexMergingTool', **kwargs):
67 
68  acc = ComponentAccumulator()
69 
70  if "VertexFitterTool" not in kwargs:
71  from TrkConfig.TrkVertexFittersConfig import AdaptiveVertexFitterCfg
72  kwargs.setdefault("VertexFitterTool", acc.popToolsAndMerge(AdaptiveVertexFitterCfg(flags)))
73 
74  kwargs.setdefault("MininumDistance", 5.0)
75  kwargs.setdefault("CompatibilityDimension", 2)
76 
77 
78  acc.setPrivateTools(CompFactory.Trk.SecVertexMergingTool(name,**kwargs))
79  return acc

◆ SumPt2VertexCollectionSortingToolCfg()

def python.TrkVertexToolsConfig.SumPt2VertexCollectionSortingToolCfg (   flags,
  name = "SumPt2VertexCollectionSortingTool",
**  kwargs 
)

Definition at line 7 of file TrkVertexToolsConfig.py.

7 def SumPt2VertexCollectionSortingToolCfg(flags, name="SumPt2VertexCollectionSortingTool", **kwargs):
9 
10  if "VertexWeightCalculator" not in kwargs:
11  from TrkConfig.TrkVertexWeightCalculatorsConfig import (
12  SumPt2VertexWeightCalculatorCfg)
13  kwargs.setdefault("VertexWeightCalculator", acc.popToolsAndMerge(
15 
16  kwargs.setdefault("decorationName", "sumPt2")
17 
18  acc.setPrivateTools(
19  CompFactory.Trk.VertexCollectionSortingTool(name,**kwargs))
20  return acc
21 

◆ SumPtVertexCollectionSortingToolCfg()

def python.TrkVertexToolsConfig.SumPtVertexCollectionSortingToolCfg (   flags,
  name = "SumPtVertexCollectionSortingTool",
**  kwargs 
)

Definition at line 22 of file TrkVertexToolsConfig.py.

22 def SumPtVertexCollectionSortingToolCfg(flags, name="SumPtVertexCollectionSortingTool", **kwargs):
23  acc = ComponentAccumulator()
24 
25  if "VertexWeightCalculator" not in kwargs:
26  from TrkConfig.TrkVertexWeightCalculatorsConfig import (
27  SumPtVertexWeightCalculatorCfg)
28  kwargs.setdefault("VertexWeightCalculator", acc.popToolsAndMerge(
30 
31  kwargs.setdefault("decorationName", "sumPt")
32 
33  acc.setPrivateTools(
34  CompFactory.Trk.VertexCollectionSortingTool(name,**kwargs))
35  return acc
36 
37 

◆ VertexCollectionSortingToolCfg()

def python.TrkVertexToolsConfig.VertexCollectionSortingToolCfg (   flags,
**  kwargs 
)

Definition at line 54 of file TrkVertexToolsConfig.py.

54 def VertexCollectionSortingToolCfg(flags, **kwargs):
55  if flags.Tracking.PriVertex.sortingSetup == \
56  VertexSortingSetup.SumPt2Sorting:
57  return SumPt2VertexCollectionSortingToolCfg(flags, **kwargs)
58  elif flags.Tracking.PriVertex.sortingSetup == \
59  VertexSortingSetup.SumPtSorting:
60  return SumPtVertexCollectionSortingToolCfg(flags, **kwargs)
61  elif flags.Tracking.PriVertex.sortingSetup == \
62  VertexSortingSetup.JetWeightedSumPt2Sorting:
64 
65 
python.TrkVertexToolsConfig.SumPt2VertexCollectionSortingToolCfg
def SumPt2VertexCollectionSortingToolCfg(flags, name="SumPt2VertexCollectionSortingTool", **kwargs)
Definition: TrkVertexToolsConfig.py:7
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkVertexFittersConfig.AdaptiveVertexFitterCfg
def AdaptiveVertexFitterCfg(flags, name="AdaptiveVertexFitter", **kwargs)
Definition: TrkVertexFittersConfig.py:76
python.TrkVertexToolsConfig.SumPtVertexCollectionSortingToolCfg
def SumPtVertexCollectionSortingToolCfg(flags, name="SumPtVertexCollectionSortingTool", **kwargs)
Definition: TrkVertexToolsConfig.py:22
python.TrkVertexWeightCalculatorsConfig.SumPt2VertexWeightCalculatorCfg
def SumPt2VertexWeightCalculatorCfg(flags, name="SumPt2VertexWeightCalculator", **kwargs)
Definition: TrkConfig/python/TrkVertexWeightCalculatorsConfig.py:7
python.TrkVertexToolsConfig.VertexCollectionSortingToolCfg
def VertexCollectionSortingToolCfg(flags, **kwargs)
Definition: TrkVertexToolsConfig.py:54
python.TrkVertexWeightCalculatorsConfig.SumPtVertexWeightCalculatorCfg
def SumPtVertexWeightCalculatorCfg(flags, name="SumPtVertexWeightCalculator", **kwargs)
Definition: TrkConfig/python/TrkVertexWeightCalculatorsConfig.py:16
python.TrkVertexToolsConfig.SecVertexMergingToolCfg
def SecVertexMergingToolCfg(flags, name='SecVertexMergingTool', **kwargs)
Definition: TrkVertexToolsConfig.py:66
python.TrkVertexToolsConfig.JetRestrictedSumPt2VertexCollectionSortingToolCfg
def JetRestrictedSumPt2VertexCollectionSortingToolCfg(flags, name="JetRestrictedSumPt2VertexCollectionSortingTool", **kwargs)
Definition: TrkVertexToolsConfig.py:38
python.TrkVertexWeightCalculatorsConfig.JetRestrictedSumPt2VertexWeightCalculatorCfg
def JetRestrictedSumPt2VertexWeightCalculatorCfg(flags, name="JetRestrictedSumPt2VertexWeightCalculator", TrackParticleLocation="InDetTrackParticles", **kwargs)
Definition: TrkConfig/python/TrkVertexWeightCalculatorsConfig.py:77