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 251 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 271 of file genericValidation.py.
References genericValidation.GenericValidation.cmssw, genericValidation.GenericValidation.cmsswreleasebase, objects.autophobj.float, genericValidation.GenericValidation.general, createfilelist.int, genericValidation.GenericValidation.NJobs, and edm.print().
def genericValidation.GenericValidationData.Bookkeeping | ( | self | ) |
Definition at line 495 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.cfgName | ( | self | ) |
Definition at line 424 of file genericValidation.py.
References primaryVertexValidation.PrimaryVertexValidation.configBaseName, offlineValidation.OfflineValidation.configBaseName, trackSplittingValidation.TrackSplittingValidation.configBaseName, zMuMuValidation.ZMuMuValidation.configBaseName, monteCarloValidation.MonteCarloValidation.configBaseName, overlapValidation.OverlapValidation.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 432 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.createConfiguration().
def genericValidation.GenericValidationData.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 443 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 462 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 448 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, offlineValidation.OfflineValidation.scriptBaseName, trackSplittingValidation.TrackSplittingValidation.scriptBaseName, monteCarloValidation.MonteCarloValidation.scriptBaseName, and overlapValidation.OverlapValidation.scriptBaseName.
def genericValidation.GenericValidationData.DefinePath | ( | self | ) |
Definition at line 507 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.FileOutputTemplate | ( | self | ) |
Definition at line 504 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.filesToCompare | ( | self | ) |
Definition at line 440 of file genericValidation.py.
References genericValidation.GenericValidation.defaultReferenceName, genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().
Definition at line 398 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, overlapValidation.OverlapValidation.outputBaseName, genericValidation.GenericValidationData.ProcessName(), helperFunctions.replaceByMap(), primaryVertexValidation.PrimaryVertexValidation.resultBaseName, trackSplittingValidation.TrackSplittingValidation.resultBaseName, zMuMuValidation.ZMuMuValidation.resultBaseName, offlineValidation.OfflineValidation.resultBaseName, monteCarloValidation.MonteCarloValidation.resultBaseName, overlapValidation.OverlapValidation.resultBaseName, genericValidation.GenericValidationData.TrackSelectionRefitting(), and genericValidation.GenericValidationData.ValidationTemplate().
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
def genericValidation.GenericValidationData.LoadBasicModules | ( | self | ) |
Definition at line 498 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ProcessName | ( | self | ) |
Definition at line 428 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.TrackSelectionRefitting | ( | self | ) |
Definition at line 501 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ValidationTemplate | ( | self | ) |
Definition at line 436 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
genericValidation.GenericValidationData.crabWorkingDir |
Definition at line 477 of file genericValidation.py.
genericValidation.GenericValidationData.dataset |
Definition at line 318 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 258 of file genericValidation.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 257 of file genericValidation.py.
|
static |
Definition at line 256 of file genericValidation.py.
|
static |
Definition at line 269 of file genericValidation.py.