CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PileUpSummaryInfo.PileUpSummaryInfo Class Reference
Inheritance diagram for PileUpSummaryInfo.PileUpSummaryInfo:

Public Member Functions

def __getattr__ (self, name)
 
def __init__ (self, object)
 
def __str__ (self)
 
def nPU (self)
 
def nTrueInteractions (self)
 

Public Attributes

 object
 

Detailed Description

Definition at line 1 of file PileUpSummaryInfo.py.

Constructor & Destructor Documentation

def PileUpSummaryInfo.PileUpSummaryInfo.__init__ (   self,
  object 
)

Definition at line 2 of file PileUpSummaryInfo.py.

2  def __init__(self, object ):
3  self.object = object
4 

Member Function Documentation

def PileUpSummaryInfo.PileUpSummaryInfo.__getattr__ (   self,
  name 
)
all accessors  from cmg::DiTau are transferred to this class.

Definition at line 5 of file PileUpSummaryInfo.py.

References PileUpSummaryInfo.PileUpSummaryInfo.object, HLTTauDQMPath::Object.object, SingleObjectCondition.object, SingleObjectTrigger.object, and MEtoEDM< T >::MEtoEDMObject.object.

5  def __getattr__(self,name):
6  '''all accessors from cmg::DiTau are transferred to this class.'''
7  return getattr(self.object, name)
8 
def PileUpSummaryInfo.PileUpSummaryInfo.__str__ (   self)

Definition at line 15 of file PileUpSummaryInfo.py.

15  def __str__(self):
16  tmp = '{className} : bunchx = {bunchx}; numPU = {numpu}'.format(
17  className = self.__class__.__name__,
18  bunchx = self.object.getBunchCrossing(),
19  numpu = self.object.getPU_NumInteractions() )
20  return tmp
21 
def PileUpSummaryInfo.PileUpSummaryInfo.nPU (   self)

Definition at line 9 of file PileUpSummaryInfo.py.

9  def nPU(self):
10  return self.object.getPU_NumInteractions()
11 
def PileUpSummaryInfo.PileUpSummaryInfo.nTrueInteractions (   self)

Definition at line 12 of file PileUpSummaryInfo.py.

12  def nTrueInteractions(self):
13  return self.object.getTrueNumInteractions()
14 

Member Data Documentation