CMS 3D CMS Logo

List of all members | Public Member Functions
genericValidation.ValidationWithPlotsSummary Class Reference
Inheritance diagram for genericValidation.ValidationWithPlotsSummary:
genericValidation.ValidationWithPlotsSummaryBase genericValidation.ValidationWithPlots genericValidation.GenericValidation offlineValidation.OfflineValidation trackSplittingValidation.TrackSplittingValidation offlineValidation.OfflineValidationDQM preexistingValidation.PreexistingOfflineValidation preexistingValidation.PreexistingTrackSplittingValidation

Public Member Functions

def getsummaryitems (cls, folder)
 
- Public Member Functions inherited from genericValidation.ValidationWithPlotsSummaryBase
def getsummaryitems (cls, folder)
 
def printsummaryitems (cls, args, kwargs)
 
def summaryitemsstring (cls, folder=None, latex=False, transpose=True)
 
def writesummaryitems (cls, filename, args, kwargs)
 
- Public Member Functions inherited from genericValidation.ValidationWithPlots
def appendToPlots (self)
 
def createPlottingScript (cls, validations)
 
def doRunPlots (cls, validations)
 
def plotsdirname (cls)
 
def plottingscriptname (cls)
 
def plottingscripttemplate (cls)
 
def runPlots (cls, validations)
 
- Public Member Functions inherited from genericValidation.GenericValidation
def __init__ (self, valName, alignment, config)
 
def createConfiguration (self, fileContents, path, schedule=None, repMap=None, repMaps=None)
 
def createCrabCfg (self, fileContents, path)
 
def createFiles (self, fileContents, path, repMap=None, repMaps=None)
 
def createScript (self, fileContents, path, downloadFiles=[], repMap=None, repMaps=None)
 
def filesToCompare (self)
 
def getCompareStrings (self, requestId=None, plain=False)
 
def getRepMap (self, alignment=None)
 

Additional Inherited Members

- Public Attributes inherited from genericValidation.GenericValidation
 alignmentToValidate
 
 AutoAlternates
 
 cmssw
 
 cmsswreleasebase
 
 config
 
 configFiles
 
 crabConfigFiles
 
 general
 
 jobid
 
 jobmode
 
 name
 
 needsproxy
 
 NJobs
 
 packages
 
 randomWorkdirPart
 
 scramarch
 
 scriptFiles
 
- Static Public Attributes inherited from genericValidation.GenericValidation
string defaultReferenceName = "DEFAULT"
 
dictionary defaults
 
 mandatories = set()
 
dictionary needpackages = {"Alignment/OfflineValidation"}
 
dictionary optionals = {"jobmode"}
 

Detailed Description

Definition at line 746 of file genericValidation.py.

Member Function Documentation

def genericValidation.ValidationWithPlotsSummary.getsummaryitems (   cls,
  folder 
)

Definition at line 748 of file genericValidation.py.

References split.

748  def getsummaryitems(cls, folder):
749  result = []
750  with open(os.path.join(folder, "{}Summary.txt".format(cls.__name__))) as f:
751  for line in f:
752  split = line.rstrip("\n").split("\t")
753  kwargs = {}
754  for thing in split[:]:
755  if thing.startswith("format="):
756  kwargs["format"] = thing.replace("format=", "", 1)
757  split.remove(thing)
758  if thing.startswith("latexname="):
759  kwargs["latexname"] = thing.replace("latexname=", "", 1)
760  split.remove(thing)
761  if thing.startswith("latexformat="):
762  kwargs["latexformat"] = thing.replace("latexformat=", "", 1)
763  split.remove(thing)
764 
765  name = split[0]
766  values = split[1:]
767  result.append(cls.SummaryItem(name, values, **kwargs))
768  return result
769 
double split
Definition: MVATrainer.cc:139