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 addTable (self, table)
 
def write (self, baseDir)
 

Private Member Functions

def _mapPagesName (self, algo)
 
def _orderPages (self, algos)
 

Detailed Description

Definition at line 622 of file html.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 623 of file html.py.

623  def __init__(self, *args, **kwargs):
624  super(TrackingPageSet, self).__init__(*args, **kwargs)
625 

Member Function Documentation

◆ _mapPagesName()

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

Reimplemented from html.PageSet.

Definition at line 647 of file html.py.

647  def _mapPagesName(self, algo): # algo = pageName
648  return _trackAlgoName.get(algo, algo)
649 

◆ _orderPages()

def html.TrackingPageSet._orderPages (   self,
  algos 
)
private

Reimplemented from html.PageSet.

Definition at line 650 of file html.py.

650  def _orderPages(self, algos):
651  ret = []
652  for algo in _trackAlgoOrder:
653  if algo in algos:
654  ret.append(algo)
655  algos.remove(algo)
656  ret.extend(algos)
657  return ret
658 
659 
660 

◆ addPlotSet()

def html.TrackingPageSet.addPlotSet (   self,
  plotterFolder,
  dqmSubFolder,
  plotFiles 
)

Reimplemented from html.PageSet.

Definition at line 626 of file html.py.

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

References html.PageSet._getPage().