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 | createConfiguration (self, fileContents, path, schedule=None, repMap=None, repMaps=None) |
def | createFiles (self, fileContents, path, repMap=None, repMaps=None) |
def | getCompareStrings (self, requestId=None, plain=False) |
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 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
Reimplemented from genericValidation.GenericValidation.
Reimplemented in offlineValidation.OfflineValidationDQM, zMuMuValidation.ZMuMuValidation, offlineValidation.OfflineValidation, primaryVertexValidation.PrimaryVertexValidation, primaryVertexResolution.PrimaryVertexResolution, and monteCarloValidation.MonteCarloValidation.
Definition at line 271 of file genericValidation.py.
References genericValidation.GenericValidation.cmssw, genericValidation.GenericValidation.cmsswreleasebase, dqmMemoryStats.float, genericValidation.GenericValidation.general, createfilelist.int, genericValidation.GenericValidation.jobmode, genericValidation.GenericValidation.NJobs, edm.print(), and cms::dd.split().
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 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 | ) |
Reimplemented in monteCarloValidation.MonteCarloValidation.
Definition at line 432 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.
Reimplemented from genericValidation.GenericValidation.
Definition at line 462 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 |
|||
) |
Reimplemented from genericValidation.GenericValidation.
Definition at line 448 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 | ) |
Reimplemented in genericValidation.GenericValidationData_CTSR, zMuMuValidation.ZMuMuValidation, primaryVertexResolution.PrimaryVertexResolution, and primaryVertexValidation.PrimaryVertexValidation.
Definition at line 507 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.FileOutputTemplate | ( | self | ) |
Reimplemented in offlineValidation.OfflineValidationDQM, offlineValidation.OfflineValidation, and zMuMuValidation.ZMuMuValidation.
Definition at line 504 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.filesToCompare | ( | self | ) |
Reimplemented from genericValidation.GenericValidation.
Reimplemented in zMuMuValidation.ZMuMuValidation.
Definition at line 440 of file genericValidation.py.
References genericValidation.GenericValidation.defaultReferenceName, genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().
def genericValidation.GenericValidationData.getRepMap | ( | self, | |
alignment = None |
|||
) |
Reimplemented from genericValidation.GenericValidation.
Reimplemented in genericValidation.GenericValidationData_CTSR, offlineValidation.OfflineValidationDQM, zMuMuValidation.ZMuMuValidation, offlineValidation.OfflineValidation, primaryVertexValidation.PrimaryVertexValidation, primaryVertexResolution.PrimaryVertexResolution, trackSplittingValidation.TrackSplittingValidation, monteCarloValidation.MonteCarloValidation, and overlapValidation.OverlapValidation.
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, 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 | ) |
Reimplemented in zMuMuValidation.ZMuMuValidation.
Definition at line 498 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ProcessName | ( | self | ) |
Reimplemented in offlineValidation.OfflineValidation, zMuMuValidation.ZMuMuValidation, primaryVertexValidation.PrimaryVertexValidation, primaryVertexResolution.PrimaryVertexResolution, overlapValidation.OverlapValidation, and trackSplittingValidation.TrackSplittingValidation.
Definition at line 428 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.TrackSelectionRefitting | ( | self | ) |
Reimplemented in genericValidation.GenericValidationData_CTSR, zMuMuValidation.ZMuMuValidation, and primaryVertexResolution.PrimaryVertexResolution.
Definition at line 501 of file genericValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
def genericValidation.GenericValidationData.ValidationTemplate | ( | self | ) |
Reimplemented in offlineValidation.OfflineValidation, zMuMuValidation.ZMuMuValidation, primaryVertexValidation.PrimaryVertexValidation, primaryVertexResolution.PrimaryVertexResolution, overlapValidation.OverlapValidation, and trackSplittingValidation.TrackSplittingValidation.
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 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 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.