test
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 561 of file html.py.

Constructor & Destructor Documentation

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

Definition at line 562 of file html.py.

563  def __init__(self, *args, **kwargs):
564  super(TrackingPageSet, self).__init__(*args, **kwargs)

Member Function Documentation

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

Definition at line 586 of file html.py.

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

Definition at line 589 of file html.py.

590  def _orderPages(self, algos):
591  ret = []
592  for algo in _trackAlgoOrder:
593  if algo in algos:
594  ret.append(algo)
595  algos.remove(algo)
596  ret.extend(algos)
597  return ret
598 
599 
def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Definition at line 565 of file html.py.

References html.PageSet._getPage().

566  def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles):
567  (algo, quality) = dqmSubFolder.translated
568 
569  pageName = algo
570  sectionName = quality
571 
572  # put all non-iterative stuff under OOTB
573  #
574  # it is bit of a hack to access trackingPlots.TrackingPlotFolder this way,
575  # but it was simple and it works
576  if algo != "ootb" and not plotterFolder._plotFolder.isAlgoIterative(algo):
577  pageName = "ootb"
578  sectionName = algo
579 
580  folderName = plotterFolder.getName()
581  if folderName != "":
582  sectionName = folderName+"_"+sectionName
583 
584  page = self._getPage(pageName, TrackingIterPage)
585  page.addPlotSet(sectionName, plotFiles)
def _getPage
Definition: html.py:489