CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Private Attributes
presentation.SubsectionBase Class Reference
Inheritance diagram for presentation.SubsectionBase:
presentation.SubsectionFromList presentation.SubsectionOnePage presentation.SummarySection offlineValidation.SubsectionSubdetectors trackSplittingValidation.SubsectionTrackSplitting

Public Member Functions

def __init__ (self, title)
 
def pages (self, validations)
 
def write (self, validations)
 

Public Attributes

 title
 

Static Private Attributes

 __metaclass__ = abc.ABCMeta
 

Detailed Description

Definition at line 95 of file presentation.py.

Constructor & Destructor Documentation

◆ __init__()

def presentation.SubsectionBase.__init__ (   self,
  title 
)

Definition at line 97 of file presentation.py.

97  def __init__(self, title):
98  self.title = title

Member Function Documentation

◆ pages()

def presentation.SubsectionBase.pages (   self,
  validations 
)

Reimplemented in presentation.SummarySection, presentation.SubsectionFromList, and presentation.SubsectionOnePage.

Definition at line 105 of file presentation.py.

105  def pages(self, validations):
106  pass
107 

Referenced by presentation.SubsectionBase.write().

◆ write()

def presentation.SubsectionBase.write (   self,
  validations 
)

Definition at line 99 of file presentation.py.

99  def write(self, validations):
100  script = '\n'.join(_ for _ in self.pages(validations) if _)
101  if script != '':
102  script = subsectionTemplate.replace('[title]', self.title)+script
103  return script

References join(), presentation.SubsectionBase.pages(), classes.PlotData.title, preexistingValidation.PreexistingValidation.title, alignment.Alignment.title, presentation.SubsectionBase.title, and Geometry.title.

Referenced by pkg.AbstractPkg.generate(), and querying.connection.write_and_commit().

Member Data Documentation

◆ __metaclass__

presentation.SubsectionBase.__metaclass__ = abc.ABCMeta
staticprivate

Definition at line 96 of file presentation.py.

◆ title

presentation.SubsectionBase.title
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
writeEcalDQMStatus.write
write
Definition: writeEcalDQMStatus.py:48
TableParser.pages
pages
Definition: TableParser.py:94