CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
presentation.SummarySection Class Reference
Inheritance diagram for presentation.SummarySection:
presentation.SubsectionBase

Public Member Functions

def __init__
 
def pages
 
- Public Member Functions inherited from presentation.SubsectionBase
def __init__
 
def pages
 
def write
 

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.

129  def __init__(self):
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.

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