ATLAS Offline Software
TRT_TrackHoleSearchConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 # Configuration of TRT_TrackHoleSearch package
3 
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory import CompFactory
6 
7 def TRTTrackHoleSearchToolCfg(flags, name="TRTTrackHoleSearchTool", **kwargs):
9 
10  if "extrapolator" not in kwargs:
11  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
12  kwargs.setdefault("extrapolator", acc.addPublicTool(
13  acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags))))
14 
15  acc.setPrivateTools(CompFactory.TRTTrackHoleSearchTool(name, **kwargs))
16  return acc
17 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.TRT_TrackHoleSearchConfig.TRTTrackHoleSearchToolCfg
def TRTTrackHoleSearchToolCfg(flags, name="TRTTrackHoleSearchTool", **kwargs)
Definition: TRT_TrackHoleSearchConfig.py:7