CMS 3D CMS Logo

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__ (self, diobject)
 
def __str__ (self)
 
def leg1 (self)
 
def leg2 (self)
 
- Public Member Functions inherited from DiObject.DiObject
def __init__ (self, diobject)
 
def __str__ (self)
 
def sumPt (self)
 

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

◆ __init__()

def DiObject.DiElectron.__init__ (   self,
  diobject 
)

Definition at line 60 of file DiObject.py.

60  def __init__(self, diobject):
61  super(DiElectron, self).__init__(diobject)
62  self.ele1 = Electron( diobject.leg1() )
63  self.ele2 = Electron( diobject.leg2() )
64 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __str__()

def DiObject.DiElectron.__str__ (   self)

◆ leg1()

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  def leg1(self):
66  return self.ele1
67 

◆ leg2()

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  def leg2(self):
69  return self.ele2
70 

Member Data Documentation

◆ ele1

DiObject.DiElectron.ele1

Definition at line 62 of file DiObject.py.

Referenced by DiObject.DiElectron.leg1().

◆ ele2

DiObject.DiElectron.ele2

Definition at line 63 of file DiObject.py.

Referenced by DiObject.DiElectron.leg2().