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 1754 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 1769 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

1769  def _getValues(self, tdirectory, histo):
1770  h = tdirectory.Get(histo)
1771  totalReco = None
1772  if h:
1773  totalReco = "%.1f" % h.Integral()
1774 
1775  creator = AggregateBins("iteration", histo, _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1776  h = creator.create(tdirectory)
1777  totalTracking = None
1778  if h:
1779  totalTracking = "%.1f" % h.Integral()
1780 
1781  creator = AggregateBins("iteration", histo, _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1782  h = creator.create(tdirectory)
1783  totalConvStep = None
1784  if h:
1785  totalConvStep = "%.1f" % h.Integral()
1786 
1787  return [
1788  totalReco,
1789  totalTracking,
1790  totalConvStep,
1791  ]
1792 
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def _getValues(self, tdirectory, histo)
def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1793 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1793  def create(self, tdirectory):
1794  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1795  realValues = self._getValues(tdirectory, _time_per_event_real)
1796 
1797  return cpuValues + realValues
1798 
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 1799 of file trackingPlots.py.

1799  def headers(self):
1800  return [
1801  "Average reco CPU time / event (ms)",
1802  "Average tracking (w/o convStep) CPU time / event (ms)",
1803  "Average convStep CPU time / event (ms)",
1804  "Average reco real time / event (ms)",
1805  "Average tracking (w/o convStep) real time / event (ms)",
1806  "Average convStep real time / event (ms)",
1807  ]
1808 

Member Data Documentation

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

Definition at line 1758 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().