Public Member Functions | |
def | __init__ (self, valName, alignment, config) |
def | appendToPlots (self) |
def | createCrabCfg (self, path) |
def | createScript (self, path) |
def | DefinePath (self) |
def | FileOutputTemplate (self) |
def | filesToCompare (self) |
def | getRepMap (self, alignment=None) |
def | LoadBasicModules (self) |
def | plotsdirname (cls) |
def | plottingscriptname (cls) |
def | plottingscripttemplate (cls) |
def | ProcessName (self) |
def | trackcollection (self) |
def | TrackSelectionRefitting (self) |
def | ValidationTemplate (self) |
Public Member Functions inherited from genericValidation.GenericValidationData | |
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) |
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 Member Functions inherited from genericValidation.ValidationWithPlots | |
def | createPlottingScript (cls, validations) |
def | doRunPlots (cls, validations) |
def | runPlots (cls, validations) |
Static Public Attributes | |
string | configBaseName = "TkAlZMuMuValidation" |
string | crabCfgBaseName = "TkAlZMuMuValidation" |
dictionary | defaults |
dictionary | deprecateddefaults |
dictionary | needpackages = {'MuonAnalysis/MomentumScaleCalibration'} |
string | outputBaseName = "ZMuMuValidation" |
string | resultBaseName = "ZMuMuValidation" |
string | scriptBaseName = "TkAlZMuMuValidation" |
string | valType = "zmumu" |
Static Public Attributes inherited from genericValidation.GenericValidationData | |
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"] |
Additional Inherited Members | |
Public Attributes inherited from genericValidation.GenericValidationData | |
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 | |
Definition at line 10 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.__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.GenericValidationData.
Definition at line 39 of file zMuMuValidation.py.
References offlineValidation.OfflineValidation.deprecateddefaults, zMuMuValidation.ZMuMuValidation.deprecateddefaults, preexistingValidation.PreexistingOfflineValidation.deprecateddefaults, genericValidation.GenericValidation.general, and genericValidation.GenericValidation.NJobs.
def zMuMuValidation.ZMuMuValidation.appendToPlots | ( | self | ) |
if no argument or "" is passed a string with an instantiation is returned, else the validation is appended to the list
Reimplemented from genericValidation.ValidationWithPlots.
Definition at line 114 of file zMuMuValidation.py.
References genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), and helperFunctions.replaceByMap().
def zMuMuValidation.ZMuMuValidation.createCrabCfg | ( | self, | |
path | |||
) |
Definition at line 82 of file zMuMuValidation.py.
References primaryVertexResolution.PrimaryVertexResolution.crabCfgBaseName, primaryVertexValidation.PrimaryVertexValidation.crabCfgBaseName, zMuMuValidation.ZMuMuValidation.crabCfgBaseName, offlineValidation.OfflineValidation.crabCfgBaseName, trackSplittingValidation.TrackSplittingValidation.crabCfgBaseName, monteCarloValidation.MonteCarloValidation.crabCfgBaseName, and overlapValidation.OverlapValidation.crabCfgBaseName.
def zMuMuValidation.ZMuMuValidation.createScript | ( | self, | |
path | |||
) |
Definition at line 79 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.DefinePath | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 76 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.FileOutputTemplate | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 64 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.filesToCompare | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 52 of file zMuMuValidation.py.
References genericValidation.GenericValidation.defaultReferenceName, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), and helperFunctions.replaceByMap().
def zMuMuValidation.ZMuMuValidation.getRepMap | ( | self, | |
alignment = None |
|||
) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 85 of file zMuMuValidation.py.
References genericValidation.GenericValidation.alignmentToValidate, genericValidation.GenericValidation.general, 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, primaryVertexResolution.PrimaryVertexResolution.outputBaseName, primaryVertexValidation.PrimaryVertexValidation.outputBaseName, offlineValidation.OfflineValidation.outputBaseName, zMuMuValidation.ZMuMuValidation.outputBaseName, trackSplittingValidation.TrackSplittingValidation.outputBaseName, monteCarloValidation.MonteCarloValidation.outputBaseName, overlapValidation.OverlapValidation.outputBaseName, and zMuMuValidation.ZMuMuValidation.trackcollection().
def zMuMuValidation.ZMuMuValidation.LoadBasicModules | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 68 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.plotsdirname | ( | cls | ) |
override with a classmethod
Reimplemented from genericValidation.ValidationWithPlots.
Definition at line 131 of file zMuMuValidation.py.
Referenced by presentation.ValidationPlots.validationclass().
def zMuMuValidation.ZMuMuValidation.plottingscriptname | ( | cls | ) |
override with a classmethod
Reimplemented from genericValidation.ValidationWithPlots.
Definition at line 123 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.plottingscripttemplate | ( | cls | ) |
override with a classmethod
Reimplemented from genericValidation.ValidationWithPlots.
Definition at line 127 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.ProcessName | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 60 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.trackcollection | ( | self | ) |
Definition at line 102 of file zMuMuValidation.py.
References geometry.Alignables.config, genericValidation.GenericValidation.config, plottingOptions.PlottingOptions(), trackSplittingValidation.TrackSplittingValidation.valType, monteCarloValidation.MonteCarloValidation.valType, overlapValidation.OverlapValidation.valType, primaryVertexResolution.PrimaryVertexResolution.valType, primaryVertexValidation.PrimaryVertexValidation.valType, offlineValidation.OfflineValidation.valType, zMuMuValidation.ZMuMuValidation.valType, and geometryComparison.GeometryComparison.valType.
Referenced by zMuMuValidation.ZMuMuValidation.getRepMap().
def zMuMuValidation.ZMuMuValidation.TrackSelectionRefitting | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 72 of file zMuMuValidation.py.
def zMuMuValidation.ZMuMuValidation.ValidationTemplate | ( | self | ) |
Reimplemented from genericValidation.GenericValidationData.
Definition at line 56 of file zMuMuValidation.py.
|
static |
Definition at line 11 of file zMuMuValidation.py.
Referenced by genericValidation.GenericValidationData.cfgName().
|
static |
Definition at line 13 of file zMuMuValidation.py.
Referenced by zMuMuValidation.ZMuMuValidation.createCrabCfg().
|
static |
Definition at line 16 of file zMuMuValidation.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 28 of file zMuMuValidation.py.
Referenced by zMuMuValidation.ZMuMuValidation.__init__().
|
static |
Definition at line 37 of file zMuMuValidation.py.
|
static |
Definition at line 15 of file zMuMuValidation.py.
Referenced by zMuMuValidation.ZMuMuValidation.getRepMap(), and genericValidation.GenericValidationData.getRepMap().
|
static |
Definition at line 14 of file zMuMuValidation.py.
Referenced by genericValidation.GenericValidationData.getRepMap().
|
static |
Definition at line 12 of file zMuMuValidation.py.
Referenced by genericValidation.GenericValidationData.createScript().
|
static |
Definition at line 38 of file zMuMuValidation.py.
Referenced by preexistingValidation.PreexistingValidation.getRepMap(), genericValidation.GenericValidation.getRepMap(), validateAlignments.ValidationJob.runJob(), and zMuMuValidation.ZMuMuValidation.trackcollection().