ATLAS Offline Software
Classes | Functions
python.DiTauAnalysisConfig Namespace Reference

Classes

class  DiTauCalibrationConfig
 
class  DiTauWorkingPointConfig
 

Functions

def makeDiTauCalibrationConfig (seq, containerName, postfix='', rerunTruthMatching=True)
 
def makeDiTauWorkingPointConfig (seq, containerName, workingPoint, postfix, legacyRecommendations=False)
 

Function Documentation

◆ makeDiTauCalibrationConfig()

def python.DiTauAnalysisConfig.makeDiTauCalibrationConfig (   seq,
  containerName,
  postfix = '',
  rerunTruthMatching = True 
)
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 95 of file DiTauAnalysisConfig.py.

95 def makeDiTauCalibrationConfig( seq, containerName, postfix = '',
96  rerunTruthMatching = True):
97  """Create tau calibration analysis algorithms
98 
99  This makes all the algorithms that need to be run first befor
100  all working point specific algorithms and that can be shared
101  between the working points.
102 
103  Keyword arguments:
104  postfix -- a postfix to apply to decorations and algorithm
105  names. this is mostly used/needed when using this
106  sequence with multiple working points to ensure all
107  names are unique.
108  rerunTruthMatching -- Whether or not to rerun truth matching
109  """
110 
111  config = DiTauCalibrationConfig (containerName, postfix)
112  config.rerunTruthMatching = rerunTruthMatching
113  seq.append (config)
114 
115 
116 
117 
118 

◆ makeDiTauWorkingPointConfig()

def python.DiTauAnalysisConfig.makeDiTauWorkingPointConfig (   seq,
  containerName,
  workingPoint,
  postfix,
  legacyRecommendations = False 
)
Create tau analysis algorithms for a single working point

Keyword arguments:
  legacyRecommendations -- use legacy tau BDT and electron veto recommendations
  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 119 of file DiTauAnalysisConfig.py.

119 def makeDiTauWorkingPointConfig( seq, containerName, workingPoint, postfix,
120  legacyRecommendations = False):
121  """Create tau analysis algorithms for a single working point
122 
123  Keyword arguments:
124  legacyRecommendations -- use legacy tau BDT and electron veto recommendations
125  postfix -- a postfix to apply to decorations and algorithm
126  names. this is mostly used/needed when using this
127  sequence with multiple working points to ensure all
128  names are unique.
129  """
130 
131  splitWP = workingPoint.split ('.')
132  if len (splitWP) != 1 :
133  raise ValueError ('working point should be of format "quality", not ' + workingPoint)
134 
135  config = DiTauWorkingPointConfig (containerName, postfix, splitWP[0])
136  config.legacyRecommendations = legacyRecommendations
137  seq.append (config)
python.DiTauAnalysisConfig.makeDiTauWorkingPointConfig
def makeDiTauWorkingPointConfig(seq, containerName, workingPoint, postfix, legacyRecommendations=False)
Definition: DiTauAnalysisConfig.py:119
python.DiTauAnalysisConfig.makeDiTauCalibrationConfig
def makeDiTauCalibrationConfig(seq, containerName, postfix='', rerunTruthMatching=True)
Definition: DiTauAnalysisConfig.py:95