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

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1295 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

1295  def create(self, tdirectory):
1296  h = tdirectory.Get("reconstruction_step_module_average")
1297  totalReco = None
1298  if h:
1299  totalReco = "%.1f" % h.Integral()
1300 
1301  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1302  h = creator.create(tdirectory)
1303  totalTracking = None
1304  if h:
1305  totalTracking = "%.1f" % h.Integral()
1306 
1307  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1308  h = creator.create(tdirectory)
1309  totalConvStep = None
1310  if h:
1311  totalConvStep = "%.1f" % h.Integral()
1312 
1313  return [
1314  totalReco,
1315  totalTracking,
1316  totalConvStep,
1317  ]
1318 
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 1319 of file trackingPlots.py.

1319  def headers(self):
1320  return [
1321  "Average reco time / event (ms)",
1322  "Average tracking (w/o convStep) time / event (ms)",
1323  "Average convStep time / event (ms)",
1324  ]

Member Data Documentation

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

Definition at line 1284 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().