CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DiObject.DiObject Class Reference
Inheritance diagram for DiObject.DiObject:
DiObject.DiElectron DiObject.DiMuon DiObject.DiTau DiObject.MuonElectron DiObject.TauElectron DiObject.TauMuon DiObject.TauTau

Public Member Functions

def __init__ (self, diobject)
 
def __str__ (self)
 
def sumPt (self)
 

Public Attributes

 diobject
 
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 

Detailed Description

Generic di-object class, to handle di-objects from the EDM file

Definition at line 8 of file DiObject.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented in DiObject.TauTau, DiObject.MuonElectron, DiObject.TauElectron, DiObject.TauMuon, DiObject.DiTau, DiObject.DiElectron, and DiObject.DiMuon.

Definition at line 12 of file DiObject.py.

12  def __init__(self, diobject):
13  '''diobject is the di-object read from the edm file'''
14  self.diobject = diobject
15  self.leg1Gen = None
16  self.leg2Gen = None
17  self.leg1DeltaR = -1
18  self.leg2DeltaR = -1
19  super(DiObject, self).__init__(diobject)
20 

Member Function Documentation

◆ __str__()

def DiObject.DiObject.__str__ (   self)

◆ sumPt()

def DiObject.DiObject.sumPt (   self)

Member Data Documentation

◆ diobject

DiObject.DiObject.diobject

Definition at line 14 of file DiObject.py.

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

◆ leg1DeltaR

DiObject.DiObject.leg1DeltaR

Definition at line 17 of file DiObject.py.

◆ leg1Gen

DiObject.DiObject.leg1Gen

Definition at line 15 of file DiObject.py.

◆ leg2DeltaR

DiObject.DiObject.leg2DeltaR

Definition at line 18 of file DiObject.py.

◆ leg2Gen

DiObject.DiObject.leg2Gen

Definition at line 16 of file DiObject.py.

DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
TtFullHadEvtBuilder_cfi.sumPt
sumPt
Definition: TtFullHadEvtBuilder_cfi.py:38
str
#define str(s)
Definition: TestProcessor.cc:53
TriggerAnalyzer.__str__
def __str__(self)
Definition: TriggerAnalyzer.py:103
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
format