ATLAS Offline Software
JetFitterMode3dTo1dFinderConfig.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 JetFitterMode3dTo1dFinderCfg(flags, name, useBTagFlagsDefaults = True, **options):
7  """Sets up a JetFitterMode3dTo1dFinder tool and returns it.
8 
9  input: name: The name of the tool (should be unique).
10  useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
11  Note however that this tool has no BTaggingFlags defaults; the option is
12  here only for consistency.
13  **options: Python dictionary with options for the tool.
14  output: The actual tool, which can then by added to ToolSvc via ToolSvc += output."""
15  acc = ComponentAccumulator()
16  options['name'] = name
17  acc.setPrivateTools(CompFactory.Trk.Mode3dTo1dFinder(**options))
18 
19  return acc
python.JetFitterMode3dTo1dFinderConfig.JetFitterMode3dTo1dFinderCfg
def JetFitterMode3dTo1dFinderCfg(flags, name, useBTagFlagsDefaults=True, **options)
Definition: JetFitterMode3dTo1dFinderConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302