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 | |
packages | |
randomWorkdirPart | |
scramarch | |
scriptFiles | |
valType | |
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 206 of file genericValidation.py.
def genericValidation.GenericValidationData.__init__ | ( | self, | |
valName, | |||
alignment, | |||
config, | |||
valType, | |||
addDefaults = {} , |
|||
addMandatories = [] , |
|||
addneedpackages = [] |
|||
) |
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 213 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 382 of file genericValidation.py.
References genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), entry.name, geometrydata.GeometryData.name, genericValidation.GenericValidation.name, alignment.Alignment.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, and plotscripts.SawTeethFunction.name.
def genericValidation.GenericValidationData.createScript | ( | self, | |
path, | |||
template = configTemplates.scriptTemplate , |
|||
downloadFiles = [] , |
|||
repMap = None , |
|||
repMaps = None |
|||
) |
Definition at line 368 of file genericValidation.py.
References helperFunctions.addIndex(), genericValidation.GenericValidation.configFiles, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), entry.name, geometrydata.GeometryData.name, genericValidation.GenericValidation.name, alignment.Alignment.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, monteCarloValidation.MonteCarloValidation.scriptBaseName, trackSplittingValidation.TrackSplittingValidation.scriptBaseName, zMuMuValidation.ZMuMuValidation.scriptBaseName, and offlineValidation.OfflineValidation.scriptBaseName.
def genericValidation.GenericValidationData.getRepMap | ( | self, | |
alignment = None |
|||
) |
Definition at line 350 of file genericValidation.py.
References helperFunctions.addIndex(), entry.name, geometrydata.GeometryData.name, genericValidation.GenericValidation.name, alignment.Alignment.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, trackSplittingValidation.TrackSplittingValidation.outputBaseName, monteCarloValidation.MonteCarloValidation.outputBaseName, zMuMuValidation.ZMuMuValidation.outputBaseName, offlineValidation.OfflineValidation.outputBaseName, helperFunctions.replaceByMap(), trackSplittingValidation.TrackSplittingValidation.resultBaseName, monteCarloValidation.MonteCarloValidation.resultBaseName, zMuMuValidation.ZMuMuValidation.resultBaseName, and offlineValidation.OfflineValidation.resultBaseName.
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
genericValidation.GenericValidationData.crabWorkingDir |
Definition at line 397 of file genericValidation.py.
genericValidation.GenericValidationData.dataset |
Definition at line 272 of file genericValidation.py.
Referenced by edmIntegrityCheck.IntegrityCheck.query(), production_tasks.BaseDataset.query(), production_tasks.CheckDatasetExists.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.CreateJobDirectory.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.WriteToDatasets.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CleanJobFiles.run(), and edmIntegrityCheck.IntegrityCheck.structured().