CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
trackingPlots.TrackingTimingTable Class Reference

Public Member Functions

def __init__
 
def create
 
def getPage
 
def getPurpose
 
def getSection
 
def headers
 

Private Member Functions

def _getValues
 

Private Attributes

 _page
 
 _purpose
 
 _section
 

Detailed Description

Definition at line 1797 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 1812 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

1813  def _getValues(self, tdirectory, histo):
1814  h = tdirectory.Get(histo)
1815  totalReco = None
1816  if h:
1817  totalReco = "%.1f" % h.Integral()
1818 
1819  creator = AggregateBins("iteration", histo, _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1820  h = creator.create(tdirectory)
1821  totalTracking = None
1822  if h:
1823  totalTracking = "%.1f" % h.Integral()
1824 
1825  creator = AggregateBins("iteration", histo, _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1826  h = creator.create(tdirectory)
1827  totalConvStep = None
1828  if h:
1829  totalConvStep = "%.1f" % h.Integral()
1830 
1831  return [
1832  totalReco,
1833  totalTracking,
1834  totalConvStep,
1835  ]
def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1836 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1837  def create(self, tdirectory):
1838  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1839  realValues = self._getValues(tdirectory, _time_per_event_real)
1840 
1841  return cpuValues + realValues
def trackingPlots.TrackingTimingTable.getPage (   self)

Definition at line 1806 of file trackingPlots.py.

References html.Table._page, trackingPlots.TrackingSummaryTable._page, trackingPlots.TrackingTimingTable._page, and plotting.PlotFolder._page.

1807  def getPage(self):
1808  return self._page
def trackingPlots.TrackingTimingTable.getPurpose (   self)

Definition at line 1803 of file trackingPlots.py.

References html.Table._purpose, trackingPlots.TrackingSummaryTable._purpose, trackingPlots.TrackingTimingTable._purpose, and plotting.PlotFolder._purpose.

1804  def getPurpose(self):
1805  return self._purpose
def trackingPlots.TrackingTimingTable.getSection (   self,
  dqmSubFolder 
)

Definition at line 1809 of file trackingPlots.py.

References html.Table._section, trackingPlots.TrackingSummaryTable._section, trackingPlots.TrackingTimingTable._section, and plotting.PlotFolder._section.

1810  def getSection(self, dqmSubFolder):
1811  return self._section
def trackingPlots.TrackingTimingTable.headers (   self)

Definition at line 1842 of file trackingPlots.py.

1843  def headers(self):
1844  return [
1845  "Average reco CPU time / event (ms)",
1846  "Average tracking (w/o convStep) CPU time / event (ms)",
1847  "Average convStep CPU time / event (ms)",
1848  "Average reco real time / event (ms)",
1849  "Average tracking (w/o convStep) real time / event (ms)",
1850  "Average convStep real time / event (ms)",
1851  ]

Member Data Documentation

trackingPlots.TrackingTimingTable._page
private

Definition at line 1800 of file trackingPlots.py.

Referenced by vertexPlots.VertexSummaryTable.getPage(), and trackingPlots.TrackingTimingTable.getPage().

trackingPlots.TrackingTimingTable._purpose
private

Definition at line 1799 of file trackingPlots.py.

Referenced by vertexPlots.VertexSummaryTable.getPurpose(), and trackingPlots.TrackingTimingTable.getPurpose().

trackingPlots.TrackingTimingTable._section
private

Definition at line 1801 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().