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 | filesToCompare (self) |
def | getCompareStrings (self, requestId=None, plain=False) |
def | getRepMap (self, alignment=None) |
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"} |
Private Attributes | |
__compares | |
__filesToCompare | |
Object representing a geometry comparison job.
Definition at line 9 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 43 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 112 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), helperFunctions.pythonboolstring(), geometryComparison.GeometryComparison.referenceAlignment, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.createCrabCfg | ( | self, | |
path | |||
) |
Definition at line 310 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createScript | ( | self, | |
path | |||
) |
Definition at line 144 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, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.filesToCompare | ( | self | ) |
Definition at line 109 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__filesToCompare.
Definition at line 78 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.alignmentToValidate, and geometryComparison.GeometryComparison.referenceAlignment.
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
|
private |
Definition at line 64 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), geometryComparison.GeometryComparison.createScript(), and geometryComparison.GeometryComparison.getRepMap().
|
private |
Definition at line 65 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript(), and geometryComparison.GeometryComparison.filesToCompare().
geometryComparison.GeometryComparison.copyImages |
Definition at line 72 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript().
|
static |
Definition at line 13 of file geometryComparison.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 40 of file geometryComparison.py.
geometryComparison.GeometryComparison.referenceAlignment |
Definition at line 58 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), and geometryComparison.GeometryComparison.getRepMap().
|
static |