Sets up a NewJetFitterVariablesFactory tool and returns it.
The following options have BTaggingFlags defaults:
JetFitterInstance default: "JetFitterTag"
secVxFinderName default: "JetFitterVxFinder"
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.
Definition at line 6 of file JetFitterVariablesFactoryConfig.py.
7 """Sets up a NewJetFitterVariablesFactory tool and returns it.
9 The following options have BTaggingFlags defaults:
11 JetFitterInstance default: "JetFitterTag"
12 secVxFinderName default: "JetFitterVxFinder"
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, which can then by added to ToolSvc via ToolSvc += output."""
19 if useBTagFlagsDefaults:
21 for option
in defaults:
22 options.setdefault(option, defaults[option])
23 options[
'name'] = name
24 acc.setPrivateTools(CompFactory.Analysis.JetFitterVariablesFactory(**options))