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

◆ __init__()

def PileUpSummaryInfo.PileUpSummaryInfo.__init__ (   self,
  object 
)

Definition at line 2 of file PileUpSummaryInfo.py.

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

◆ __getattr__()

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 

◆ __str__()

def PileUpSummaryInfo.PileUpSummaryInfo.__str__ (   self)

Definition at line 15 of file PileUpSummaryInfo.py.

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

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 
22 

◆ nPU()

def PileUpSummaryInfo.PileUpSummaryInfo.nPU (   self)

Definition at line 9 of file PileUpSummaryInfo.py.

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

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

◆ nTrueInteractions()

def PileUpSummaryInfo.PileUpSummaryInfo.nTrueInteractions (   self)

Definition at line 12 of file PileUpSummaryInfo.py.

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

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

Member Data Documentation

◆ object