Classes
|
Functions
Tau Namespace Reference
Classes
class
Tau
Functions
def
isTau
(leg)
Function Documentation
◆
isTau()
def Tau.isTau
(
leg
)
Duck-typing a tau
Definition at line
73
of file
Tau.py
.
73
def
isTau
(leg):
74
'''Duck-typing a tau'''
75
try
:
76
# Method independently implemented in pat tau and PF tau
77
leg.leadPFChargedHadrCandsignedSipt()
78
except
AttributeError:
79
return
False
80
return
True
81
Tau.isTau
def isTau(leg)
Definition:
Tau.py:73
Generated for CMSSW Reference Manual by
1.8.16