CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
pileupCalc.py File Reference

Go to the source code of this file.

Namespaces

 pileupCalc
 

Functions

def pileupCalc.fillPileupHistogram
 
def pileupCalc.MyErf
 
def pileupCalc.parseInputFile
 

Variables

list pileupCalc.CalculationModeChoices = ['truth', 'observed']
 
string pileupCalc.default = 'PileupCalc.root'
 
string pileupCalc.help = 'output root file'
 
tuple pileupCalc.histFile = ROOT.TFile.Open(output, 'recreate')
 
tuple pileupCalc.inpf = open(options.inputfile, 'r')
 
tuple pileupCalc.inputfilecontent = inpf.read()
 
tuple pileupCalc.inputPileupRange = parseInputFile(options.inputLumiJSON)
 
tuple pileupCalc.inputRange = selectionParser.selectionParser(inputfilecontent)
 
list pileupCalc.LSPUlist = inputPileupRange[run]
 
list pileupCalc.lumiInfo = LSPUlist[LSnumber]
 
 pileupCalc.nbins = options.numPileupBins
 
list pileupCalc.output = args[0]
 
tuple pileupCalc.parser
 

## Main Program

More...
 
tuple pileupCalc.pileupHist
 
 pileupCalc.type = float,
 
 pileupCalc.upper = options.maxPileupBin
 
string pileupCalc.VERSION = '1.00'