CMS 3D CMS Logo

pyDBSRunClass::FileInfo Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 dataset
 fileName
 goodFile
 infotext
 lumiBlock
 numEvents


Detailed Description

Stores info about a given file within a run.

Definition at line 6 of file pyDBSRunClass.py.


Member Function Documentation

def pyDBSRunClass::FileInfo::__init__ (   self,
  infotext = None 
)

Definition at line 9 of file pyDBSRunClass.py.

00009                                     :
00010         self.fileName=None
00011         self.numEvents=0
00012         self.lumiBlock=0
00013         self.dataset=None
00014         self.goodFile=False
00015         self.infotext=string.split(infotext,",")
00016         if len(self.infotext)>0:
00017             self.fileName=self.infotext[0]
00018         if len(self.infotext)>1:
00019             self.numEvents=string.atoi(self.infotext[1])
00020         if len(self.infotext)>2:
00021             self.lumiBlock=string.atoi(self.infotext[2])
00022         if len(self.infotext)>3:
00023             self.dataset=self.infotext[3]
00024             self.goodFile=True
00025         return
00026         
00027 
class DBSRun:


Member Data Documentation

pyDBSRunClass::FileInfo::dataset

Definition at line 13 of file pyDBSRunClass.py.

pyDBSRunClass::FileInfo::fileName

Definition at line 10 of file pyDBSRunClass.py.

pyDBSRunClass::FileInfo::goodFile

Definition at line 14 of file pyDBSRunClass.py.

pyDBSRunClass::FileInfo::infotext

Definition at line 15 of file pyDBSRunClass.py.

pyDBSRunClass::FileInfo::lumiBlock

Definition at line 12 of file pyDBSRunClass.py.

pyDBSRunClass::FileInfo::numEvents

Definition at line 11 of file pyDBSRunClass.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