Public Member Functions | |
def | __init__ |
Public Attributes | |
beginRun | |
debug | |
endRun | |
runinfo | |
thepage | |
values |
stores info about a single run number
Definition at line 184 of file pyRunSummaryBaseClass.py.
def pyRunSummaryBaseClass::goodHCALRun::__init__ | ( | self, | ||
run = 43293 , |
||||
debug = False | ||||
) |
Definition at line 187 of file pyRunSummaryBaseClass.py.
00187 : 00188 self.beginRun=run 00189 self.endRun=run 00190 self.debug=debug 00191 self.values={"RUN_BEGIN":self.beginRun, 00192 "RUN_END":self.endRun} 00193 # Run Summary Page URL 00194 myurl="https://cmsmon.cern.ch/cmsdb/servlet/RunSummary" 00195 00196 # encode values as URL data, and post them to run summary page 00197 data=urllib.urlencode(self.values) 00198 req=urllib2.Request(myurl,data) 00199 # Get result of sending data to URL 00200 response=urllib2.urlopen(req) 00201 self.thepage=response.read() 00202 # Split result by <TR> (since result is a table of runs, if runs found) 00203 self.thepage=string.split(self.thepage,"<TR>") 00204 #for i in thepage: 00205 # print i 00206 self.runinfo = parseResult(self.thepage[-1],self.debug) 00207 print "\n\n\n" 00208 self.runinfo.printParse() 00209 return 00210 class goodHCALList:
Definition at line 188 of file pyRunSummaryBaseClass.py.
Definition at line 190 of file pyRunSummaryBaseClass.py.
Definition at line 189 of file pyRunSummaryBaseClass.py.
Definition at line 206 of file pyRunSummaryBaseClass.py.
Definition at line 201 of file pyRunSummaryBaseClass.py.
Definition at line 191 of file pyRunSummaryBaseClass.py.