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

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1275 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

1276  def create(self, tdirectory):
1277  h = tdirectory.Get("reconstruction_step_module_average")
1278  totalReco = None
1279  if h:
1280  totalReco = "%.1f" % h.Integral()
1281 
1282  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1283  h = creator.create(tdirectory)
1284  totalTracking = None
1285  if h:
1286  totalTracking = "%.1f" % h.Integral()
1287 
1288  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1289  h = creator.create(tdirectory)
1290  totalConvStep = None
1291  if h:
1292  totalConvStep = "%.1f" % h.Integral()
1293 
1294  return [
1295  totalReco,
1296  totalTracking,
1297  totalConvStep,
1298  ]
def trackingPlots.TrackingTimingTable.getPage (   self)

Definition at line 1269 of file trackingPlots.py.

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

1270  def getPage(self):
1271  return self._page
def trackingPlots.TrackingTimingTable.getPurpose (   self)

Definition at line 1266 of file trackingPlots.py.

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

1267  def getPurpose(self):
1268  return self._purpose
def trackingPlots.TrackingTimingTable.getSection (   self,
  dqmSubFolder 
)

Definition at line 1272 of file trackingPlots.py.

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

1273  def getSection(self, dqmSubFolder):
1274  return self._section
def trackingPlots.TrackingTimingTable.headers (   self)

Definition at line 1299 of file trackingPlots.py.

1300  def headers(self):
1301  return [
1302  "Average reco time / event (ms)",
1303  "Average tracking (w/o convStep) time / event (ms)",
1304  "Average convStep time / event (ms)",
]

Member Data Documentation

trackingPlots.TrackingTimingTable._page
private

Definition at line 1263 of file trackingPlots.py.

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

trackingPlots.TrackingTimingTable._purpose
private

Definition at line 1262 of file trackingPlots.py.

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

trackingPlots.TrackingTimingTable._section
private

Definition at line 1264 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().