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
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ pages()

def presentation.SubsectionBase.pages (   self,
  validations 
)

Definition at line 105 of file presentation.py.

Referenced by presentation.SubsectionBase.write().

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

◆ write()

def presentation.SubsectionBase.write (   self,
  validations 
)

Definition at line 99 of file presentation.py.

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().

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
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

Member Data Documentation

◆ __metaclass__

presentation.SubsectionBase.__metaclass__ = abc.ABCMeta
staticprivate

Definition at line 96 of file presentation.py.

◆ title

presentation.SubsectionBase.title