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 1776 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 1791 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

1791  def _getValues(self, tdirectory, histo):
1792  h = tdirectory.Get(histo)
1793  totalReco = None
1794  if h:
1795  totalReco = "%.1f" % h.Integral()
1796 
1797  creator = AggregateBins("iteration", histo, _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1798  h = creator.create(tdirectory)
1799  totalTracking = None
1800  if h:
1801  totalTracking = "%.1f" % h.Integral()
1802 
1803  creator = AggregateBins("iteration", histo, _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1804  h = creator.create(tdirectory)
1805  totalConvStep = None
1806  if h:
1807  totalConvStep = "%.1f" % h.Integral()
1808 
1809  return [
1810  totalReco,
1811  totalTracking,
1812  totalConvStep,
1813  ]
1814 
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def _getValues(self, tdirectory, histo)
def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1815 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1815  def create(self, tdirectory):
1816  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1817  realValues = self._getValues(tdirectory, _time_per_event_real)
1818 
1819  return cpuValues + realValues
1820 
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 1821 of file trackingPlots.py.

1821  def headers(self):
1822  return [
1823  "Average reco CPU time / event (ms)",
1824  "Average tracking (w/o convStep) CPU time / event (ms)",
1825  "Average convStep CPU time / event (ms)",
1826  "Average reco real time / event (ms)",
1827  "Average tracking (w/o convStep) real time / event (ms)",
1828  "Average convStep real time / event (ms)",
1829  ]
1830 

Member Data Documentation

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

Definition at line 1780 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().