Go to the source code of this file.
Namespaces | |
validateAlignments | |
Functions | |
def | validateAlignments.check_proxy () |
def | validateAlignments.forward_proxy (rundir) |
def | validateAlignments.main () |
def | validateAlignments.parser () |
def | validateAlignments.updateConfigurationFile (configurationFile, updateInstructions) |
Variables | |
validateAlignments.action | |
def | validateAlignments.args = parser() |
Before doing anything, check that grip proxy exists. More... | |
validateAlignments.categories = instruction.split(".") | |
validateAlignments.category = categories[1] | |
validateAlignments.choices | |
validateAlignments.cmsConfig = job["cms-config"].split("/")[-1] | |
string | validateAlignments.cmsconfigDir = "{}/cmsConfigs".format(validationDir) |
dictionary | validateAlignments.condorSubmitCustomization = {"overwrite": [], "addBefore": []} |
Customize the condor submit file for this specific job. More... | |
string | validateAlignments.condorSubmitFile = "{}/condor.sub".format(job["dir"]) |
validateAlignments.condorTemplateFile = fnc.digest_path("$CMSSW_BASE/src/Alignment/OfflineValidation/python/TkAlAllInOneTool/templates/condorTemplate.submit") | |
validateAlignments.config = yaml.load(exampleFile, Loader=yaml.Loader) | |
Print example config which is in Aligment/OfflineValidation/bin if wished. More... | |
string | validateAlignments.crabConfigurationFile = "{}/crabConfiguration.py".format(job["dir"]) |
Check in config for all validation and create jobs. More... | |
validateAlignments.crabTemplateFile = fnc.digest_path("$CMSSW_BASE/src/Alignment/OfflineValidation/python/TkAlAllInOneTool/templates/crabTemplate.py") | |
Copy AllInOne config in working directory in json/yaml format. More... | |
validateAlignments.decodeInstruction = instruction.split("|") | |
validateAlignments.default | |
validateAlignments.dump | |
dictionary | validateAlignments.executableCustomization = {"overwrite": [], "addBefore": []} |
Customize the executable template file for this specific job. More... | |
string | validateAlignments.executableFile = "{}/run.sh".format(job["dir"]) |
validateAlignments.executableTempleteFile = fnc.digest_path("$CMSSW_BASE/src/Alignment/OfflineValidation/python/TkAlAllInOneTool/templates/executableTemplate.sh") | |
string | validateAlignments.exeDir = "{}/executables".format(validationDir) |
validateAlignments.fileContent = inputFile.readlines() | |
validateAlignments.help | |
validateAlignments.indent | |
list | validateAlignments.jobs = [] |
List with all jobs. More... | |
validateAlignments.jsonFile | |
Write local config file. More... | |
validateAlignments.lineBefore = instruction.split("|")[0] | |
bool | validateAlignments.lineFound = False |
bool | validateAlignments.lineOverwritten = False |
validateAlignments.lineToReplace = decodeInstruction[0] | |
validateAlignments.localProxy = subprocess.check_output(["voms-proxy-info", "--path"]).strip() | |
validateAlignments.metavar | |
def | validateAlignments.myProxy = forward_proxy(job["dir"]) |
Forward the proxy to the job directory. More... | |
validateAlignments.newCategories = fileContent[iLine].split(".") | |
validateAlignments.newInstruction = instruction[instruction.index("|")+1:] | |
validateAlignments.parser = argparse.ArgumentParser(description = "AllInOneTool for validation of the tracker alignment", formatter_class=argparse.RawTextHelpFormatter) | |
string | validateAlignments.previousCategory = "" |
string | validateAlignments.proxyName = "{}/.user_proxy".format(rundir) |
Move the proxy to the run directory. More... | |
validateAlignments.shell | |
Create symlink for executable/python cms config if needed. More... | |
validateAlignments.stderr | |
validateAlignments.stdout | |
validateAlignments.str | |
validateAlignments.type | |
validateAlignments.validationDir = os.path.abspath(config["name"]) | |
Check for all paths in configuration and attempt to "digest" them. More... | |
validateAlignments.width | |