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 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().

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

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

Member Data Documentation

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

Definition at line 1264 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable.getSection().