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

Constructor & Destructor Documentation

def presentation.SummarySection.__init__ (   self)

Definition at line 125 of file presentation.py.

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

Member Function Documentation

def presentation.SummarySection.pages (   self,
  validations 
)

Definition at line 127 of file presentation.py.

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

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