ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrkTruthCreatorToolsConfig Namespace Reference

Functions

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

Function Documentation

◆ InDetTruthMatchToolCfg()

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

Definition at line 6 of file TrkTruthCreatorToolsConfig.py.

6def InDetTruthMatchToolCfg(flags, name='InDetTruthMatchTool', **kwargs) :
7 acc = ComponentAccumulator()
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()

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

Definition at line 16 of file TrkTruthCreatorToolsConfig.py.

16def 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()

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

Definition at line 25 of file TrkTruthCreatorToolsConfig.py.

25def 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