Public Member Functions | |
def | __init__ |
def | createConfiguration |
def | createCrabCfg |
def | createScript |
def | getRepMap |
Public Member Functions inherited from genericValidation.GenericValidation | |
def | __init__ |
def | createConfiguration |
def | createCrabCfg |
def | createFiles |
def | createScript |
def | getCompareStrings |
def | getRepMap |
Public Attributes | |
copyImages | |
randomWorkdirPart | |
referenceAlignment | |
Public Attributes inherited from genericValidation.GenericValidation | |
alignmentToValidate | |
AutoAlternates | |
cmssw | |
cmsswreleasebase | |
config | |
configFiles | |
crabConfigFiles | |
filesToCompare | |
general | |
jobmode | |
name | |
NJobs | |
randomWorkdirPart | |
scramarch | |
scriptFiles | |
Private Attributes | |
__compares | |
Additional Inherited Members | |
Static Public Attributes inherited from genericValidation.GenericValidation | |
string | defaultReferenceName = "DEFAULT" |
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 , |
|||
randomWorkdirPart = None |
|||
) |
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 - `randomWorkDirPart`: If this option is ommitted a random number is generated to create unique path names for the individual validation instances.
Definition at line 14 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 71 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), genericValidation.GenericValidation.randomWorkdirPart, geometryComparison.GeometryComparison.referenceAlignment, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.createCrabCfg | ( | self, | |
path | |||
) |
Definition at line 213 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createScript | ( | self, | |
path | |||
) |
Definition at line 103 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.configFiles, geometryComparison.GeometryComparison.copyImages, genericValidation.GenericValidation.filesToCompare, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), entry.name, genericValidation.GenericValidation.name, alignment.Alignment.name, MuonGeometrySanityCheckPoint.name, plotscripts.SawTeethFunction.name, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.getRepMap | ( | self, | |
alignment = None |
|||
) |
Definition at line 50 of file geometryComparison.py.
References genericValidation.GenericValidation.alignmentToValidate, and geometryComparison.GeometryComparison.referenceAlignment.
|
private |
Definition at line 41 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), and geometryComparison.GeometryComparison.createScript().
geometryComparison.GeometryComparison.copyImages |
Definition at line 48 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript().
geometryComparison.GeometryComparison.randomWorkdirPart |
Definition at line 34 of file geometryComparison.py.
geometryComparison.GeometryComparison.referenceAlignment |
Definition at line 35 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), and geometryComparison.GeometryComparison.getRepMap().