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

Constructor & Destructor Documentation

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

Definition at line 610 of file html.py.

610  def __init__(self, *args, **kwargs):
611  super(TrackingPageSet, self).__init__(*args, **kwargs)
612 
def __init__(self, args, kwargs)
Definition: html.py:610

Member Function Documentation

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

Definition at line 634 of file html.py.

634  def _mapPagesName(self, algo): # algo = pageName
635  return _trackAlgoName.get(algo, algo)
636 
def _mapPagesName(self, algo)
Definition: html.py:634
def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Definition at line 637 of file html.py.

637  def _orderPages(self, algos):
638  ret = []
639  for algo in _trackAlgoOrder:
640  if algo in algos:
641  ret.append(algo)
642  algos.remove(algo)
643  ret.extend(algos)
644  return ret
645 
646 
647 
def _orderPages(self, algos)
Definition: html.py:637
def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Definition at line 613 of file html.py.

References html.PageSet._getPage().

613  def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles):
614  (algo, quality) = dqmSubFolder.translated
615 
616  pageName = algo
617  sectionName = quality
618 
619  # put all non-iterative stuff under OOTB
620  #
621  # it is bit of a hack to access trackingPlots.TrackingPlotFolder this way,
622  # but it was simple and it works
623  if algo != "ootb" and not plotterFolder._plotFolder.isAlgoIterative(algo):
624  pageName = "ootb"
625  sectionName = algo
626 
627  folderName = plotterFolder.getName()
628  if folderName != "":
629  sectionName = folderName+"_"+sectionName
630 
631  page = self._getPage(pageName, TrackingIterPage)
632  page.addPlotSet(sectionName, plotFiles)
633 
def _getPage(self, key, pageClass)
Definition: html.py:534
def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles)
Definition: html.py:613