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 1744 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 1759 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

Referenced by trackingPlots.TrackingTimingTable.create().

1759  def _getValues(self, tdirectory, histo):
1760  h = tdirectory.Get(histo)
1761  totalReco = None
1762  if h:
1763  totalReco = "%.1f" % h.Integral()
1764 
1765  creator = AggregateBins("iteration", histo, _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1766  h = creator.create(tdirectory)
1767  totalTracking = None
1768  if h:
1769  totalTracking = "%.1f" % h.Integral()
1770 
1771  creator = AggregateBins("iteration", histo, _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1772  h = creator.create(tdirectory)
1773  totalConvStep = None
1774  if h:
1775  totalConvStep = "%.1f" % h.Integral()
1776 
1777  return [
1778  totalReco,
1779  totalTracking,
1780  totalConvStep,
1781  ]
1782 
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def _getValues(self, tdirectory, histo)
def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1783 of file trackingPlots.py.

References trackingPlots.TrackingTimingTable._getValues().

1783  def create(self, tdirectory):
1784  cpuValues = self._getValues(tdirectory, _time_per_event_cpu)
1785  realValues = self._getValues(tdirectory, _time_per_event_real)
1786 
1787  return cpuValues + realValues
1788 
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 1789 of file trackingPlots.py.

1789  def headers(self):
1790  return [
1791  "Average reco CPU time / event (ms)",
1792  "Average tracking (w/o convStep) CPU time / event (ms)",
1793  "Average convStep CPU time / event (ms)",
1794  "Average reco real time / event (ms)",
1795  "Average tracking (w/o convStep) real time / event (ms)",
1796  "Average convStep real time / event (ms)",
1797  ]
1798 

Member Data Documentation

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

Definition at line 1748 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().