ATLAS Offline Software
Functions
python.TrkTruthCreatorToolsConfig Namespace Reference

Functions

def InDetTruthMatchToolCfg (flags, name='InDetTruthMatchTool', **kwargs)
 
def ITkTruthMatchToolCfg (flags, name='ITkTruthMatchTool', **kwargs)
 
def TruthToTrackToolCfg (flags, name="TruthToTrack", **kwargs)
 

Function Documentation

◆ InDetTruthMatchToolCfg()

def python.TrkTruthCreatorToolsConfig.InDetTruthMatchToolCfg (   flags,
  name = 'InDetTruthMatchTool',
**  kwargs 
)

Definition at line 6 of file TrkTruthCreatorToolsConfig.py.

6 def InDetTruthMatchToolCfg(flags, name='InDetTruthMatchTool', **kwargs) :
8 
9  kwargs.setdefault("WeightPixel", 10.)
10  kwargs.setdefault("WeightSCT", 5.)
11  kwargs.setdefault("WeightTRT", 1.)
12 
13  acc.setPrivateTools(CompFactory.Trk.TruthMatchRatio(name, **kwargs))
14  return acc
15 

◆ ITkTruthMatchToolCfg()

def python.TrkTruthCreatorToolsConfig.ITkTruthMatchToolCfg (   flags,
  name = 'ITkTruthMatchTool',
**  kwargs 
)

Definition at line 16 of file TrkTruthCreatorToolsConfig.py.

16 def ITkTruthMatchToolCfg(flags, name='ITkTruthMatchTool', **kwargs) :
17  acc = ComponentAccumulator()
18 
19  kwargs.setdefault("WeightPixel", 10.)
20  kwargs.setdefault("WeightSCT", 5.)
21 
22  acc.setPrivateTools(CompFactory.Trk.TruthMatchRatio(name, **kwargs))
23  return acc
24 

◆ TruthToTrackToolCfg()

def python.TrkTruthCreatorToolsConfig.TruthToTrackToolCfg (   flags,
  name = "TruthToTrack",
**  kwargs 
)

Definition at line 25 of file TrkTruthCreatorToolsConfig.py.

25 def TruthToTrackToolCfg(flags, name="TruthToTrack", **kwargs):
26  acc = ComponentAccumulator()
27 
28  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
29  Extrapolator = acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags))
30  acc.addPublicTool(Extrapolator)
31  kwargs.setdefault("Extrapolator", Extrapolator)
32 
33  acc.setPrivateTools(CompFactory.Trk.TruthToTrack(name, **kwargs))
34  return acc
35 
python.TrkTruthCreatorToolsConfig.ITkTruthMatchToolCfg
def ITkTruthMatchToolCfg(flags, name='ITkTruthMatchTool', **kwargs)
Definition: TrkTruthCreatorToolsConfig.py:16
python.TrkTruthCreatorToolsConfig.InDetTruthMatchToolCfg
def InDetTruthMatchToolCfg(flags, name='InDetTruthMatchTool', **kwargs)
Definition: TrkTruthCreatorToolsConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.TrkTruthCreatorToolsConfig.TruthToTrackToolCfg
def TruthToTrackToolCfg(flags, name="TruthToTrack", **kwargs)
Definition: TrkTruthCreatorToolsConfig.py:25