CMS 3D CMS Logo

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__ (self, args, kwargs)
 
def addPlotSet (self, plotterFolder, dqmSubFolder, plotFiles)
 
- Public Member Functions inherited from html.PageSet
def __init__ (self, title, sampleName, sample, fastVsFull, pileupComparison, dqmSubFolderTranslatedToSectionName=None)
 
def addPlotSet (self, plotterFolder, dqmSubFolder, plotFiles)
 
def addTable (self, table)
 
def write (self, baseDir)
 

Private Member Functions

def _mapPagesName (self, algo)
 
def _orderPages (self, algos)
 

Detailed Description

Definition at line 569 of file html.py.

Constructor & Destructor Documentation

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

Definition at line 570 of file html.py.

570  def __init__(self, *args, **kwargs):
571  super(TrackingPageSet, self).__init__(*args, **kwargs)
572 
def __init__(self, args, kwargs)
Definition: html.py:570

Member Function Documentation

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

Definition at line 594 of file html.py.

594  def _mapPagesName(self, algo): # algo = pageName
595  return _trackAlgoName.get(algo, algo)
596 
def _mapPagesName(self, algo)
Definition: html.py:594
def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Definition at line 597 of file html.py.

597  def _orderPages(self, algos):
598  ret = []
599  for algo in _trackAlgoOrder:
600  if algo in algos:
601  ret.append(algo)
602  algos.remove(algo)
603  ret.extend(algos)
604  return ret
605 
606 
607 
def _orderPages(self, algos)
Definition: html.py:597
def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Definition at line 573 of file html.py.

References html.PageSet._getPage().

573  def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles):
574  (algo, quality) = dqmSubFolder.translated
575 
576  pageName = algo
577  sectionName = quality
578 
579  # put all non-iterative stuff under OOTB
580  #
581  # it is bit of a hack to access trackingPlots.TrackingPlotFolder this way,
582  # but it was simple and it works
583  if algo != "ootb" and not plotterFolder._plotFolder.isAlgoIterative(algo):
584  pageName = "ootb"
585  sectionName = algo
586 
587  folderName = plotterFolder.getName()
588  if folderName != "":
589  sectionName = folderName+"_"+sectionName
590 
591  page = self._getPage(pageName, TrackingIterPage)
592  page.addPlotSet(sectionName, plotFiles)
593 
def _getPage(self, key, pageClass)
Definition: html.py:494
def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles)
Definition: html.py:573