CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DiObject.TauMuon Class Reference
Inheritance diagram for DiObject.TauMuon:
DiObject.DiTau DiObject.DiObject

Public Member Functions

def __init__ (self, diobject)
 
def leg1 (self)
 
def leg2 (self)
 
- Public Member Functions inherited from DiObject.DiTau
def __init__ (self, diobject)
 
def match (self, genParticles)
 
- Public Member Functions inherited from DiObject.DiObject
def __init__ (self, diobject)
 
def __str__ (self)
 
def sumPt (self)
 

Public Attributes

 mu
 
 tau
 
- Public Attributes inherited from DiObject.DiTau
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 
- Public Attributes inherited from DiObject.DiObject
 diobject
 
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 

Detailed Description

Holds a CMG TauMuon, and the 2 legs as a python Tau and Muon

Definition at line 117 of file DiObject.py.

Constructor & Destructor Documentation

def DiObject.TauMuon.__init__ (   self,
  diobject 
)

Definition at line 119 of file DiObject.py.

119  def __init__(self, diobject):
120  super(TauMuon, self).__init__(diobject)
121  self.tau = Tau( self.leg1() )
122  self.mu = Muon( self.leg2() )
123 
def leg2(self)
Definition: DiObject.py:127
Definition: Muon.py:1
def __init__(self, diobject)
Definition: DiObject.py:119
Definition: Tau.py:1
def leg1(self)
Definition: DiObject.py:124

Member Function Documentation

def DiObject.TauMuon.leg1 (   self)

Definition at line 124 of file DiObject.py.

References Tau.Tau.tau, L1TauRecoTreeProducer.tau, DiObject.TauMuon.tau, and TauLeptonMultiplicity.tau.

Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().

124  def leg1(self):
125  return self.tau
126 
def leg1(self)
Definition: DiObject.py:124
def DiObject.TauMuon.leg2 (   self)

Definition at line 127 of file DiObject.py.

References reco::PFCandidate.mu, Point.mu, and DiObject.TauMuon.mu.

Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().

127  def leg2(self):
128  return self.mu
129 
130 
131 
def leg2(self)
Definition: DiObject.py:127

Member Data Documentation

DiObject.TauMuon.mu

Definition at line 122 of file DiObject.py.

Referenced by DiObject.MuonElectron.leg1(), and DiObject.TauMuon.leg2().

DiObject.TauMuon.tau