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

Functions

 FastVertexFitterCfg (flags, name="FastVertexFitterTool", **kwargs)

Function Documentation

◆ FastVertexFitterCfg()

python.TrkVertexBilloirToolsConfig.FastVertexFitterCfg ( flags,
name = "FastVertexFitterTool",
** kwargs )

Definition at line 6 of file TrkVertexBilloirToolsConfig.py.

6def FastVertexFitterCfg(flags, name="FastVertexFitterTool", **kwargs):
7 acc = ComponentAccumulator()
8
9 if "LinearizedTrackFactory" not in kwargs:
10 from TrkConfig.TrkVertexFitterUtilsConfig import (
11 FullLinearizedTrackFactoryCfg)
12 kwargs.setdefault("LinearizedTrackFactory", acc.popToolsAndMerge(
13 FullLinearizedTrackFactoryCfg(flags)))
14
15 if "Extrapolator" not in kwargs:
16 from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
17 kwargs.setdefault("Extrapolator", acc.popToolsAndMerge(
18 InDetExtrapolatorCfg(flags)))
19
20 acc.setPrivateTools(CompFactory.Trk.FastVertexFitter(name, **kwargs))
21 return acc