ATLAS Offline Software
Loading...
Searching...
No Matches
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
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5from AthenaConfiguration.ComponentFactory import CompFactory
6
7def TRTTrackHoleSearchToolCfg(flags, name="TRTTrackHoleSearchTool", **kwargs):
8 acc = ComponentAccumulator()
9
10 if "extrapolator" not in kwargs:
11 from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
12 kwargs.setdefault("extrapolator", acc.popToolsAndMerge(
13 AtlasExtrapolatorCfg(flags)))
14
15 acc.setPrivateTools(CompFactory.TRTTrackHoleSearchTool(name, **kwargs))
16 return acc
17
TRTTrackHoleSearchToolCfg(flags, name="TRTTrackHoleSearchTool", **kwargs)