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 match (self, genParticles)
 
- Public Member Functions inherited from DiObject.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

◆ __init__()

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

Reimplemented from DiObject.DiTau.

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 

Member Function Documentation

◆ leg1()

def DiObject.TauMuon.leg1 (   self)

Definition at line 124 of file DiObject.py.

124  def leg1(self):
125  return self.tau
126 

References Tau.Tau.tau, reco::JetFlavour::Leptons.tau, L1TauRecoTreeProducer.tau, DiObject.TauMuon.tau, and TauLeptonMultiplicity.tau.

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

◆ leg2()

def DiObject.TauMuon.leg2 (   self)

Definition at line 127 of file DiObject.py.

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

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

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

Member Data Documentation

◆ mu

DiObject.TauMuon.mu

Definition at line 122 of file DiObject.py.

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

◆ tau

DiObject.TauMuon.tau
Tau
Definition: Tau.py:1
Muon
Definition: Muon.py:1