test
CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 pileupReCalc_HLTpaths
 

Functions

def pileupReCalc_HLTpaths.parseInputFile
 

Variables

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

## Main Program

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