CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
trackingPlots.TrackingTimingTable Class Reference

Public Member Functions

def __init__ (self)
 
def create (self, tdirectory)
 
def getPage (self)
 
def getPurpose (self)
 
def getSection (self, dqmSubFolder)
 
def headers (self)
 

Private Member Functions

def _getValues (self, tdirectory, histo)
 

Private Attributes

 _page
 
 _purpose
 
 _section
 

Detailed Description

Definition at line 1743 of file trackingPlots.py.

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable._getValues (   self,
  tdirectory,
  histo 
)
private

Definition at line 1758 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

1758  def _getValues(self, tdirectory, histo):
1759  h = tdirectory.Get(histo)
1760  totalReco = None
1761  if h:
1762  totalReco = "%.1f" % h.Integral()
1763 
1764  creator = AggregateBins("iteration", histo, _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1765  h = creator.create(tdirectory)
1766  totalTracking = None
1767  if h:
1768  totalTracking = "%.1f" % h.Integral()
1769 
1770  creator = AggregateBins("iteration", histo, _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1771  h = creator.create(tdirectory)
1772  totalConvStep = None
1773  if h:
1774  totalConvStep = "%.1f" % h.Integral()
1775 
1776  return [
1777  totalReco,
1778  totalTracking,
1779  totalConvStep,
1780  ]
1781 
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def _getValues(self, tdirectory, histo)
def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1782 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1782  def create(self, tdirectory):
1783  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1784  realValues = self._getValues(tdirectory, _time_per_event_real)
1785 
1786  return cpuValues + realValues
1787 
def _getValues(self, tdirectory, histo)
def trackingPlots.TrackingTimingTable.getPage (   self)
def trackingPlots.TrackingTimingTable.getPurpose (   self)
def trackingPlots.TrackingTimingTable.getSection (   self,
  dqmSubFolder 
)
def trackingPlots.TrackingTimingTable.headers (   self)

Definition at line 1788 of file trackingPlots.py.

1788  def headers(self):
1789  return [
1790  "Average reco CPU time / event (ms)",
1791  "Average tracking (w/o convStep) CPU time / event (ms)",
1792  "Average convStep CPU time / event (ms)",
1793  "Average reco real time / event (ms)",
1794  "Average tracking (w/o convStep) real time / event (ms)",
1795  "Average convStep real time / event (ms)",
1796  ]
1797 

Member Data Documentation

trackingPlots.TrackingTimingTable._page
private
trackingPlots.TrackingTimingTable._purpose
private
trackingPlots.TrackingTimingTable._section
private

Definition at line 1747 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().