CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions | Variables
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

 generateEDF
 

Functions

def generateEDF.loadEvents
 

General Functions

More...
 
def generateEDF.makeEDFplot
 

Variables

string generateEDF.action = 'store_true'
 
list generateEDF.allowedEDF = ['time', 'instLum', 'instIntLum']
 

## Main

More...
 
tuple generateEDF.cont = LumiInfoCont(args[0], **options.__dict__)
 load Luminosity info ## More...
 
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 ## More...
 
tuple generateEDF.recLumValue = float(piece)
 
tuple generateEDF.sepRE = re.compile(r'[\s,;:]+')
 
string generateEDF.type = 'string'