Public Member Functions | |
def | __init__ |
def | Bookkeeping |
def | cfgName |
def | cfgTemplate |
def | createConfiguration |
def | createCrabCfg |
def | createScript |
def | DefinePath |
def | FileOutputTemplate |
def | filesToCompare |
def | getRepMap |
def | LoadBasicModules |
def | ProcessName |
def | TrackSelectionRefitting |
def | ValidationTemplate |
Public Member Functions inherited from genericValidation.GenericValidation | |
def | __init__ |
def | createConfiguration |
def | createCrabCfg |
def | createFiles |
def | createScript |
def | filesToCompare |
def | getCompareStrings |
def | getRepMap |
Public Member Functions inherited from genericValidation.ValidationMetaClass | |
def | __new__ |
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"} |
needParentFiles = False | |
dictionary | optionals = {"magneticfield"} |
Static Public Attributes inherited from genericValidation.GenericValidation | |
string | defaultReferenceName = "DEFAULT" |
dictionary | defaults |
tuple | 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, genericValidation.GenericValidation.general, genericValidation.GenericValidation.NJobs, and print().
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 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 | |||
) |
Definition at line 442 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 461 of file genericValidation.py.
References 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.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 overlapValidation.OverlapValidation.appendToMerge(), trackSplittingValidation.TrackSplittingValidation.appendToMerge(), primaryVertexResolution.PrimaryVertexResolution.appendToMerge(), primaryVertexValidation.PrimaryVertexValidation.appendToMerge(), offlineValidation.OfflineValidation.appendToMerge(), overlapValidation.OverlapValidation.appendToPlots(), trackSplittingValidation.TrackSplittingValidation.appendToPlots(), primaryVertexResolution.PrimaryVertexResolution.appendToPlots(), primaryVertexValidation.PrimaryVertexValidation.appendToPlots(), zMuMuValidation.ZMuMuValidation.appendToPlots(), geometryComparison.GeometryComparison.createConfiguration(), geometryComparison.GeometryComparison.createScript(), zMuMuValidation.ZMuMuValidation.filesToCompare(), and 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 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.