CMS 3D CMS Logo

pyRunSummaryBaseClass::goodHCALRun Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 beginRun
 debug
 endRun
 runinfo
 thepage
 values


Detailed Description

stores info about a single run number

Definition at line 184 of file pyRunSummaryBaseClass.py.


Member Function Documentation

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:    


Member Data Documentation

pyRunSummaryBaseClass::goodHCALRun::beginRun

Definition at line 188 of file pyRunSummaryBaseClass.py.

pyRunSummaryBaseClass::goodHCALRun::debug

Definition at line 190 of file pyRunSummaryBaseClass.py.

pyRunSummaryBaseClass::goodHCALRun::endRun

Definition at line 189 of file pyRunSummaryBaseClass.py.

pyRunSummaryBaseClass::goodHCALRun::runinfo

Definition at line 206 of file pyRunSummaryBaseClass.py.

pyRunSummaryBaseClass::goodHCALRun::thepage

Definition at line 201 of file pyRunSummaryBaseClass.py.

pyRunSummaryBaseClass::goodHCALRun::values

Definition at line 191 of file pyRunSummaryBaseClass.py.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:50:39 2009 for CMSSW by  doxygen 1.5.4