CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DiObject.MuonElectron Class Reference
Inheritance diagram for DiObject.MuonElectron:
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 match (self, genParticles)
 
- Public Member Functions inherited from DiObject.DiObject
def __str__ (self)
 
def sumPt (self)
 

Public Attributes

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

Detailed Description

Definition at line 145 of file DiObject.py.

Constructor & Destructor Documentation

◆ __init__()

def DiObject.MuonElectron.__init__ (   self,
  diobject 
)
diobject is the di-object read from the edm file

Reimplemented from DiObject.DiTau.

Definition at line 146 of file DiObject.py.

146  def __init__(self, diobject):
147  super(MuonElectron, self).__init__(diobject)
148  self.mu = Muon( diobject.leg1() )
149  self.ele = HTauTauElectron( diobject.leg2() )
150 

Member Function Documentation

◆ leg1()

def DiObject.MuonElectron.leg1 (   self)

Definition at line 151 of file DiObject.py.

151  def leg1(self):
152  return self.mu
153 

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

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

◆ leg2()

def DiObject.MuonElectron.leg2 (   self)

Definition at line 154 of file DiObject.py.

154  def leg2(self):
155  return self.ele
156 
157 

References DiObject.TauElectron.ele, and DiObject.MuonElectron.ele.

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

Member Data Documentation

◆ ele

DiObject.MuonElectron.ele

Definition at line 149 of file DiObject.py.

Referenced by DiObject.MuonElectron.leg2().

◆ mu

DiObject.MuonElectron.mu

Definition at line 148 of file DiObject.py.

Referenced by DiObject.MuonElectron.leg1().

Muon
Definition: Muon.py:1