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 Member Functions inherited from genericValidation.ValidationMetaClass | |
def | __new__ (cls, clsname, bases, dct) |
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"} |
Static Public Attributes inherited from genericValidation.ValidationMetaClass | |
list | dicts = ["defaults"] |
list | sets = ["mandatories", "optionals", "needpackages"] |
Subclass of `GenericValidation` which is the base for validations using datasets.
Definition at line 250 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 270 of file genericValidation.py.
References genericValidation.GenericValidation.cmssw, genericValidation.GenericValidation.cmsswreleasebase, dqmMemoryStats.float, genericValidation.GenericValidation.general, createfilelist.int, genericValidation.GenericValidation.jobmode, genericValidation.GenericValidation.NJobs, print(), and submitPVValidationJobs.split().
def genericValidation.GenericValidationData.Bookkeeping | ( | self | ) |
Definition at line 494 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.cfgName | ( | self | ) |
Definition at line 423 of file genericValidation.py.
References genericValidation.GenericValidation.alignmentToValidate, primaryVertexResolution.PrimaryVertexResolution.configBaseName, primaryVertexValidation.PrimaryVertexValidation.configBaseName, offlineValidation.OfflineValidation.configBaseName, zMuMuValidation.ZMuMuValidation.configBaseName, trackSplittingValidation.TrackSplittingValidation.configBaseName, monteCarloValidation.MonteCarloValidation.configBaseName, overlapValidation.OverlapValidation.configBaseName, offlineValidation.OfflineValidationDQM.configBaseName, AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, MuonGeometrySanityCheckPoint.name, classes.MonitorData.name, classes.OutputData.name, geometry.Structure.name, and plotscripts.SawTeethFunction.name.
Referenced by genericValidation.GenericValidationData.createConfiguration().
def genericValidation.GenericValidationData.cfgTemplate | ( | self | ) |
Definition at line 431 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.createConfiguration().
def genericValidation.GenericValidationData.createConfiguration | ( | self, | |
path | |||
) |
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 461 of file genericValidation.py.
References genericValidation.GenericValidation.alignmentToValidate, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, MuonGeometrySanityCheckPoint.name, classes.MonitorData.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 447 of file genericValidation.py.
References helperFunctions.addIndex(), genericValidation.GenericValidation.alignmentToValidate, genericValidation.GenericValidation.configFiles, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), AlignableObjectId::entry.name, alignment.Alignment.name, genericValidation.GenericValidation.name, TrackerSectorStruct.name, MuonGeometrySanityCheckPoint.name, classes.MonitorData.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, primaryVertexResolution.PrimaryVertexResolution.scriptBaseName, primaryVertexValidation.PrimaryVertexValidation.scriptBaseName, offlineValidation.OfflineValidation.scriptBaseName, trackSplittingValidation.TrackSplittingValidation.scriptBaseName, zMuMuValidation.ZMuMuValidation.scriptBaseName, monteCarloValidation.MonteCarloValidation.scriptBaseName, and overlapValidation.OverlapValidation.scriptBaseName.
def genericValidation.GenericValidationData.DefinePath | ( | self | ) |
Definition at line 506 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.FileOutputTemplate | ( | self | ) |
Definition at line 503 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.filesToCompare | ( | self | ) |
Definition at line 439 of file genericValidation.py.
References genericValidation.GenericValidation.defaultReferenceName, genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().
def genericValidation.GenericValidationData.getRepMap | ( | self, | |
alignment = None |
|||
) |
Definition at line 397 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, MuonGeometrySanityCheckPoint.name, classes.MonitorData.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, genericValidation.GenericValidation.NJobs, primaryVertexResolution.PrimaryVertexResolution.outputBaseName, primaryVertexValidation.PrimaryVertexValidation.outputBaseName, offlineValidation.OfflineValidation.outputBaseName, zMuMuValidation.ZMuMuValidation.outputBaseName, trackSplittingValidation.TrackSplittingValidation.outputBaseName, monteCarloValidation.MonteCarloValidation.outputBaseName, overlapValidation.OverlapValidation.outputBaseName, genericValidation.GenericValidationData.ProcessName(), helperFunctions.replaceByMap(), primaryVertexResolution.PrimaryVertexResolution.resultBaseName, primaryVertexValidation.PrimaryVertexValidation.resultBaseName, offlineValidation.OfflineValidation.resultBaseName, trackSplittingValidation.TrackSplittingValidation.resultBaseName, zMuMuValidation.ZMuMuValidation.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 497 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ProcessName | ( | self | ) |
Definition at line 427 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.TrackSelectionRefitting | ( | self | ) |
Definition at line 500 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ValidationTemplate | ( | self | ) |
Definition at line 435 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
genericValidation.GenericValidationData.crabWorkingDir |
Definition at line 476 of file genericValidation.py.
genericValidation.GenericValidationData.dataset |
Definition at line 317 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData_CTSR.cosmics0T(), 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 257 of file genericValidation.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 256 of file genericValidation.py.
|
static |
Definition at line 255 of file genericValidation.py.
|
static |
Definition at line 268 of file genericValidation.py.