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

Constructor & Destructor Documentation

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

Definition at line 616 of file html.py.

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

Member Function Documentation

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

Definition at line 640 of file html.py.

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

Definition at line 643 of file html.py.

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

Definition at line 619 of file html.py.

References html.PageSet._getPage().

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