Public Member Functions | |
def | __init__ |
def | createCrabCfg |
def | createScript |
def | getRepMap |
Public Member Functions inherited from genericValidation.GenericValidation | |
def | __init__ |
def | createConfiguration |
def | createCrabCfg |
def | createFiles |
def | createScript |
def | getCompareStrings |
def | getRepMap |
Public Attributes | |
crabWorkingDir | |
dataset | |
Public Attributes inherited from genericValidation.GenericValidation | |
alignmentToValidate | |
AutoAlternates | |
cmssw | |
cmsswreleasebase | |
config | |
configFiles | |
crabConfigFiles | |
filesToCompare | |
general | |
jobmode | |
name | |
NJobs | |
randomWorkdirPart | |
scramarch | |
scriptFiles | |
Additional Inherited Members | |
Static Public Attributes inherited from genericValidation.GenericValidation | |
string | defaultReferenceName = "DEFAULT" |
Subclass of `GenericValidation` which is the base for validations using datasets.
Definition at line 187 of file genericValidation.py.
def genericValidation.GenericValidationData.__init__ | ( | self, | |
valName, | |||
alignment, | |||
config, | |||
valType, | |||
addDefaults = {} , |
|||
addMandatories = [] |
|||
) |
This method adds additional items to the `self.general` dictionary which are only needed for validations using datasets. Arguments: - `valName`: String which identifies individual validation instances - `alignment`: `Alignment` instance to validate - `config`: `BetterConfigParser` instance which includes the configuration of the validations - `valType`: String which specifies the type of validation - `addDefaults`: Dictionary which contains default values for individual validations in addition to the general default values - `addMandatories`: List which contains mandatory parameters for individual validations in addition to the general mandatory parameters
Definition at line 194 of file genericValidation.py.
References genericValidation.GenericValidation.cmssw, genericValidation.GenericValidation.cmsswreleasebase, genericValidation.GenericValidation.general, and genericValidation.GenericValidation.NJobs.
def genericValidation.GenericValidationData.createCrabCfg | ( | self, | |
path, | |||
crabCfgBaseName | |||
) |
Method which creates a `crab.cfg` for a validation on datasets. Arguments: - `path`: Path at which the file will be stored. - `crabCfgBaseName`: String which depends on the actual type of validation calling this method.
Definition at line 362 of file genericValidation.py.
References genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), entry.name, genericValidation.GenericValidation.name, alignment.Alignment.name, MuonGeometrySanityCheckPoint.name, and plotscripts.SawTeethFunction.name.
def genericValidation.GenericValidationData.createScript | ( | self, | |
path, | |||
template = configTemplates.scriptTemplate , |
|||
downloadFiles = [] , |
|||
repMap = None , |
|||
repMaps = None |
|||
) |
Definition at line 348 of file genericValidation.py.
References helperFunctions.addIndex(), genericValidation.GenericValidation.configFiles, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), entry.name, genericValidation.GenericValidation.name, alignment.Alignment.name, MuonGeometrySanityCheckPoint.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, trackSplittingValidation.TrackSplittingValidation.scriptBaseName, monteCarloValidation.MonteCarloValidation.scriptBaseName, zMuMuValidation.ZMuMuValidation.scriptBaseName, and offlineValidation.OfflineValidation.scriptBaseName.
def genericValidation.GenericValidationData.getRepMap | ( | self, | |
alignment = None |
|||
) |
Definition at line 330 of file genericValidation.py.
References helperFunctions.addIndex(), entry.name, genericValidation.GenericValidation.name, alignment.Alignment.name, MuonGeometrySanityCheckPoint.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, trackSplittingValidation.TrackSplittingValidation.outputBaseName, monteCarloValidation.MonteCarloValidation.outputBaseName, zMuMuValidation.ZMuMuValidation.outputBaseName, offlineValidation.OfflineValidation.outputBaseName, helperFunctions.replaceByMap(), monteCarloValidation.MonteCarloValidation.resultBaseName, trackSplittingValidation.TrackSplittingValidation.resultBaseName, zMuMuValidation.ZMuMuValidation.resultBaseName, and offlineValidation.OfflineValidation.resultBaseName.
genericValidation.GenericValidationData.crabWorkingDir |
Definition at line 377 of file genericValidation.py.
genericValidation.GenericValidationData.dataset |
Definition at line 252 of file genericValidation.py.