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 Member Functions
html.TrackingPageSet Class Reference
Inheritance diagram for html.TrackingPageSet:
html.PageSet

Public Member Functions

def __init__
 
def addPlotSet
 
- Public Member Functions inherited from html.PageSet
def __init__
 
def addPlotSet
 
def addTable
 
def write
 

Private Member Functions

def _mapPagesName
 
def _orderPages
 

Detailed Description

Definition at line 521 of file html.py.

Constructor & Destructor Documentation

def html.TrackingPageSet.__init__ (   self,
  args,
  kwargs 
)

Definition at line 522 of file html.py.

523  def __init__(self, *args, **kwargs):
524  super(TrackingPageSet, self).__init__(*args, **kwargs)

Member Function Documentation

def html.TrackingPageSet._mapPagesName (   self,
  algo 
)
private

Definition at line 546 of file html.py.

547  def _mapPagesName(self, algo): # algo = pageName
548  return _trackAlgoName.get(algo, algo)
def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Definition at line 549 of file html.py.

550  def _orderPages(self, algos):
551  ret = []
552  for algo in _trackAlgoOrder:
553  if algo in algos:
554  ret.append(algo)
555  algos.remove(algo)
556  ret.extend(algos)
557  return ret
558 
559 
def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Definition at line 525 of file html.py.

References html.PageSet._getPage().

526  def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles):
527  (algo, quality) = dqmSubFolder.translated
528 
529  pageName = algo
530  sectionName = quality
531 
532  # put all non-iterative stuff under OOTB
533  #
534  # it is bit of a hack to access trackingPlots.TrackingPlotFolder this way,
535  # but it was simple and it works
536  if algo != "ootb" and not plotterFolder._plotFolder.isAlgoIterative(algo):
537  pageName = "ootb"
538  sectionName = algo
539 
540  folderName = plotterFolder.getName()
541  if folderName != "":
542  sectionName = folderName+"_"+sectionName
543 
544  page = self._getPage(pageName, TrackingIterPage)
545  page.addPlotSet(sectionName, plotFiles)
def _getPage
Definition: html.py:449