CMS 3D CMS Logo

List of all members | Public Member Functions
presentation.SummarySection Class Reference
Inheritance diagram for presentation.SummarySection:
presentation.SubsectionBase

Public Member Functions

def __init__ (self)
 
def pages (self, validations)
 
- Public Member Functions inherited from presentation.SubsectionBase
def __init__ (self, title)
 
def pages (self, validations)
 
def write (self, validations)
 

Additional Inherited Members

- Public Attributes inherited from presentation.SubsectionBase
 title
 

Detailed Description

Definition at line 127 of file presentation.py.

Constructor & Destructor Documentation

◆ __init__()

def presentation.SummarySection.__init__ (   self)

Definition at line 128 of file presentation.py.

128  def __init__(self):
129  super(SummarySection, self).__init__("Summary")
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

◆ pages()

def presentation.SummarySection.pages (   self,
  validations 
)

Definition at line 130 of file presentation.py.

References python.rootplot.root2matplotlib.replace(), classes.PlotData.title, preexistingValidation.PreexistingValidation.title, alignment.Alignment.title, presentation.SubsectionBase.title, and Geometry.title.

130  def pages(self, validations):
131  return [summaryTemplate.replace('[title]', self.title)
132  .replace('[summary]', validation.validationclass.summaryitemsstring(folder=validation.path, latex=True))
133  .replace("tabular", "longtable") for validation in validations
134  if issubclass(validation.validationclass, ValidationWithPlotsSummary)]
135 
136 # Write a page containing plots of given type.
137 # Arguments: identifier: regular expression to get the wanted plots
138 # title: title of the plot type
139 # validations: list of relevant ValidationPlots objects
140 # layout: given page layout.
141 # Returns the parsed script.
def replace(string, replacements)