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

Constructor & Destructor Documentation

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

Definition at line 618 of file html.py.

618  def __init__(self, *args, **kwargs):
619  super(TrackingPageSet, self).__init__(*args, **kwargs)
620 
def __init__(self, args, kwargs)
Definition: html.py:618

Member Function Documentation

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

Definition at line 642 of file html.py.

642  def _mapPagesName(self, algo): # algo = pageName
643  return _trackAlgoName.get(algo, algo)
644 
def _mapPagesName(self, algo)
Definition: html.py:642
def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Definition at line 645 of file html.py.

645  def _orderPages(self, algos):
646  ret = []
647  for algo in _trackAlgoOrder:
648  if algo in algos:
649  ret.append(algo)
650  algos.remove(algo)
651  ret.extend(algos)
652  return ret
653 
654 
655 
def _orderPages(self, algos)
Definition: html.py:645
def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Definition at line 621 of file html.py.

References html.PageSet._getPage().

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