Classes | |
class | LumiInfo |
LumiInfo ClassMore... | |
class | LumiInfoCont |
LumiInfoCont ClassMore... | |
Functions | |
def | loadEvents |
General FunctionsMore... | |
def | makeEDFplot |
Variables | |
string | action = 'store_true' |
list | allowedEDF = ['time', 'instLum', 'instIntLum'] |
## MainMore... | |
tuple | cont = LumiInfoCont(args[0], **options.__dict__) |
load Luminosity info ## More... | |
string | default = 'Empirical Distribution Function' |
done = False | |
string | help = 'title of plot (default %default)' |
tuple | inputGroup = optparse.OptionGroup(parser, "Input Options") |
tuple | modeGroup = optparse.OptionGroup(parser, "Mode Options") |
tuple | nonSpaceRE = re.compile(r'\S') |
tuple | 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 | pieces = sepRE.split(line) |
tuple | plotGroup = optparse.OptionGroup(parser, "Plot Options") |
int | prevRecLumi = 0 |
tuple | rangeGroup = optparse.OptionGroup(parser, "Range Options") |
int | recLumIndex = 0 |
list | recLumis = [] |
look for which runs correspond to what total ## recorded integrated luminosity ## More... | |
tuple | recLumValue = float(piece) |
tuple | sepRE = re.compile(r'[\s,;:]+') |
string | type = 'string' |
def generateEDF.loadEvents | ( | filename, | |
cont, | |||
options | |||
) |
Definition at line 234 of file generateEDF.py.
References python.multivaluedict.append().
def generateEDF.makeEDFplot | ( | lumiCont, | |
eventsDict, | |||
totalWeight, | |||
outputFile, | |||
options | |||
) |
Definition at line 284 of file generateEDF.py.
string generateEDF.action = 'store_true' |
Definition at line 570 of file generateEDF.py.
list generateEDF.allowedEDF = ['time', 'instLum', 'instIntLum'] |
tuple generateEDF.cont = LumiInfoCont(args[0], **options.__dict__) |
load Luminosity info ##
Definition at line 622 of file generateEDF.py.
string generateEDF.default = 'Empirical Distribution Function' |
Definition at line 561 of file generateEDF.py.
generateEDF.done = False |
Definition at line 651 of file generateEDF.py.
Definition at line 562 of file generateEDF.py.
Definition at line 558 of file generateEDF.py.
Definition at line 559 of file generateEDF.py.
tuple generateEDF.nonSpaceRE = re.compile(r'\S') |
Definition at line 12 of file generateEDF.py.
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.') |
Definition at line 555 of file generateEDF.py.
tuple generateEDF.pieces = sepRE.split(line) |
Definition at line 635 of file generateEDF.py.
Definition at line 556 of file generateEDF.py.
generateEDF.prevRecLumi = 0 |
Definition at line 650 of file generateEDF.py.
Definition at line 557 of file generateEDF.py.
int generateEDF.recLumIndex = 0 |
Definition at line 648 of file generateEDF.py.
list generateEDF.recLumis = [] |
look for which runs correspond to what total ## recorded integrated luminosity ##
Definition at line 633 of file generateEDF.py.
list generateEDF.recLumValue = float(piece) |
Definition at line 638 of file generateEDF.py.
tuple generateEDF.sepRE = re.compile(r'[\s,;:]+') |
Definition at line 11 of file generateEDF.py.
string generateEDF.type = 'string' |
Definition at line 584 of file generateEDF.py.