ATLAS Offline Software
Loading...
Searching...
No Matches
python.MSVVariablesFactoryConfig Namespace Reference

Functions

 MSVVariablesFactoryCfg (flags, name, **options)

Function Documentation

◆ MSVVariablesFactoryCfg()

python.MSVVariablesFactoryConfig.MSVVariablesFactoryCfg ( flags,
name,
** options )
Sets up a MSVVariablesFactory 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, which can then by added to ToolSvc via ToolSvc += output. Note however
that this tool also needs to be added to the main B-tagging tool.

Definition at line 6 of file MSVVariablesFactoryConfig.py.

6def MSVVariablesFactoryCfg(flags, name, **options):
7 """Sets up a MSVVariablesFactory 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 useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
13 **options: Python dictionary with options for the tool.
14 output: The actual tool, which can then by added to ToolSvc via ToolSvc += output. Note however
15 that this tool also needs to be added to the main B-tagging tool."""
16 acc = ComponentAccumulator()
17 options['name'] = name
18 acc.setPrivateTools(CompFactory.Analysis.MSVVariablesFactory(**options))
19
20 return acc