Variables
tb_recentWatchdog Namespace Reference

Variables

string webDir = "/nusoft/app/web/htdoc/nova/datacheck/watchdogs/testbeam/"
 
 fullNames = OrderedDict()
 
 now = datetime.datetime.now()
 
string dateStr = str(now.year)+"-"
 
string outputDir = webDir+dateStr+"/"
 
string url = "http://nusoft.fnal.gov/nova/datacheck/watchdogs/testbeam/"
 
string recoveryUrl = "http://cdcvs.fnal.gov/redmine/projects/datacheck/wiki/Recovering_Missing_Files_from_FTS"
 
 outputHtml = open(outputDir + "tb_watchdog.html", 'w')
 
 files = os.listdir(outputDir)
 
 jumboText = html.heading1("NOvA Test Beam 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+"/tb_watchdog.html"
 
 apacheFile = open(webDir + ".htaccess", 'w')
 

Variable Documentation

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

Definition at line 105 of file tb_recentWatchdog.py.

tb_recentWatchdog.can

Definition at line 80 of file tb_recentWatchdog.py.

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

Definition at line 28 of file tb_recentWatchdog.py.

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

Definition at line 86 of file tb_recentWatchdog.py.

tb_recentWatchdog.dbDiffHist = dbRunsHist-hists[0]

Definition at line 83 of file tb_recentWatchdog.py.

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

Definition at line 69 of file tb_recentWatchdog.py.

tb_recentWatchdog.files = os.listdir(outputDir)

Definition at line 44 of file tb_recentWatchdog.py.

tb_recentWatchdog.fullNames = OrderedDict()

Definition at line 24 of file tb_recentWatchdog.py.

tb_recentWatchdog.hists

Definition at line 80 of file tb_recentWatchdog.py.

tb_recentWatchdog.jumboText = html.heading1("NOvA Test Beam Offline Data Watchdog FTS Summary")

Definition at line 46 of file tb_recentWatchdog.py.

tb_recentWatchdog.maxRunNumDB

Definition at line 67 of file tb_recentWatchdog.py.

tb_recentWatchdog.minRunNumDB

Definition at line 67 of file tb_recentWatchdog.py.

tb_recentWatchdog.now = datetime.datetime.now()

Definition at line 27 of file tb_recentWatchdog.py.

tb_recentWatchdog.onMonDiff = onMonDiffHist.Integral(1, onMonDiffHist.GetNbinsX() - 1)

Definition at line 84 of file tb_recentWatchdog.py.

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

Definition at line 82 of file tb_recentWatchdog.py.

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

Definition at line 68 of file tb_recentWatchdog.py.

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

Definition at line 29 of file tb_recentWatchdog.py.

tb_recentWatchdog.outputHtml = open(outputDir + "tb_watchdog.html", 'w')

Definition at line 39 of file tb_recentWatchdog.py.

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

Definition at line 79 of file tb_recentWatchdog.py.

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

Definition at line 36 of file tb_recentWatchdog.py.

string tb_recentWatchdog.redirectUrl = dateStr+"/tb_watchdog.html"

Definition at line 103 of file tb_recentWatchdog.py.

string tb_recentWatchdog.text = ""

Definition at line 87 of file tb_recentWatchdog.py.

string tb_recentWatchdog.url = "http://nusoft.fnal.gov/nova/datacheck/watchdogs/testbeam/"

Definition at line 34 of file tb_recentWatchdog.py.

string tb_recentWatchdog.webDir = "/nusoft/app/web/htdoc/nova/datacheck/watchdogs/testbeam/"

Definition at line 19 of file tb_recentWatchdog.py.