CMS 3D CMS Logo

List of all members | Public 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 Attributes

 _page
 
 _purpose
 
 _section
 

Detailed Description

Definition at line 1287 of file trackingPlots.py.

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1302 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

1302  def create(self, tdirectory):
1303  h = tdirectory.Get("reconstruction_step_module_average")
1304  totalReco = None
1305  if h:
1306  totalReco = "%.1f" % h.Integral()
1307 
1308  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1309  h = creator.create(tdirectory)
1310  totalTracking = None
1311  if h:
1312  totalTracking = "%.1f" % h.Integral()
1313 
1314  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1315  h = creator.create(tdirectory)
1316  totalConvStep = None
1317  if h:
1318  totalConvStep = "%.1f" % h.Integral()
1319 
1320  return [
1321  totalReco,
1322  totalTracking,
1323  totalConvStep,
1324  ]
1325 
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def trackingPlots.TrackingTimingTable.getPage (   self)
def trackingPlots.TrackingTimingTable.getPurpose (   self)
def trackingPlots.TrackingTimingTable.getSection (   self,
  dqmSubFolder 
)
def trackingPlots.TrackingTimingTable.headers (   self)

Definition at line 1326 of file trackingPlots.py.

1326  def headers(self):
1327  return [
1328  "Average reco time / event (ms)",
1329  "Average tracking (w/o convStep) time / event (ms)",
1330  "Average convStep time / event (ms)",
1331  ]

Member Data Documentation

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

Definition at line 1291 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().