Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
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
69
of file
Tau.py
.
References
reco.isTau()
.
69
70
def
isTau
(leg):
71
'''Duck-typing a tau'''
72
try
:
73
# Method independently implemented in pat tau and PF tau
74
leg.leadPFChargedHadrCandsignedSipt()
75
except
AttributeError:
76
return
False
77
return
True
78
reco::isTau
bool isTau(const Candidate &part)
Definition:
pdgIdUtils.h:15
Generated for CMSSW Reference Manual by
1.8.5