ATLAS Offline Software
Classes | Functions
python.TauAnalysisConfig Namespace Reference

Classes

class  EXPERIMENTAL_TauCombineMuonRemovalConfig
 
class  TauCalibrationConfig
 
class  TauTriggerAnalysisSFBlock
 
class  TauWorkingPointConfig
 

Functions

def EXPERIMENTAL_makeTauCombineMuonRemovalConfig (seq, inputTaus='TauJets', inputTausMuRM='TauJets_MuonRM', outputTaus='TauJets_MuonRmCombined', postfix='')
 
def makeTauCalibrationConfig (seq, containerName, inputContainer='TauJets', postfix=None, rerunTruthMatching=None)
 
def makeTauWorkingPointConfig (seq, containerName, workingPoint, selectionName, noEffSF=None)
 

Function Documentation

◆ EXPERIMENTAL_makeTauCombineMuonRemovalConfig()

def python.TauAnalysisConfig.EXPERIMENTAL_makeTauCombineMuonRemovalConfig (   seq,
  inputTaus = 'TauJets',
  inputTausMuRM = 'TauJets_MuonRM',
  outputTaus = 'TauJets_MuonRmCombined',
  postfix = '' 
)

Definition at line 288 of file TauAnalysisConfig.py.

288 def EXPERIMENTAL_makeTauCombineMuonRemovalConfig( seq, inputTaus = 'TauJets',
289  inputTausMuRM = 'TauJets_MuonRM',
290  outputTaus = 'TauJets_MuonRmCombined',
291  postfix = ''):
292  config = EXPERIMENTAL_TauCombineMuonRemovalConfig (
293  inputTaus = inputTaus,
294  inputTausMuRM = inputTausMuRM,
295  outputTaus = outputTaus,
296  postfix = postfix,
297  )
298  seq.append (config)
299 
300 

◆ makeTauCalibrationConfig()

def python.TauAnalysisConfig.makeTauCalibrationConfig (   seq,
  containerName,
  inputContainer = 'TauJets',
  postfix = None,
  rerunTruthMatching = None 
)
Create tau 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:
  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.
  rerunTruthMatching -- Whether or not to rerun truth matching

Definition at line 301 of file TauAnalysisConfig.py.

301 def makeTauCalibrationConfig( seq, containerName, inputContainer='TauJets',
302  postfix = None, rerunTruthMatching = None):
303  """Create tau calibration analysis algorithms
304 
305  This makes all the algorithms that need to be run first befor
306  all working point specific algorithms and that can be shared
307  between the working points.
308 
309  Keyword arguments:
310  postfix -- a postfix to apply to decorations and algorithm
311  names. this is mostly used/needed when using this
312  sequence with multiple working points to ensure all
313  names are unique.
314  rerunTruthMatching -- Whether or not to rerun truth matching
315  """
316 
317  config = TauCalibrationConfig (containerName)
318  config.setOptionValue ('inputContainer', inputContainer)
319  if postfix is not None :
320  config.setOptionValue ('postfix', postfix)
321  if rerunTruthMatching is not None :
322  config.setOptionValue ('rerunTruthMatching', rerunTruthMatching)
323  seq.append (config)
324 
325 
326 
327 
328 

◆ makeTauWorkingPointConfig()

def python.TauAnalysisConfig.makeTauWorkingPointConfig (   seq,
  containerName,
  workingPoint,
  selectionName,
  noEffSF = None 
)
Create tau analysis algorithms for a single working point

Keyword arguments:
  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.
  noEffSF -- Disables the calculation of efficiencies and scale factors

Definition at line 329 of file TauAnalysisConfig.py.

329 def makeTauWorkingPointConfig( seq, containerName, workingPoint, selectionName,
330  noEffSF = None ):
331  """Create tau analysis algorithms for a single working point
332 
333  Keyword arguments:
334  selectionName -- a postfix to apply to decorations and algorithm
335  names. this is mostly used/needed when using this
336  sequence with multiple working points to ensure all
337  names are unique.
338  noEffSF -- Disables the calculation of efficiencies and scale factors
339  """
340 
341  config = TauWorkingPointConfig (containerName, selectionName)
342  if workingPoint is not None :
343  splitWP = workingPoint.split ('.')
344  if len (splitWP) != 1 :
345  raise ValueError ('working point should be of format "quality", not ' + workingPoint)
346  config.setOptionValue ('quality', splitWP[0])
347  config.setOptionValue ('noEffSF', noEffSF)
348  seq.append (config)
349 
350 
python.TauAnalysisConfig.EXPERIMENTAL_makeTauCombineMuonRemovalConfig
def EXPERIMENTAL_makeTauCombineMuonRemovalConfig(seq, inputTaus='TauJets', inputTausMuRM='TauJets_MuonRM', outputTaus='TauJets_MuonRmCombined', postfix='')
Definition: TauAnalysisConfig.py:288
python.TauAnalysisConfig.makeTauCalibrationConfig
def makeTauCalibrationConfig(seq, containerName, inputContainer='TauJets', postfix=None, rerunTruthMatching=None)
Definition: TauAnalysisConfig.py:301
python.TauAnalysisConfig.makeTauWorkingPointConfig
def makeTauWorkingPointConfig(seq, containerName, workingPoint, selectionName, noEffSF=None)
Definition: TauAnalysisConfig.py:329