CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
DiObject.DiElectron Class Reference
Inheritance diagram for DiObject.DiElectron:
DiObject.DiObject

Public Member Functions

def __init__
 
def __str__
 
def leg1
 
def leg2
 
- Public Member Functions inherited from DiObject.DiObject
def __init__
 
def __str__
 
def sumPt
 

Public Attributes

 ele1
 
 ele2
 
- Public Attributes inherited from DiObject.DiObject
 diobject
 
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 

Detailed Description

Definition at line 58 of file DiObject.py.

Constructor & Destructor Documentation

def DiObject.DiElectron.__init__ (   self,
  diobject 
)

Definition at line 60 of file DiObject.py.

60 
61  def __init__(self, diobject):
62  super(DiElectron, self).__init__(diobject)
63  self.ele1 = Electron( diobject.leg1() )
64  self.ele2 = Electron( diobject.leg2() )

Member Function Documentation

def DiObject.DiElectron.__str__ (   self)

Definition at line 71 of file DiObject.py.

References join(), reco::MuonIsolation.sumPt, DiObject.DiObject.sumPt(), PileupJetIdentifier.sumPt(), and MBUEandQCDValidation.sumPt.

71 
72  def __str__(self):
73  header = 'DiElectron: mvis=%3.2f, sumpT=%3.2f' \
74  % (self.diobject.mass(),
75  self.sumPt() )
76  return '\n'.join( [header] )
77 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def DiObject.DiElectron.leg1 (   self)

Definition at line 65 of file DiObject.py.

References DiObject.DiElectron.ele1.

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

65 
66  def leg1(self):
67  return self.ele1
def DiObject.DiElectron.leg2 (   self)

Definition at line 68 of file DiObject.py.

References DiObject.DiElectron.ele2.

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

68 
69  def leg2(self):
70  return self.ele2

Member Data Documentation

DiObject.DiElectron.ele1

Definition at line 62 of file DiObject.py.

Referenced by DiObject.DiElectron.leg1().

DiObject.DiElectron.ele2

Definition at line 63 of file DiObject.py.

Referenced by DiObject.DiElectron.leg2().