test
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
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
reco::isTau
bool isTau(const Candidate &part)
Definition:
pdgIdUtils.h:15
Generated for CMSSW Reference Manual by
1.8.5