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

Constructor & Destructor Documentation

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

Definition at line 609 of file html.py.

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

Member Function Documentation

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

Definition at line 633 of file html.py.

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

Definition at line 636 of file html.py.

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

Definition at line 612 of file html.py.

References html.PageSet._getPage().

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