Functions | |
def | CalcPileup |
Variables | |
int | aveLumi = 0 |
dictionary | csvDict = {} |
tuple | events = open(options.csvInput, 'r') |
dictionary | GapDict = {} |
string | help = 'Use CSV file from lumiCalc.py instead of lumiDB' |
int | InGap = 0 |
tuple | inputGroup = optparse.OptionGroup(parser, "Input Options") |
int | LastDelivered = 0 |
tuple | lastindex = len(OUTPUTLINE) |
int | lastLumiS = 0 |
list | LastValidLumi = [] |
tuple | LumiArray |
string | LumiString = "[%d,%2.4e,%2.4e,%2.4e]," |
int | OldRun = -1 |
list | output = args[0] |
tuple | outputfile = open(output,'w') |
string | OUTPUTLINE = "" |
Let's start the fun. More... | |
tuple | parameters = LumiQueryAPI.ParametersObject() |
## Main ProgramMore... | |
tuple | parser |
list | peakratio = lumiInfo[0] |
tuple | pieces = sepRE.split(line.strip()) |
list | pileup = LastValidLumi[3] |
tuple | pileupGroup = optparse.OptionGroup(parser, "Pileup Options") |
list | record = lumiInfo[1] |
dictionary | runLumiDict = {} |
tuple | sepRE = re.compile(r'[\s,;:]+') |
list | trunc = OUTPUTLINE[0:lastindex] |
list | xingInstLumiArray |
def estimatePileup_makeJSON.CalcPileup | ( | deadTable, | |
parameters, | |||
mode = 'deadtable' |
|||
) |
Given a deadtable, will calculate parameters of pileup distribution. Return formatted string with LumiSection, LS integrated lumi, RMS of bunch to bunch lumi and pileup.
Definition at line 13 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.aveLumi = 0 |
Definition at line 194 of file estimatePileup_makeJSON.py.
dictionary estimatePileup_makeJSON.csvDict = {} |
Definition at line 152 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.events = open(options.csvInput, 'r') |
Definition at line 140 of file estimatePileup_makeJSON.py.
dictionary estimatePileup_makeJSON.GapDict = {} |
Definition at line 144 of file estimatePileup_makeJSON.py.
string estimatePileup_makeJSON.help = 'Use CSV file from lumiCalc.py instead of lumiDB' |
Definition at line 116 of file estimatePileup_makeJSON.py.
int estimatePileup_makeJSON.InGap = 0 |
Definition at line 143 of file estimatePileup_makeJSON.py.
Definition at line 113 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.LastDelivered = 0 |
Definition at line 146 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.lastindex = len(OUTPUTLINE) |
Definition at line 213 of file estimatePileup_makeJSON.py.
estimatePileup_makeJSON.lastLumiS = 0 |
Definition at line 186 of file estimatePileup_makeJSON.py.
estimatePileup_makeJSON.LastValidLumi = [] |
Definition at line 145 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.LumiArray |
Definition at line 226 of file estimatePileup_makeJSON.py.
string estimatePileup_makeJSON.LumiString = "[%d,%2.4e,%2.4e,%2.4e]," |
Definition at line 197 of file estimatePileup_makeJSON.py.
estimatePileup_makeJSON.OldRun = -1 |
Definition at line 141 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.output = args[0] |
Definition at line 128 of file estimatePileup_makeJSON.py.
Definition at line 252 of file estimatePileup_makeJSON.py.
Referenced by PFTauElecRejectionBenchmarkAnalyzer.PFTauElecRejectionBenchmarkAnalyzer().
estimatePileup_makeJSON.OUTPUTLINE = "" |
Let's start the fun.
Definition at line 134 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.parameters = LumiQueryAPI.ParametersObject() |
Definition at line 110 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.parser |
Definition at line 111 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.peakratio = lumiInfo[0] |
Definition at line 192 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.pieces = sepRE.split(line.strip()) |
Definition at line 153 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.pileup = LastValidLumi[3] |
Definition at line 193 of file estimatePileup_makeJSON.py.
Referenced by FTSLuminosityFromPileupSummaryInfo.analyze(), and PileUpFilter.filter().
Definition at line 114 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.record = lumiInfo[1] |
Definition at line 188 of file estimatePileup_makeJSON.py.
dictionary estimatePileup_makeJSON.runLumiDict = {} |
Definition at line 151 of file estimatePileup_makeJSON.py.
tuple estimatePileup_makeJSON.sepRE = re.compile(r'[\s,;:]+') |
Definition at line 139 of file estimatePileup_makeJSON.py.
list estimatePileup_makeJSON.trunc = OUTPUTLINE[0:lastindex] |
Definition at line 214 of file estimatePileup_makeJSON.py.
Referenced by LHEWriter.beginRun(), and SiStripRawProcessingFactory.create_Suppressor().
list estimatePileup_makeJSON.xingInstLumiArray |
Definition at line 172 of file estimatePileup_makeJSON.py.