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 125 of file presentation.py.

Constructor & Destructor Documentation

def presentation.SummarySection.__init__ (   self)

Definition at line 126 of file presentation.py.

126  def __init__(self):
127  super(SummarySection, self).__init__("Summary")

Member Function Documentation

def presentation.SummarySection.pages (   self,
  validations 
)

Definition at line 128 of file presentation.py.

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

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