CMS 3D CMS Logo

List of all members | Public Member Functions
genericValidation.ParallelValidation Class Reference
Inheritance diagram for genericValidation.ParallelValidation:
genericValidation.GenericValidation genericValidation.ValidationMetaClass offlineValidation.OfflineValidation overlapValidation.OverlapValidation primaryVertexValidation.PrimaryVertexValidation trackSplittingValidation.TrackSplittingValidation offlineValidation.OfflineValidationDQM preexistingValidation.PreexistingOfflineValidation preexistingValidation.PreexistingPrimaryVertexValidation preexistingValidation.PreexistingTrackSplittingValidation

Public Member Functions

def appendToMerge (self)
 
def doInitMerge (cls)
 
def doMerge (self)
 
def initMerge (cls)
 
- 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)
 
- Public Member Functions inherited from genericValidation.ValidationMetaClass
def __new__ (cls, clsname, bases, dct)
 

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"}
 
- Static Public Attributes inherited from genericValidation.ValidationMetaClass
list dicts = ["defaults"]
 
list sets = ["mandatories", "optionals", "needpackages"]
 

Detailed Description

Definition at line 571 of file genericValidation.py.

Member Function Documentation

◆ appendToMerge()

def genericValidation.ParallelValidation.appendToMerge (   self)

◆ doInitMerge()

def genericValidation.ParallelValidation.doInitMerge (   cls)

Definition at line 580 of file genericValidation.py.

580  def doInitMerge(cls):
581  from .plottingOptions import PlottingOptions
582  result = cls.initMerge()
583  result = replaceByMap(result, PlottingOptions(None, cls))
584  if result and result[-1] != "\n": result += "\n"
585  return result

References genericValidation.ParallelValidation.initMerge(), plottingOptions.PlottingOptions(), and helperFunctions.replaceByMap().

◆ doMerge()

def genericValidation.ParallelValidation.doMerge (   self)

Definition at line 586 of file genericValidation.py.

586  def doMerge(self):
587  result = self.appendToMerge()
588  if result[-1] != "\n": result += "\n"
589  result += ("if [[ tmpMergeRetCode -eq 0 ]]; then\n"
590  " xrdcp -f .oO[finalOutputFile]Oo. root://eoscms//eos/cms.oO[finalResultFile]Oo.\n"
591  "fi\n"
592  "if [[ ${tmpMergeRetCode} -gt ${mergeRetCode} ]]; then\n"
593  " mergeRetCode=${tmpMergeRetCode}\n"
594  "fi\n")
595  result = replaceByMap(result, self.getRepMap())
596  return result
597 

References genericValidation.ParallelValidation.appendToMerge(), genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), and helperFunctions.replaceByMap().

◆ initMerge()

def genericValidation.ParallelValidation.initMerge (   cls)

Reimplemented in offlineValidation.OfflineValidation.

Definition at line 573 of file genericValidation.py.

573  def initMerge(cls):
574  return ""

Referenced by genericValidation.ParallelValidation.doInitMerge().

helperFunctions.replaceByMap
def replaceByMap(target, the_map)
— Helpers —############################
Definition: helperFunctions.py:12
plottingOptions.PlottingOptions
def PlottingOptions(config, valType)
Definition: plottingOptions.py:239