Public Member Functions | |
def | __init__ (self, valName, alignment, config) |
def | Bookkeeping (self) |
def | cfgName (self) |
def | cfgTemplate (self) |
def | createConfiguration (self, path) |
def | createCrabCfg (self, path, crabCfgBaseName) |
def | createScript (self, path, template=configTemplates.scriptTemplate, downloadFiles=[], repMap=None, repMaps=None) |
def | DefinePath (self) |
def | FileOutputTemplate (self) |
def | filesToCompare (self) |
def | getRepMap (self, alignment=None) |
def | LoadBasicModules (self) |
def | ProcessName (self) |
def | TrackSelectionRefitting (self) |
def | ValidationTemplate (self) |
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 Attributes | |
crabWorkingDir | |
dataset | |
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 | |
dictionary | defaults |
dictionary | mandatories = {"dataset", "maxevents"} |
bool | needParentFiles = False |
dictionary | optionals = {"magneticfield"} |
Static Public Attributes inherited from genericValidation.GenericValidation | |
string | defaultReferenceName = "DEFAULT" |
dictionary | defaults |
mandatories = set() | |
dictionary | needpackages = {"Alignment/OfflineValidation"} |
dictionary | optionals = {"jobmode"} |
Subclass of `GenericValidation` which is the base for validations using datasets.
Definition at line 248 of file genericValidation.py.
def genericValidation.GenericValidationData.__init__ | ( | self, | |
valName, | |||
alignment, | |||
config | |||
) |
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
Definition at line 268 of file genericValidation.py.
References genericValidation.GenericValidation.cmssw, genericValidation.GenericValidation.cmsswreleasebase, genericValidation.GenericValidation.general, createfilelist.int, and genericValidation.GenericValidation.NJobs.
def genericValidation.GenericValidationData.Bookkeeping | ( | self | ) |
Definition at line 489 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.cfgName | ( | self | ) |
Definition at line 418 of file genericValidation.py.
References primaryVertexValidation.PrimaryVertexValidation.configBaseName, offlineValidation.OfflineValidation.configBaseName, trackSplittingValidation.TrackSplittingValidation.configBaseName, zMuMuValidation.ZMuMuValidation.configBaseName, monteCarloValidation.MonteCarloValidation.configBaseName, offlineValidation.OfflineValidationDQM.configBaseName, AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, and plotscripts.SawTeethFunction.name.
Referenced by genericValidation.GenericValidationData.createConfiguration().
def genericValidation.GenericValidationData.cfgTemplate | ( | self | ) |
Definition at line 426 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.createConfiguration().
def genericValidation.GenericValidationData.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 437 of file genericValidation.py.
References genericValidation.GenericValidationData.cfgName(), Mpslibclass.jobdatabase.cfgTemplate, genericValidation.GenericValidationData.cfgTemplate(), genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().
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 456 of file genericValidation.py.
References genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.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 442 of file genericValidation.py.
References helperFunctions.addIndex(), genericValidation.GenericValidation.configFiles, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, primaryVertexValidation.PrimaryVertexValidation.scriptBaseName, zMuMuValidation.ZMuMuValidation.scriptBaseName, trackSplittingValidation.TrackSplittingValidation.scriptBaseName, offlineValidation.OfflineValidation.scriptBaseName, and monteCarloValidation.MonteCarloValidation.scriptBaseName.
def genericValidation.GenericValidationData.DefinePath | ( | self | ) |
Definition at line 501 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.FileOutputTemplate | ( | self | ) |
Definition at line 498 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.filesToCompare | ( | self | ) |
Definition at line 434 of file genericValidation.py.
References genericValidation.GenericValidation.defaultReferenceName, genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().
Definition at line 392 of file genericValidation.py.
References helperFunctions.addIndex(), genericValidation.GenericValidationData.Bookkeeping(), genericValidation.GenericValidationData.DefinePath(), genericValidation.GenericValidationData.FileOutputTemplate(), genericValidation.GenericValidationData.LoadBasicModules(), AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, primaryVertexValidation.PrimaryVertexValidation.outputBaseName, offlineValidation.OfflineValidation.outputBaseName, trackSplittingValidation.TrackSplittingValidation.outputBaseName, zMuMuValidation.ZMuMuValidation.outputBaseName, monteCarloValidation.MonteCarloValidation.outputBaseName, genericValidation.GenericValidationData.ProcessName(), helperFunctions.replaceByMap(), primaryVertexValidation.PrimaryVertexValidation.resultBaseName, zMuMuValidation.ZMuMuValidation.resultBaseName, trackSplittingValidation.TrackSplittingValidation.resultBaseName, offlineValidation.OfflineValidation.resultBaseName, monteCarloValidation.MonteCarloValidation.resultBaseName, genericValidation.GenericValidationData.TrackSelectionRefitting(), and genericValidation.GenericValidationData.ValidationTemplate().
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
def genericValidation.GenericValidationData.LoadBasicModules | ( | self | ) |
Definition at line 492 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ProcessName | ( | self | ) |
Definition at line 422 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.TrackSelectionRefitting | ( | self | ) |
Definition at line 495 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ValidationTemplate | ( | self | ) |
Definition at line 430 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
genericValidation.GenericValidationData.crabWorkingDir |
Definition at line 471 of file genericValidation.py.
genericValidation.GenericValidationData.dataset |
Definition at line 312 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().
|
static |
Definition at line 255 of file genericValidation.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 254 of file genericValidation.py.
|
static |
Definition at line 253 of file genericValidation.py.
|
static |
Definition at line 266 of file genericValidation.py.