CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 pileupReCalc_Lumis
 

Functions

def pileupReCalc_Lumis.parseInputFile
 

Variables

list pileupReCalc_Lumis.CalculationModeChoices = ['truth', 'observed']
 
string pileupReCalc_Lumis.default = 'PileupRecalcJSON.txt'
 
string pileupReCalc_Lumis.help = 'output pileup JSON file'
 
tuple pileupReCalc_Lumis.inputPileupRange = parseInputFile(options.inputLumiJSON)
 
tuple pileupReCalc_Lumis.inputRange = csvLumibyLSParser.csvLumibyLSParser(options.inputfile)
 
tuple pileupReCalc_Lumis.lastindex = len(OUTPUTLINE)
 
list pileupReCalc_Lumis.lslist = inputRange[run]
 
string pileupReCalc_Lumis.LumiString = "[%d,%2.4e,%2.4e,%2.4e],"
 
list pileupReCalc_Lumis.newInstLumi = scale*PUlumiInfo[2]
 
list pileupReCalc_Lumis.newIntLumi = scale*PUlumiInfo[0]
 
list pileupReCalc_Lumis.newRmsLumi = scale*PUlumiInfo[1]
 
tuple pileupReCalc_Lumis.outputfile = open(options.outputfile,'w')
 
string pileupReCalc_Lumis.OUTPUTLINE = ""
 
tuple pileupReCalc_Lumis.parser
 

## Main Program

More...
 
list pileupReCalc_Lumis.PixlumiInfo = lslist[LSnumber]
 
list pileupReCalc_Lumis.PUlumiInfo = LSPUlist[LSnumber]
 
int pileupReCalc_Lumis.scale = 0
 
list pileupReCalc_Lumis.trunc = OUTPUTLINE[0:lastindex]
 
string pileupReCalc_Lumis.VERSION = '1.00'