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

Constructor & Destructor Documentation

def trackingPlots.TrackingTimingTable.__init__ (   self)

Member Function Documentation

def trackingPlots.TrackingTimingTable.create (   self,
  tdirectory 
)

Definition at line 1277 of file trackingPlots.py.

References trackingPlots._iterModuleMap().

1277  def create(self, tdirectory):
1278  h = tdirectory.Get("reconstruction_step_module_average")
1279  totalReco = None
1280  if h:
1281  totalReco = "%.1f" % h.Integral()
1282 
1283  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(includeConvStep=False), ignoreMissingBins=True)
1284  h = creator.create(tdirectory)
1285  totalTracking = None
1286  if h:
1287  totalTracking = "%.1f" % h.Integral()
1288 
1289  creator = AggregateBins("iteration", "reconstruction_step_module_average", _iterModuleMap(onlyConvStep=True), ignoreMissingBins=True)
1290  h = creator.create(tdirectory)
1291  totalConvStep = None
1292  if h:
1293  totalConvStep = "%.1f" % h.Integral()
1294 
1295  return [
1296  totalReco,
1297  totalTracking,
1298  totalConvStep,
1299  ]
1300 
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 1301 of file trackingPlots.py.

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

Member Data Documentation

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

Definition at line 1266 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().