CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Attributes
csvLumibyLSParser.csvLumibyLSParser Class Reference
Inheritance diagram for csvLumibyLSParser.csvLumibyLSParser:

Public Member Functions

def __init__
 
def numls
 
def numruns
 
def runs
 
def runsandls
 

Static Public Attributes

tuple csvReader = csv.reader(open(filename),delimiter=',')
 
list elems = [ delivered,recorded ]
 
tuple field0 = str(row[0])
 
tuple field1 = str(row[1])
 
tuple fieldsplit = re.split(':',field0)
 
int lastLumi = 0
 
dictionary ldict = {}
 
list llist = []
 
tuple lsnumber = int(lsstring)
 
list lsstring = fieldsplit[0]
 
string lsstring = '1'
 
int NonValidLumi = 0
 
int oldRun = 0
 
 oldRun = runnumber
 
int runnumber = 0
 
tuple runnumber = int(runstring)
 
list runstring = fieldsplit[0]
 

Private Attributes

 __filename
 
 __result
 
 __strresult
 

Detailed Description

Definition at line 12 of file csvLumibyLSParser.py.

Constructor & Destructor Documentation

def csvLumibyLSParser.csvLumibyLSParser.__init__ (   self,
  filename,
  RunX 
)

Member Function Documentation

def csvLumibyLSParser.csvLumibyLSParser.numls (   self,
  run 
)

Definition at line 93 of file csvLumibyLSParser.py.

References csvLumibyLSParser.csvLumibyLSParser.__result, EgammaHLTValidationUtils.EgammaDQMModuleMaker.__result, SequenceTypes._CopyAndExcludeSequenceVisitorOld.__result, and SequenceTypes._MutatingSequenceVisitor.__result.

93 
94  def numls(self,run):
95  return len(self.__result[run])
def csvLumibyLSParser.csvLumibyLSParser.numruns (   self)

Definition at line 91 of file csvLumibyLSParser.py.

91 
92  def numruns(self):
return len(self.__result.keys())
def csvLumibyLSParser.csvLumibyLSParser.runs (   self)

Definition at line 81 of file csvLumibyLSParser.py.

Referenced by inputFilesetParser.inputFilesetParser.selectedRunsWithoutresult(), and inputFilesetParser.inputFilesetParser.selectedRunsWithresult().

81 
82  def runs(self):
return self.__result.keys()
def csvLumibyLSParser.csvLumibyLSParser.runsandls (   self)
return {run:lslist}

Definition at line 83 of file csvLumibyLSParser.py.

References csvLumibyLSParser.csvLumibyLSParser.__result, EgammaHLTValidationUtils.EgammaDQMModuleMaker.__result, SequenceTypes._CopyAndExcludeSequenceVisitorOld.__result, and SequenceTypes._MutatingSequenceVisitor.__result.

83 
84  def runsandls(self):
85  '''return {run:lslist}
86  '''
87  return self.__result
88 # def runsandlsStr(self):
89 # '''return {'run':lslist}
90 # '''
# return self.__strresult

Member Data Documentation

csvLumibyLSParser.csvLumibyLSParser.__filename
private

Definition at line 16 of file csvLumibyLSParser.py.

Referenced by csvReporter.csvReporter.writeRow(), and csvReporter.csvReporter.writeRows().

csvLumibyLSParser.csvLumibyLSParser.__result
private

Definition at line 14 of file csvLumibyLSParser.py.

Referenced by selectionParser.selectionParser.numls(), csvSelectionParser.csvSelectionParser.numls(), pileupParser.pileupParser.numls(), csvLumibyLSParser.csvLumibyLSParser.numls(), selectionParser.selectionParser.runsandls(), csvSelectionParser.csvSelectionParser.runsandls(), pileupParser.pileupParser.runsandls(), and csvLumibyLSParser.csvLumibyLSParser.runsandls().

csvLumibyLSParser.csvLumibyLSParser.__strresult
private

Definition at line 15 of file csvLumibyLSParser.py.

Referenced by selectionParser.selectionParser.runsandlsStr(), csvSelectionParser.csvSelectionParser.runsandlsStr(), and pileupParser.pileupParser.runsandlsStr().

tuple csvLumibyLSParser.csvLumibyLSParser.csvReader = csv.reader(open(filename),delimiter=',')
static

Definition at line 18 of file csvLumibyLSParser.py.

list csvLumibyLSParser.csvLumibyLSParser.elems = [ delivered,recorded ]
static

Definition at line 76 of file csvLumibyLSParser.py.

tuple csvLumibyLSParser.csvLumibyLSParser.field0 = str(row[0])
static

Definition at line 26 of file csvLumibyLSParser.py.

tuple csvLumibyLSParser.csvLumibyLSParser.field1 = str(row[1])
static

Definition at line 30 of file csvLumibyLSParser.py.

tuple csvLumibyLSParser.csvLumibyLSParser.fieldsplit = re.split(':',field0)
static

Definition at line 27 of file csvLumibyLSParser.py.

int csvLumibyLSParser.csvLumibyLSParser.lastLumi = 0
static

Definition at line 24 of file csvLumibyLSParser.py.

dictionary csvLumibyLSParser.csvLumibyLSParser.ldict = {}
static

Definition at line 21 of file csvLumibyLSParser.py.

list csvLumibyLSParser.csvLumibyLSParser.llist = []
static

Definition at line 22 of file csvLumibyLSParser.py.

tuple csvLumibyLSParser.csvLumibyLSParser.lsnumber = int(lsstring)
static

Definition at line 38 of file csvLumibyLSParser.py.

list csvLumibyLSParser.csvLumibyLSParser.lsstring = fieldsplit[0]
static

Definition at line 32 of file csvLumibyLSParser.py.

string csvLumibyLSParser.csvLumibyLSParser.lsstring = '1'
static

Definition at line 34 of file csvLumibyLSParser.py.

int csvLumibyLSParser.csvLumibyLSParser.NonValidLumi = 0
static

Definition at line 23 of file csvLumibyLSParser.py.

int csvLumibyLSParser.csvLumibyLSParser.oldRun = 0
static

Definition at line 19 of file csvLumibyLSParser.py.

csvLumibyLSParser.csvLumibyLSParser.oldRun = runnumber
static

Definition at line 44 of file csvLumibyLSParser.py.

int csvLumibyLSParser.csvLumibyLSParser.runnumber = 0
static

Definition at line 20 of file csvLumibyLSParser.py.

tuple csvLumibyLSParser.csvLumibyLSParser.runnumber = int(runstring)
static

Definition at line 37 of file csvLumibyLSParser.py.

list csvLumibyLSParser.csvLumibyLSParser.runstring = fieldsplit[0]
static

Definition at line 28 of file csvLumibyLSParser.py.