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

Constructor & Destructor Documentation

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

Definition at line 605 of file html.py.

605  def __init__(self, *args, **kwargs):
606  super(TrackingPageSet, self).__init__(*args, **kwargs)
607 
def __init__(self, args, kwargs)
Definition: html.py:605

Member Function Documentation

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

Definition at line 629 of file html.py.

629  def _mapPagesName(self, algo): # algo = pageName
630  return _trackAlgoName.get(algo, algo)
631 
def _mapPagesName(self, algo)
Definition: html.py:629
def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Definition at line 632 of file html.py.

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

Definition at line 608 of file html.py.

References html.PageSet._getPage().

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