test
CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

 _page
 
 _purpose
 
 _section
 

Detailed Description

Definition at line 1027 of file trackingPlots.py.

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1042 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

1043  def create(self, tdirectory):
1044  h = tdirectory.Get("reconstruction_step_module_average")
1045  totalReco = None
1046  if h:
1047  totalReco = "%.1f" % h.Integral()
1048 
1049  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1050  h = creator.create(tdirectory)
1051  totalTracking = None
1052  if h:
1053  totalTracking = "%.1f" % h.Integral()
1054 
1055  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1056  h = creator.create(tdirectory)
1057  totalConvStep = None
1058  if h:
1059  totalConvStep = "%.1f" % h.Integral()
1060 
1061  return [
1062  totalReco,
1063  totalTracking,
1064  totalConvStep,
1065  ]
def trackingPlots.TrackingTimingTable.getPage (   self)

Definition at line 1036 of file trackingPlots.py.

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

1037  def getPage(self):
1038  return self._page
def trackingPlots.TrackingTimingTable.getPurpose (   self)

Definition at line 1033 of file trackingPlots.py.

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

1034  def getPurpose(self):
1035  return self._purpose
def trackingPlots.TrackingTimingTable.getSection (   self,
  dqmSubFolder 
)

Definition at line 1039 of file trackingPlots.py.

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

1040  def getSection(self, dqmSubFolder):
1041  return self._section
def trackingPlots.TrackingTimingTable.headers (   self)

Definition at line 1066 of file trackingPlots.py.

1067  def headers(self):
1068  return [
1069  "Average reco time / event (ms)",
1070  "Average tracking (w/o convStep) time / event (ms)",
1071  "Average convStep time / event (ms)",
1072  ]

Member Data Documentation

trackingPlots.TrackingTimingTable._page
private

Definition at line 1030 of file trackingPlots.py.

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

trackingPlots.TrackingTimingTable._purpose
private

Definition at line 1029 of file trackingPlots.py.

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

trackingPlots.TrackingTimingTable._section
private

Definition at line 1031 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().