ATLAS Offline Software
TrkVertexBilloirToolsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 # Configuration of TrkVertexBilloirTools package
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def FastVertexFitterCfg(flags, name="FastVertexFitterTool", **kwargs):
8 
9  if "LinearizedTrackFactory" not in kwargs:
10  from TrkConfig.TrkVertexFitterUtilsConfig import (
11  FullLinearizedTrackFactoryCfg)
12  kwargs.setdefault("LinearizedTrackFactory", acc.popToolsAndMerge(
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkVertexBilloirToolsConfig.FastVertexFitterCfg
def FastVertexFitterCfg(flags, name="FastVertexFitterTool", **kwargs)
Definition: TrkVertexBilloirToolsConfig.py:6
python.TrkVertexFitterUtilsConfig.FullLinearizedTrackFactoryCfg
def FullLinearizedTrackFactoryCfg(flags, name='FullLinearizedTrkFactory', **kwargs)
Definition: TrkVertexFitterUtilsConfig.py:6
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315