ATLAS Offline Software
Functions
python.InDetJetFitterUtilsConfig Namespace Reference

Functions

def InDetJetFitterUtilsCfg (flags, name='InDetJFUtils', useBTagFlagsDefaults=True, options={})
 

Function Documentation

◆ InDetJetFitterUtilsCfg()

def python.InDetJetFitterUtilsConfig.InDetJetFitterUtilsCfg (   flags,
  name = 'InDetJFUtils',
  useBTagFlagsDefaults = True,
  options = {} 
)
Sets up a InDetJetFitterUtils tool and returns it.

The following options have BTaggingFlags defaults:

input:             name: The name of the tool (should be unique).
      useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
              **options: Python dictionary with options for the tool.
output: The actual tool.

Definition at line 9 of file InDetJetFitterUtilsConfig.py.

9 def InDetJetFitterUtilsCfg(flags, name = 'InDetJFUtils', useBTagFlagsDefaults = True, options = {}):
10  """Sets up a InDetJetFitterUtils tool and returns it.
11 
12  The following options have BTaggingFlags defaults:
13 
14  input: name: The name of the tool (should be unique).
15  useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
16  **options: Python dictionary with options for the tool.
17  output: The actual tool."""
18  acc = ComponentAccumulator()
19  if useBTagFlagsDefaults:
20  jetFitterFullLinearizedTrackFactory = acc.popToolsAndMerge(AtlasFullLinearizedTrackFactoryCfg(flags, 'JFFullLinearizedTrackFactory'))
21  jetFitterExtrapolator= acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags, 'JFExtrapolator'))
22  defaults = { 'LinearizedTrackFactory': jetFitterFullLinearizedTrackFactory,
23  'Extrapolator' : jetFitterExtrapolator }
24  for option in defaults:
25  options.setdefault(option, defaults[option])
26  options['name'] = name
27  acc.setPrivateTools(CompFactory.InDet.InDetJetFitterUtils(**options))
28 
29  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.TrkVertexFitterUtilsConfig.AtlasFullLinearizedTrackFactoryCfg
def AtlasFullLinearizedTrackFactoryCfg(flags, name='AtlasFullLinearizedTrkFactory', **kwargs)
Definition: TrkVertexFitterUtilsConfig.py:20
python.InDetJetFitterUtilsConfig.InDetJetFitterUtilsCfg
def InDetJetFitterUtilsCfg(flags, name='InDetJFUtils', useBTagFlagsDefaults=True, options={})
Definition: InDetJetFitterUtilsConfig.py:9