7 def MultiSVTagCfg(flags, name = 'MultiSVbb1Tag', taggerNameBase = 'MultiSVbb1', scheme = '', useBTagFlagsDefaults = True, **options):
8 """Sets up a MultiSVTag tool and returns it.
10 The following options have BTaggingFlags defaults:
12 Runmodus default: BTagging.RunModus
13 taggerNameBase default: "MultiSVbb1"
14 SecVxFinderName default: "MSV"
16 input: name: The name of the tool (should be unique).
17 useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
18 **options: Python dictionary with options for the tool.
19 output: The actual tool"""
21 options[
'name'] = name
22 options[
'xAODBaseName'] =
'MSV'
24 options[
'HistosKey'] =
'JetTagTrigCalibHistosKey'
26 if useBTagFlagsDefaults:
27 defaults = {
'Runmodus' : flags.BTagging.RunModus,
28 'taggerNameBase' : taggerNameBase,
29 'SecVxFinderName' :
'MSV' }
30 for option
in defaults:
31 options.setdefault(option, defaults[option])
32 acc.setPrivateTools(CompFactory.Analysis.MultiSVTag( **options))