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 1771 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 1786 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

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

Definition at line 1810 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1810  def create(self, tdirectory):
1811  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1812  realValues = self._getValues(tdirectory, _time_per_event_real)
1813 
1814  return cpuValues + realValues
1815 
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 1816 of file trackingPlots.py.

1816  def headers(self):
1817  return [
1818  "Average reco CPU time / event (ms)",
1819  "Average tracking (w/o convStep) CPU time / event (ms)",
1820  "Average convStep CPU time / event (ms)",
1821  "Average reco real time / event (ms)",
1822  "Average tracking (w/o convStep) real time / event (ms)",
1823  "Average convStep real time / event (ms)",
1824  ]
1825 

Member Data Documentation

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

Definition at line 1775 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().