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 240 of file generateEDF.py.
References bitset_utilities.append(), and print().
def generateEDF.makeEDFplot | ( | lumiCont, | |
eventsDict, | |||
totalWeight, | |||
outputFile, | |||
options | |||
) |
Definition at line 290 of file generateEDF.py.
References SiStripPI.max, SiStripPI.min, and print().
string generateEDF.action = 'store_true' |
Definition at line 576 of file generateEDF.py.
list generateEDF.allowedEDF = ['time', 'instLum', 'instIntLum'] |
tuple generateEDF.cont = LumiInfoCont(args[0], **options.__dict__) |
load Luminosity info ##
Definition at line 628 of file generateEDF.py.
Referenced by UHTRpacker.addChannel(), CaloTowersClient.CaloTowersEndjob(), CaloTowersDQMClient.CaloTowersEndjob(), DTHVStatusHandler.checkForPeriod(), Primary4DVertexHarvester.dqmEndJob(), HcalObjRepresent::HcalDataContainer< Items, Item >.fillValConts(), SymmetryFit.findUsableMinMax(), MuScleFitUtils.fitMass(), MuScleFitUtils.fitReso(), Phase2ITRecHitHarvester.gausFitslices(), DirectMuonNavigation.inOutBackward(), DirectMuonNavigation.inOutBarrel(), DirectMuonNavigation.inOutForward(), DQMGenericClient.limitedFit(), DirectMuonNavigation.outInBackward(), DirectMuonNavigation.outInBarrel(), DirectMuonNavigation.outInForward(), PATTauIDEmbedder.PATTauIDEmbedder(), cond::XMLAuthenticationService::XMLAuthenticationService.processFile(), TrackProducerWithSCAssociation.produce(), BoostedDoubleSVProducer.produce(), DAFTrackProducerAlgorithm.runWithCandidate(), and HcalSimHitsClient.SimHitsEndjob().
string generateEDF.default = 'Empirical Distribution Function' |
Definition at line 567 of file generateEDF.py.
generateEDF.done = False |
Definition at line 657 of file generateEDF.py.
Definition at line 568 of file generateEDF.py.
Definition at line 564 of file generateEDF.py.
Definition at line 565 of file generateEDF.py.
tuple generateEDF.nonSpaceRE = re.compile(r'\S') |
Definition at line 18 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 561 of file generateEDF.py.
tuple generateEDF.pieces = sepRE.split(line) |
Definition at line 641 of file generateEDF.py.
Definition at line 562 of file generateEDF.py.
generateEDF.prevRecLumi = 0 |
Definition at line 656 of file generateEDF.py.
Definition at line 563 of file generateEDF.py.
int generateEDF.recLumIndex = 0 |
Definition at line 654 of file generateEDF.py.
list generateEDF.recLumis = [] |
look for which runs correspond to what total ## recorded integrated luminosity ##
Definition at line 639 of file generateEDF.py.
list generateEDF.recLumValue = float(piece) |
Definition at line 644 of file generateEDF.py.
tuple generateEDF.sepRE = re.compile(r'[\s,;:]+') |
Definition at line 17 of file generateEDF.py.
string generateEDF.type = 'string' |
Definition at line 590 of file generateEDF.py.