CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
genericValidation.ParallelValidation Class Reference
Inheritance diagram for genericValidation.ParallelValidation:
genericValidation.GenericValidation genericValidation.ValidationMetaClass

Public Member Functions

def appendToMerge
 
def doInitMerge
 
def doMerge
 
def initMerge
 
- Public Member Functions inherited from genericValidation.GenericValidation
def __init__
 
def createConfiguration
 
def createCrabCfg
 
def createFiles
 
def createScript
 
def filesToCompare
 
def getCompareStrings
 
def getRepMap
 
- Public Member Functions inherited from genericValidation.ValidationMetaClass
def __new__
 

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
 
tuple 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

def genericValidation.ParallelValidation.appendToMerge (   self)

Definition at line 576 of file genericValidation.py.

Referenced by genericValidation.ParallelValidation.doMerge().

577  def appendToMerge(self):
578  pass
def genericValidation.ParallelValidation.doInitMerge (   cls)

Definition at line 580 of file genericValidation.py.

References plottingOptions.PlottingOptions(), and helperFunctions.replaceByMap().

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

Definition at line 586 of file genericValidation.py.

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

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

Definition at line 573 of file genericValidation.py.

574  def initMerge(cls):
return ""