Functions | |
def | CalcPileup |
Variables | |
int | aveLumi = 0 |
tuple | BX = int(iBX) |
Let's start the fun. More... | |
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 | ipiece = 0 |
int | LastDelivered = 0 |
tuple | lastindex = len(OUTPUTLINE) |
int | lastLumiS = 0 |
list | LastValidLumi = [] |
tuple | LumiArray |
tuple | luminometer = str( pieces[14] ) |
string | LumiString = "[%d,%2.4e,%2.4e,%2.4e]," |
int | OldRun = -1 |
list | output = args[0] |
tuple | outputfile = open(output,'w') |
string | OUTPUTLINE = "" |
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 = {} |
list | selBXs = [] |
tuple | sepRE = re.compile(r'[\]\[\s,;:]+') |
list | trunc = OUTPUTLINE[0:lastindex] |
list | xingInstLumiArray |
def estimatePileup_makeJSON_2015.CalcPileup | ( | deadTable, | |
parameters, | |||
luminometer, | |||
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 14 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.aveLumi = 0 |
Definition at line 240 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.BX = int(iBX) |
Let's start the fun.
Definition at line 163 of file estimatePileup_makeJSON_2015.py.
dictionary estimatePileup_makeJSON_2015.csvDict = {} |
Definition at line 189 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.events = open(options.csvInput, 'r') |
Definition at line 177 of file estimatePileup_makeJSON_2015.py.
dictionary estimatePileup_makeJSON_2015.GapDict = {} |
Definition at line 181 of file estimatePileup_makeJSON_2015.py.
string estimatePileup_makeJSON_2015.help = 'Use CSV file from lumiCalc.py instead of lumiDB' |
Definition at line 140 of file estimatePileup_makeJSON_2015.py.
int estimatePileup_makeJSON_2015.InGap = 0 |
Definition at line 180 of file estimatePileup_makeJSON_2015.py.
Definition at line 137 of file estimatePileup_makeJSON_2015.py.
int estimatePileup_makeJSON_2015.ipiece = 0 |
Definition at line 196 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.LastDelivered = 0 |
Definition at line 183 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.lastindex = len(OUTPUTLINE) |
Definition at line 259 of file estimatePileup_makeJSON_2015.py.
estimatePileup_makeJSON_2015.lastLumiS = 0 |
Definition at line 232 of file estimatePileup_makeJSON_2015.py.
estimatePileup_makeJSON_2015.LastValidLumi = [] |
Definition at line 182 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.LumiArray |
Definition at line 272 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.luminometer = str( pieces[14] ) |
Definition at line 216 of file estimatePileup_makeJSON_2015.py.
string estimatePileup_makeJSON_2015.LumiString = "[%d,%2.4e,%2.4e,%2.4e]," |
Definition at line 243 of file estimatePileup_makeJSON_2015.py.
estimatePileup_makeJSON_2015.OldRun = -1 |
Definition at line 178 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.output = args[0] |
Definition at line 154 of file estimatePileup_makeJSON_2015.py.
Definition at line 298 of file estimatePileup_makeJSON_2015.py.
estimatePileup_makeJSON_2015.OUTPUTLINE = "" |
Definition at line 171 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.parameters = LumiQueryAPI.ParametersObject() |
Definition at line 134 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.parser |
Definition at line 135 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.peakratio = lumiInfo[0] |
Definition at line 238 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.pieces = sepRE.split(line.strip()) |
Definition at line 194 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.pileup = LastValidLumi[3] |
Definition at line 239 of file estimatePileup_makeJSON_2015.py.
Definition at line 138 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.record = lumiInfo[1] |
Definition at line 234 of file estimatePileup_makeJSON_2015.py.
dictionary estimatePileup_makeJSON_2015.runLumiDict = {} |
Definition at line 188 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.selBXs = [] |
Definition at line 13 of file estimatePileup_makeJSON_2015.py.
tuple estimatePileup_makeJSON_2015.sepRE = re.compile(r'[\]\[\s,;:]+') |
Definition at line 176 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.trunc = OUTPUTLINE[0:lastindex] |
Definition at line 260 of file estimatePileup_makeJSON_2015.py.
list estimatePileup_makeJSON_2015.xingInstLumiArray |
Definition at line 217 of file estimatePileup_makeJSON_2015.py.