ATLAS Offline Software
TrkDistanceFinderNeutralChargedConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def TrkDistanceFinderNeutralChargedCfg(flags, name, **options):
7  """Sets up a TrkDistanceFinderNeutralCharged tool and returns it.
8 
9  The following options have BTaggingFlags defaults:
10 
11  input: name: The name of the tool (should be unique).
12  **options: Python dictionary with options for the tool.
13  output: The actual tool, which can then by added to ToolSvc via ToolSvc += output."""
14  acc = ComponentAccumulator()
15  options['name'] = name
16  acc.setPrivateTools(CompFactory.Trk.TrkDistanceFinderNeutralCharged(**options))
17 
18  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkDistanceFinderNeutralChargedConfig.TrkDistanceFinderNeutralChargedCfg
def TrkDistanceFinderNeutralChargedCfg(flags, name, **options)
Definition: TrkDistanceFinderNeutralChargedConfig.py:6