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
PileUpSummaryInfo.PileUpSummaryInfo Class Reference
Inheritance diagram for PileUpSummaryInfo.PileUpSummaryInfo:

Public Member Functions

def __getattr__
 
def __init__
 
def __str__
 
def nPU
 
def nTrueInteractions
 

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 
3  def __init__(self, object ):
4  self.object = object

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 
6  def __getattr__(self,name):
7  '''all accessors from cmg::DiTau are transferred to this class.'''
8  return getattr(self.object, name)
def PileUpSummaryInfo.PileUpSummaryInfo.__str__ (   self)

Definition at line 15 of file PileUpSummaryInfo.py.

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

Definition at line 9 of file PileUpSummaryInfo.py.

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

Definition at line 12 of file PileUpSummaryInfo.py.

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

Member Data Documentation

PileUpSummaryInfo.PileUpSummaryInfo.object

Definition at line 3 of file PileUpSummaryInfo.py.

Referenced by PileUpSummaryInfo.PileUpSummaryInfo.__getattr__().