Variables
recentWatchdog Namespace Reference

Variables

string webDir = "/nusoft/app/web/htdoc/nova/datacheck/watchdogs/"
 
 fullNames = OrderedDict()
 
 now = datetime.datetime.now()
 
string dateStr = str(now.year)+"-"
 
string outputDir = webDir+dateStr+"/"
 
string url = "http://nusoft.fnal.gov/nova/datacheck/watchdogs/"
 
string recoveryUrl = "http://cdcvs.fnal.gov/redmine/projects/datacheck/wiki/Recovering_Missing_Files_from_FTS"
 
 outputHtml = open(outputDir + "watchdog.html", 'w')
 
 files = os.listdir(outputDir)
 
 jumboText = html.heading1("NOvA Offline Data Watchdog FTS Summary")
 
 maxRunNumDB
 
 minRunNumDB
 
 onMonRunsHist = getCompletedRunsHist(onMonDir, "OnMon Files", maxRunNumDB, minRunNumDB, lineStyle=7, lineColor=onMonColor, additionalDir=onMonTriggerDirs[detector], skipStr=".SMALL")
 
 dbRunsHist = getDBRunsHist(minRunNumDB, maxRunNumDB, detector, lineStyle=1, lineColor=dbColor)
 
string plotName = path.name+".png"
 
 can
 
 hists
 
tuple onMonDiffHist = (onMonRunsHist - hists[0])
 
 dbDiffHist = dbRunsHist-hists[0]
 
 onMonDiff = onMonDiffHist.Integral(1, onMonDiffHist.GetNbinsX() - 1)
 
 dbDiff = dbDiffHist.Integral(1, dbDiffHist.GetNbinsX() - 3)
 
string text = ""
 
string redirectUrl = dateStr+"/watchdog.html"
 
 apacheFile = open(webDir + ".htaccess", 'w')
 

Variable Documentation

recentWatchdog.apacheFile = open(webDir + ".htaccess", 'w')

Definition at line 104 of file recentWatchdog.py.

recentWatchdog.can

Definition at line 79 of file recentWatchdog.py.

string recentWatchdog.dateStr = str(now.year)+"-"

Definition at line 29 of file recentWatchdog.py.

recentWatchdog.dbDiff = dbDiffHist.Integral(1, dbDiffHist.GetNbinsX() - 3)

Definition at line 85 of file recentWatchdog.py.

recentWatchdog.dbDiffHist = dbRunsHist-hists[0]

Definition at line 82 of file recentWatchdog.py.

recentWatchdog.dbRunsHist = getDBRunsHist(minRunNumDB, maxRunNumDB, detector, lineStyle=1, lineColor=dbColor)

Definition at line 68 of file recentWatchdog.py.

recentWatchdog.files = os.listdir(outputDir)

Definition at line 45 of file recentWatchdog.py.

recentWatchdog.fullNames = OrderedDict()

Definition at line 24 of file recentWatchdog.py.

recentWatchdog.hists

Definition at line 79 of file recentWatchdog.py.

recentWatchdog.jumboText = html.heading1("NOvA Offline Data Watchdog FTS Summary")

Definition at line 47 of file recentWatchdog.py.

recentWatchdog.maxRunNumDB

Definition at line 66 of file recentWatchdog.py.

recentWatchdog.minRunNumDB

Definition at line 66 of file recentWatchdog.py.

recentWatchdog.now = datetime.datetime.now()
recentWatchdog.onMonDiff = onMonDiffHist.Integral(1, onMonDiffHist.GetNbinsX() - 1)

Definition at line 83 of file recentWatchdog.py.

tuple recentWatchdog.onMonDiffHist = (onMonRunsHist - hists[0])

Definition at line 81 of file recentWatchdog.py.

recentWatchdog.onMonRunsHist = getCompletedRunsHist(onMonDir, "OnMon Files", maxRunNumDB, minRunNumDB, lineStyle=7, lineColor=onMonColor, additionalDir=onMonTriggerDirs[detector], skipStr=".SMALL")

Definition at line 67 of file recentWatchdog.py.

string recentWatchdog.outputDir = webDir+dateStr+"/"

Definition at line 30 of file recentWatchdog.py.

Referenced by DrawDataMC(), and DrawPlots().

recentWatchdog.outputHtml = open(outputDir + "watchdog.html", 'w')

Definition at line 40 of file recentWatchdog.py.

string recentWatchdog.plotName = path.name+".png"

Definition at line 78 of file recentWatchdog.py.

string recentWatchdog.recoveryUrl = "http://cdcvs.fnal.gov/redmine/projects/datacheck/wiki/Recovering_Missing_Files_from_FTS"

Definition at line 37 of file recentWatchdog.py.

string recentWatchdog.redirectUrl = dateStr+"/watchdog.html"

Definition at line 102 of file recentWatchdog.py.

string recentWatchdog.text = ""

Definition at line 86 of file recentWatchdog.py.

string recentWatchdog.url = "http://nusoft.fnal.gov/nova/datacheck/watchdogs/"
string recentWatchdog.webDir = "/nusoft/app/web/htdoc/nova/datacheck/watchdogs/"

Definition at line 19 of file recentWatchdog.py.