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

def presentation.SummarySection.__init__ (   self)

Definition at line 128 of file presentation.py.

128  def __init__(self):
129  super(SummarySection, self).__init__("Summary")

Member Function Documentation

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 pages(self, validations)
def replace(string, replacements)