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

Constructor & Destructor Documentation

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

Definition at line 569 of file html.py.

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

Member Function Documentation

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

Definition at line 593 of file html.py.

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

Definition at line 596 of file html.py.

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

Definition at line 572 of file html.py.

References html.PageSet._getPage().

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