Public Member Functions | |
def | __init__ (self, valName, alignment, referenceAlignment, config, copyImages=True) |
def | createConfiguration (self, path) |
def | createCrabCfg (self, path) |
def | createScript (self, path) |
def | filesToCompare (self) |
def | getRepMap (self, alignment=None) |
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 | getCompareStrings (self, requestId=None, plain=False) |
Public Member Functions inherited from genericValidation.ValidationMetaClass | |
def | __new__ (cls, clsname, bases, dct) |
Public Attributes | |
copyImages | |
referenceAlignment | |
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 = {"levels", "dbOutput"} |
string | valType = "compare" |
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"] |
Private Attributes | |
__compares | |
__filesToCompare | |
Object representing a geometry comparison job.
Definition at line 10 of file geometryComparison.py.
def geometryComparison.GeometryComparison.__init__ | ( | self, | |
valName, | |||
alignment, | |||
referenceAlignment, | |||
config, | |||
copyImages = True |
|||
) |
Constructor of the GeometryComparison class. Arguments: - `valName`: String which identifies individual validation instances - `alignment`: `Alignment` instance to validate - `referenceAlignment`: `Alignment` instance which is compared with `alignment` - `config`: `BetterConfigParser` instance which includes the configuration of the validations - `copyImages`: Boolean which indicates whether png- and pdf-files should be copied back from the batch farm
Definition at line 44 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 114 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.alignmentToValidate, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), list(), helperFunctions.pythonboolstring(), geometryComparison.GeometryComparison.referenceAlignment, helperFunctions.replaceByMap(), and cms::dd.split().
def geometryComparison.GeometryComparison.createCrabCfg | ( | self, | |
path | |||
) |
Definition at line 305 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createScript | ( | self, | |
path | |||
) |
Definition at line 146 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, geometryComparison.GeometryComparison.__filesToCompare, genericValidation.GenericValidation.configFiles, geometryComparison.GeometryComparison.copyImages, genericValidation.GenericValidation.createFiles(), helperFunctions.getCommandOutput2(), 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, helperFunctions.replaceByMap(), and cms::dd.split().
def geometryComparison.GeometryComparison.filesToCompare | ( | self | ) |
Reimplemented from genericValidation.GenericValidation.
Definition at line 111 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__filesToCompare.
def geometryComparison.GeometryComparison.getRepMap | ( | self, | |
alignment = None |
|||
) |
Reimplemented from genericValidation.GenericValidation.
Definition at line 80 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.alignmentToValidate, helperFunctions.clean_name(), relativeConstraints.keys, list(), and geometryComparison.GeometryComparison.referenceAlignment.
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
|
private |
Definition at line 65 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), geometryComparison.GeometryComparison.createScript(), and geometryComparison.GeometryComparison.getRepMap().
|
private |
Definition at line 66 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript(), and geometryComparison.GeometryComparison.filesToCompare().
geometryComparison.GeometryComparison.copyImages |
Definition at line 73 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript().
|
static |
Definition at line 14 of file geometryComparison.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 42 of file geometryComparison.py.
geometryComparison.GeometryComparison.referenceAlignment |
Definition at line 59 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), and geometryComparison.GeometryComparison.getRepMap().
|
static |
Definition at line 43 of file geometryComparison.py.
Referenced by preexistingValidation.PreexistingValidation.getRepMap(), genericValidation.GenericValidation.getRepMap(), offlineValidation.OfflineValidation.initMerge(), validateAlignments.ValidationJob.runJob(), and zMuMuValidation.ZMuMuValidation.trackcollection().