ATLAS Offline Software
Classes | Functions
python.MuonAnalysisConfig Namespace Reference

Classes

class  MuonCalibrationConfig
 
class  MuonTriggerAnalysisSFBlock
 
class  MuonWorkingPointConfig
 

Functions

def makeMuonCalibrationConfig (seq, containerName, postfix=None)
 
def makeMuonWorkingPointConfig (seq, containerName, workingPoint, selectionName, qualitySelectionOutput=None, systematicBreakdown=None, noEffSF=None, onlyRecoEffSF=None)
 

Function Documentation

◆ makeMuonCalibrationConfig()

def python.MuonAnalysisConfig.makeMuonCalibrationConfig (   seq,
  containerName,
  postfix = None 
)
Create muon calibration analysis algorithms

This makes all the algorithms that need to be run first befor
all working point specific algorithms and that can be shared
between the working points.

Keyword arguments:
  containerName -- name of the output container
  postfix -- a postfix to apply to decorations and algorithm
             names.  this is mostly used/needed when using this
             sequence with multiple working points to ensure all
             names are unique.

Definition at line 321 of file MuonAnalysisConfig.py.

321 def makeMuonCalibrationConfig( seq, containerName,
322  postfix = None):
323  """Create muon calibration analysis algorithms
324 
325  This makes all the algorithms that need to be run first befor
326  all working point specific algorithms and that can be shared
327  between the working points.
328 
329  Keyword arguments:
330  containerName -- name of the output container
331  postfix -- a postfix to apply to decorations and algorithm
332  names. this is mostly used/needed when using this
333  sequence with multiple working points to ensure all
334  names are unique.
335  """
336 
337  config = MuonCalibrationConfig (containerName)
338  config.setOptionValue ('postfix', postfix)
339  seq.append (config)
340 
341 
342 
343 
344 

◆ makeMuonWorkingPointConfig()

def python.MuonAnalysisConfig.makeMuonWorkingPointConfig (   seq,
  containerName,
  workingPoint,
  selectionName,
  qualitySelectionOutput = None,
  systematicBreakdown = None,
  noEffSF = None,
  onlyRecoEffSF = None 
)
Create muon analysis algorithms for a single working point

Keyword arguments:
  workingPoint -- The working point to use
  selectionName -- a postfix to apply to decorations and algorithm
             names.  this is mostly used/needed when using this
             sequence with multiple working points to ensure all
             names are unique.
  qualitySelectionOutput -- Whether or not to apply muon quality selection
                            when creating output containers.
  systematicBreakdown -- enables the full breakdown of eff SF systematics
  noEffSF -- Disables the calculation of efficiencies and scale factors
  onlyRecoEffSF -- Only enables the reconstruction scale factor

Definition at line 345 of file MuonAnalysisConfig.py.

345 def makeMuonWorkingPointConfig( seq, containerName, workingPoint, selectionName,
346  qualitySelectionOutput = None,
347  systematicBreakdown = None,
348  noEffSF = None,
349  onlyRecoEffSF = None ):
350  """Create muon analysis algorithms for a single working point
351 
352  Keyword arguments:
353  workingPoint -- The working point to use
354  selectionName -- a postfix to apply to decorations and algorithm
355  names. this is mostly used/needed when using this
356  sequence with multiple working points to ensure all
357  names are unique.
358  qualitySelectionOutput -- Whether or not to apply muon quality selection
359  when creating output containers.
360  systematicBreakdown -- enables the full breakdown of eff SF systematics
361  noEffSF -- Disables the calculation of efficiencies and scale factors
362  onlyRecoEffSF -- Only enables the reconstruction scale factor
363  """
364 
365 
366  config = MuonWorkingPointConfig (containerName, selectionName)
367  if workingPoint is not None :
368  splitWP = workingPoint.split ('.')
369  if len (splitWP) != 2 :
370  raise ValueError ('working point should be of format "quality.isolation", not ' + workingPoint)
371  config.setOptionValue ('quality', splitWP[0])
372  config.setOptionValue ('isolation', splitWP[1])
373  config.setOptionValue ('qualitySelectionOutput', qualitySelectionOutput)
374  config.setOptionValue ('systematicBreakdown', systematicBreakdown)
375  config.setOptionValue ('noEffSF', noEffSF)
376  config.setOptionValue ('onlyRecoEffSF', onlyRecoEffSF)
377  seq.append (config)
378 
379 
python.MuonAnalysisConfig.makeMuonWorkingPointConfig
def makeMuonWorkingPointConfig(seq, containerName, workingPoint, selectionName, qualitySelectionOutput=None, systematicBreakdown=None, noEffSF=None, onlyRecoEffSF=None)
Definition: MuonAnalysisConfig.py:345
python.MuonAnalysisConfig.makeMuonCalibrationConfig
def makeMuonCalibrationConfig(seq, containerName, postfix=None)
Definition: MuonAnalysisConfig.py:321