Functions | |
def | fillPileupHistogram |
def | MyErf |
def | parseInputFile |
Variables | |
list | CalculationModeChoices = ['truth', 'observed'] |
string | default = 'PileupCalc.root' |
string | help = 'output root file' |
tuple | histFile = ROOT.TFile.Open(output, 'recreate') |
tuple | inpf = open(options.inputfile, 'r') |
tuple | inputfilecontent = inpf.read() |
tuple | inputPileupRange = parseInputFile(options.inputLumiJSON) |
tuple | inputRange = selectionParser.selectionParser(inputfilecontent) |
list | LSPUlist = inputPileupRange[run] |
list | lumiInfo = LSPUlist[LSnumber] |
nbins = options.numPileupBins | |
list | output = args[0] |
tuple | parser |
## Main ProgramMore... | |
tuple | pileupHist |
type = float, | |
upper = options.maxPileupBin | |
string | VERSION = '1.00' |
def pileupCalc.fillPileupHistogram | ( | lumiInfo, | |
calcOption, | |||
hist, | |||
minbXsec, | |||
Nbins | |||
) |
lumiinfo:[intlumi per LS, mean interactions ] intlumi is the deadtime corrected average integraged lumi per lumisection
Definition at line 54 of file pileupCalc.py.
def pileupCalc.MyErf | ( | input | ) |
Definition at line 22 of file pileupCalc.py.
def pileupCalc.parseInputFile | ( | inputfilename | ) |
output ({run:[ls:[inlumi, meanint]]})
Definition at line 10 of file pileupCalc.py.
list pileupCalc.CalculationModeChoices = ['truth', 'observed'] |
Definition at line 172 of file pileupCalc.py.
string pileupCalc.default = 'PileupCalc.root' |
Definition at line 183 of file pileupCalc.py.
string pileupCalc.help = 'output root file' |
Definition at line 184 of file pileupCalc.py.
tuple pileupCalc.histFile = ROOT.TFile.Open(output, 'recreate') |
Definition at line 278 of file pileupCalc.py.
tuple pileupCalc.inpf = open(options.inputfile, 'r') |
Definition at line 240 of file pileupCalc.py.
tuple pileupCalc.inputfilecontent = inpf.read() |
Definition at line 241 of file pileupCalc.py.
tuple pileupCalc.inputPileupRange = parseInputFile(options.inputLumiJSON) |
Definition at line 247 of file pileupCalc.py.
tuple pileupCalc.inputRange = selectionParser.selectionParser(inputfilecontent) |
Definition at line 242 of file pileupCalc.py.
list pileupCalc.LSPUlist = inputPileupRange[run] |
Definition at line 257 of file pileupCalc.py.
Definition at line 262 of file pileupCalc.py.
pileupCalc.nbins = options.numPileupBins |
Definition at line 237 of file pileupCalc.py.
list pileupCalc.output = args[0] |
Definition at line 219 of file pileupCalc.py.
tuple pileupCalc.parser |
Definition at line 168 of file pileupCalc.py.
tuple pileupCalc.pileupHist |
Definition at line 233 of file pileupCalc.py.
pileupCalc.type = float, |
Definition at line 192 of file pileupCalc.py.
pileupCalc.upper = options.maxPileupBin |
Definition at line 238 of file pileupCalc.py.
Referenced by TableParser.extractPages(), MagVolumeOutsideValidity.MagVolumeOutsideValidity(), and MFGrid3D.valueInTesla().
string pileupCalc.VERSION = '1.00' |
Definition at line 2 of file pileupCalc.py.