ATLAS Offline Software
Functions
MultiSVTagConfig Namespace Reference

Functions

def MultiSVTagCfg (flags, name='MultiSVbb1Tag', taggerNameBase='MultiSVbb1', scheme='', useBTagFlagsDefaults=True, **options)
 

Function Documentation

◆ MultiSVTagCfg()

def MultiSVTagConfig.MultiSVTagCfg (   flags,
  name = 'MultiSVbb1Tag',
  taggerNameBase = 'MultiSVbb1',
  scheme = '',
  useBTagFlagsDefaults = True,
**  options 
)
Sets up a MultiSVTag tool and returns it.

The following options have BTaggingFlags defaults:

Runmodus                            default: BTagging.RunModus
taggerNameBase                      default: "MultiSVbb1"
SecVxFinderName                     default: "MSV"

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 7 of file MultiSVTagConfig.py.

7 def MultiSVTagCfg(flags, name = 'MultiSVbb1Tag', taggerNameBase = 'MultiSVbb1', scheme = '', useBTagFlagsDefaults = True, **options):
8  """Sets up a MultiSVTag tool and returns it.
9 
10  The following options have BTaggingFlags defaults:
11 
12  Runmodus default: BTagging.RunModus
13  taggerNameBase default: "MultiSVbb1"
14  SecVxFinderName default: "MSV"
15 
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"""
20  acc = ComponentAccumulator()
21  options['name'] = name
22  options['xAODBaseName'] = 'MSV'
23  if scheme == 'Trig':
24  options['HistosKey'] = 'JetTagTrigCalibHistosKey'
25 
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))
33 
34  return acc
35 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
MultiSVTagConfig.MultiSVTagCfg
def MultiSVTagCfg(flags, name='MultiSVbb1Tag', taggerNameBase='MultiSVbb1', scheme='', useBTagFlagsDefaults=True, **options)
Definition: MultiSVTagConfig.py:7