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 1757 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 1772 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

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

Definition at line 1796 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

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

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

Member Data Documentation

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

Definition at line 1761 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().