CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
Tau Namespace Reference

Classes

class  Tau
 

Functions

def isTau
 

Variables

list cutsElectronMVA3Medium = [0.933,0.921,0.944,0.945,0.918,0.941,0.981,0.943,0.956,0.947,0.951,0.95,0.897,0.958,0.955,0.942]
 

Function Documentation

def Tau.isTau (   leg)
Duck-typing a tau

Definition at line 76 of file Tau.py.

References reco.isTau().

76 
77 def isTau(leg):
78  '''Duck-typing a tau'''
79  try:
80  # Taken from BaseTau to work for both PFTaus and PAT Taus
81  # (can maybe find a less expensive method)
82  leg.leadTrack()
83  except AttributeError:
84  return False
85  return True
86 
bool isTau(const Candidate &part)
Definition: pdgIdUtils.h:15

Variable Documentation

list Tau.cutsElectronMVA3Medium = [0.933,0.921,0.944,0.945,0.918,0.941,0.981,0.943,0.956,0.947,0.951,0.95,0.897,0.958,0.955,0.942]

Definition at line 5 of file Tau.py.