CMS 3D CMS Logo

List of all members | Public Member Functions
genericValidation.ParallelValidation Class Reference
Inheritance diagram for genericValidation.ParallelValidation:
genericValidation.GenericValidation offlineValidation.OfflineValidation trackSplittingValidation.TrackSplittingValidation offlineValidation.OfflineValidationDQM preexistingValidation.PreexistingOfflineValidation 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)
 

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 569 of file genericValidation.py.

Member Function Documentation

def genericValidation.ParallelValidation.appendToMerge (   self)

Definition at line 574 of file genericValidation.py.

Referenced by genericValidation.ParallelValidation.doMerge().

574  def appendToMerge(self):
575  pass
576 
def genericValidation.ParallelValidation.doInitMerge (   cls)

Definition at line 578 of file genericValidation.py.

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

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

Definition at line 584 of file genericValidation.py.

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

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

Definition at line 571 of file genericValidation.py.

Referenced by genericValidation.ParallelValidation.doInitMerge().

571  def initMerge(cls):
572  return ""