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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 664 of file html.py.

664  def __init__(self, *args, **kwargs):
665  super(TrackingPageSet, self).__init__(*args, **kwargs)
666 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ _mapPagesName()

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

Definition at line 688 of file html.py.

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

◆ _orderPages()

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

Definition at line 691 of file html.py.

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

◆ addPlotSet()

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

Definition at line 667 of file html.py.

References html.PageSet._getPage().

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