CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/FWCore/PythonUtilities/scripts/generateEDF.py File Reference

Go to the source code of this file.

Classes

class  generateEDF::LumiInfo
 #################### ## ## LumiInfo Class ## ## #################### ## More...
class  generateEDF::LumiInfoCont
 ######################## ## ## LumiInfoCont Class ## ## ######################## ## More...

Namespaces

namespace  generateEDF

Functions

def generateEDF::loadEvents
 ####################### ## ## General Functions ## ## ####################### ##
def generateEDF::makeEDFplot

Variables

string generateEDF::action = 'store_true'
list generateEDF::allowedEDF = ['time', 'instLum', 'instIntLum']
 ################ ## ## ########## ## ## ## ## Main ## ## ## ## ########## ## ## ################ ##
tuple generateEDF::cont = LumiInfoCont(args[0], **options.__dict__)
 load Luminosity info ##
string generateEDF::default = 'Empirical Distribution Function'
 generateEDF::done = False
string generateEDF::help = 'title of plot (default %default)'
tuple generateEDF::inputGroup = optparse.OptionGroup(parser, "Input Options")
tuple generateEDF::modeGroup = optparse.OptionGroup(parser, "Mode Options")
tuple generateEDF::nonSpaceRE = re.compile(r'\S')
tuple generateEDF::parser = optparse.OptionParser("Usage: %prog [options] lumi.csv events.txt output.png", description='Script for generating EDF curves. See https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideGenerateEDF for more details.')
tuple generateEDF::pieces = sepRE.split(line)
tuple generateEDF::plotGroup = optparse.OptionGroup(parser, "Plot Options")
int generateEDF::prevRecLumi = 0
tuple generateEDF::rangeGroup = optparse.OptionGroup(parser, "Range Options")
int generateEDF::recLumIndex = 0
list generateEDF::recLumis = []
 look for which runs correspond to what total ## recorded integrated luminosity ##
tuple generateEDF::recLumValue = float(piece)
tuple generateEDF::sepRE = re.compile(r'[\s,;:]+')
string generateEDF::type = 'string'