ATLAS Offline Software
TrkDistanceFinderNeutralNeutralConfig.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 TrkDistanceFinderNeutralNeutralCfg(flags, name, **options):
7  """Sets up a TrkDistanceFinderNeutralNeutral 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.TrkDistanceFinderNeutralNeutral(**options))
17 
18  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkDistanceFinderNeutralNeutralConfig.TrkDistanceFinderNeutralNeutralCfg
def TrkDistanceFinderNeutralNeutralCfg(flags, name, **options)
Definition: TrkDistanceFinderNeutralNeutralConfig.py:6