ATLAS Offline Software
Loading...
Searching...
No Matches
MatchingConfig.py
Go to the documentation of this file.
2# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3#
4
5
6from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7from AthenaConfiguration.ComponentFactory import CompFactory
8# from AthenaCommon.Logging import logging
9
10def TrackViewMatchingToolCfg( flags, name="TrackViewMatchingTool", **kwargs ):
11 '''
12 TrackView-based matching tool (TMatchingTool<const TrackView>).
13 Gaudi properties: MatcherType, DeltaR, DeltaEta, DeltaPhi.
14 Valid MatcherType values: DeltaR, DeltaPhi, DeltaRZ, DeltaRZSinTheta,
15 Sigma, SecondBestpT, Default.
16 '''
17 acc = ComponentAccumulator()
18
19 for key, value in flags.node_flags():
20 kwargs.setdefault( key, value )
21
22 acc.setPrivateTools( CompFactory.IDTPM2.TrackViewMatchingTool( name, **kwargs ) )
23 return acc
24
25
26
TrackViewMatchingToolCfg(flags, name="TrackViewMatchingTool", **kwargs)