ATLAS Offline Software
Loading...
Searching...
No Matches
handimod.py File Reference

Go to the source code of this file.

Namespaces

namespace  python
namespace  python.handimod

Functions

 python.handimod.handiWithComparisons (name, resultsFile, htmlDir, runlistLoc, compare, browserMenu, allDirsScriptDir, jsRoot=1)
 python.handimod.makeAllDirsXml (htmlDir, name, s, number, resultsFile)
 python.handimod.makeAllDirsFile (htmlDir, name, s, number, resultsFile)
 python.handimod.makeAllDirsBrowserFile (htmlDir, name, s, number, resultsFile, AllDirsScriptDir)
 python.handimod.makeSubDirFile (htmlDir, name, s, number, subname, assessIndex, runlistLoc, compare, AllDirsScriptDir, jsRoot)
 python.handimod.makeColorFile (htmlDir, name, s, number, subname, assessIndex, color, runlistLoc, compare, AllDirsScriptDir, jsRoot)
 python.handimod.writeLimitDiagram (k, limitName, lowColor, hiColor, loVal, hiVal)
 python.handimod.makeOneHistFile (htmlDir, name, subname, sp, runlistLoc, compare, jsRoot)
 python.handimod.makeRootFile (htmlDir, name, subname)
 t = htmlDir.split("/"); pref = "run"; stream = "no stream"; run = "no run"; for x in range(0,len(t)): if (t[x].find("run_")!=-1): run = t[x] if(x>1): stream = t[x-1] if(t[x].find("minutes10_")!=-1): pref =t[x] if(t[x].find("minutes30_")!=-1): pref =t[x] k.write('
 python.handimod.makeCSSFile (htmlDir, name, subname)
 python.handimod.stringListSystemPaths (resultsFile, location)
 python.handimod.stringAllDQAssessments (resultsFile)
 python.handimod.saveAllHistograms (resultsFile, location, drawRefs, run_min_LB, jsRoot)

Variables

 python.handimod.CWD = os.getcwd()
float python.handimod.LBlength = 1.0
 python.handimod.jsonFileCull = set()
 python.handimod.inputname = sp[x+1]
 k.write('<script type="text/javascript" src="'+javaScriptLoc +'">
</script>
')
 python.handimod.algorithm = sp[2]
int python.handimod.extra = len(sp)-4
int python.handimod.cc = 4
int python.handimod.Green = 0
int python.handimod.cG = -1
int python.handimod.cR = -1
str python.handimod.currentHeading = ''
list python.handimod.namecache = []
 python.handimod.spi = sp[cc].find("Green")
 python.handimod.limitName = sp[cc][:spi]
 python.handimod.Red = float(sp[cc+1])
str python.handimod.name = ' '.join([namecache[-1]])
str python.handimod.resultname = name.rsplit(':', 1)[0]
 python.handimod.resultval = sp[cc-1]
str python.handimod.queryurl
str python.handimod.queryurl1
str python.handimod.queryurl2
str python.handimod.jsonPath = htmlDir+'/'+subname+'/'+sp[0]+".json" if sp[0] else ""
str python.handimod.jsonFile = open(jsonPath, 'r') if os.path.isfile(jsonPath) else ""
str python.handimod.jsonStr = jsonFile.read()
 python.handimod.now = time.localtime()
str python.handimod.lastUpdate = "Last Update: "+time.strftime('%Y-%m-%d %H:%M %Z', now)