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 | getRepMap (self, alignment=None) |
Public Member Functions inherited from genericValidation.GenericValidation | |
def | __init__ (self, valName, alignment, config, valType, addDefaults={}, addMandatories=[], addneedpackages=[]) |
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) |
def | getRepMap (self, alignment=None) |
Static Public Attributes | |
addDefaults | |
addMandatories | |
allCompares = config.getCompares() | |
copyImages | |
dictionary | defaults |
dictionary | files = {replaceByMap("TkAl3DVisualization_.oO[common]Oo._.oO[name]Oo..C", repMap ): replaceByMap(configTemplates.visualizationTrackerTemplate, repMap )} |
list | mandatories = ["levels", "dbOutput"] |
tuple | msg |
referenceAlignment | |
string | referenceName = "IDEAL" |
referenceName = self.referenceAlignment.name | |
Static Public Attributes inherited from genericValidation.GenericValidation | |
string | defaultReferenceName = "DEFAULT" |
Static Private Attributes | |
__compares | |
Additional Inherited Members | |
Public Attributes inherited from genericValidation.GenericValidation | |
alignmentToValidate | |
AutoAlternates | |
cmssw | |
cmsswreleasebase | |
config | |
configFiles | |
crabConfigFiles | |
filesToCompare | |
general | |
jobid | |
jobmode | |
name | |
NJobs | |
packages | |
randomWorkdirPart | |
scramarch | |
scriptFiles | |
valType | |
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 14 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createConfiguration | ( | self, | |
path | |||
) |
Definition at line 103 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), geometryComparison.GeometryComparison.referenceAlignment, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.createCrabCfg | ( | self, | |
path | |||
) |
Definition at line 296 of file geometryComparison.py.
def geometryComparison.GeometryComparison.createScript | ( | self, | |
path | |||
) |
Definition at line 135 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.configFiles, geometryComparison.GeometryComparison.copyImages, genericValidation.GenericValidation.filesToCompare, helperFunctions.getCommandOutput2(), genericValidation.GenericValidation.getRepMap(), alignment.Alignment.getRepMap(), geometrydata.GeometryData.name, AlignableObjectId::entry.name, genericValidation.GenericValidation.name, alignment.Alignment.name, TrackerSectorStruct.name, classes.MonitorData.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, geometry.Structure.name, plotscripts.SawTeethFunction.name, helperFunctions.replaceByMap(), and split.
def geometryComparison.GeometryComparison.getRepMap | ( | self, | |
alignment = None |
|||
) |
Definition at line 73 of file geometryComparison.py.
References geometryComparison.GeometryComparison.__compares, genericValidation.GenericValidation.alignmentToValidate, and geometryComparison.GeometryComparison.referenceAlignment.
Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().
|
staticprivate |
Definition at line 64 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), geometryComparison.GeometryComparison.createScript(), and geometryComparison.GeometryComparison.getRepMap().
|
static |
Definition at line 56 of file geometryComparison.py.
|
static |
Definition at line 57 of file geometryComparison.py.
|
static |
Definition at line 63 of file geometryComparison.py.
|
static |
Definition at line 71 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createScript().
|
static |
Definition at line 28 of file geometryComparison.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
Definition at line 292 of file geometryComparison.py.
Referenced by chain.Chain._guessTreeName(), dataset.BaseDataset.listOfFiles(), dataset.BaseDataset.listOfGoodFiles(), MatrixReader.MatrixReader.prepare(), dataset.BaseDataset.printFiles(), and MatrixReader.MatrixReader.showRaw().
|
static |
Definition at line 54 of file geometryComparison.py.
|
static |
Definition at line 68 of file geometryComparison.py.
Referenced by MatrixReader.MatrixException.__str__(), cmsHarvester.Usage.__str__(), and cmsHarvester.Error.__str__().
|
static |
Definition at line 58 of file geometryComparison.py.
Referenced by geometryComparison.GeometryComparison.createConfiguration(), and geometryComparison.GeometryComparison.getRepMap().
|
static |
Definition at line 59 of file geometryComparison.py.
|
static |
Definition at line 61 of file geometryComparison.py.