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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 663 of file html.py.

663  def __init__(self, *args, **kwargs):
664  super(TrackingPageSet, self).__init__(*args, **kwargs)
665 

Member Function Documentation

◆ _mapPagesName()

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

Reimplemented from html.PageSet.

Definition at line 687 of file html.py.

687  def _mapPagesName(self, algo): # algo = pageName
688  return _trackAlgoName.get(algo, algo)
689 

◆ _orderPages()

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

Reimplemented from html.PageSet.

Definition at line 690 of file html.py.

690  def _orderPages(self, algos):
691  ret = []
692  for algo in _trackAlgoOrder:
693  if algo in algos:
694  ret.append(algo)
695  algos.remove(algo)
696  ret.extend(algos)
697  return ret
698 
699 
700 

◆ addPlotSet()

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

Reimplemented from html.PageSet.

Definition at line 666 of file html.py.

666  def addPlotSet(self, plotterFolder, dqmSubFolder, plotFiles):
667  (algo, quality) = dqmSubFolder.translated
668 
669  pageName = algo
670  sectionName = quality
671 
672  # put all non-iterative stuff under OOTB
673  #
674  # it is bit of a hack to access trackingPlots.TrackingPlotFolder this way,
675  # but it was simple and it works
676  if algo != "ootb" and not plotterFolder._plotFolder.isAlgoIterative(algo):
677  pageName = "ootb"
678  sectionName = algo
679 
680  folderName = plotterFolder.getName()
681  if folderName != "":
682  sectionName = folderName+"_"+sectionName
683 
684  page = self._getPage(pageName, TrackingIterPage)
685  page.addPlotSet(sectionName, plotFiles)
686 

References html.PageSet._getPage().