test
CMS 3D CMS Logo

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

Classes

class  Tau
 

Functions

def isTau
 

Function Documentation

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

Definition at line 73 of file Tau.py.

References reco.isTau().

73 
74 def isTau(leg):
75  '''Duck-typing a tau'''
76  try:
77  # Method independently implemented in pat tau and PF tau
78  leg.leadPFChargedHadrCandsignedSipt()
79  except AttributeError:
80  return False
81  return True
82 
bool isTau(const Candidate &part)
Definition: pdgIdUtils.h:15