CMS 3D CMS Logo

Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoLuminosity/LumiDB/scripts/pileupReCalc_HLTpaths.py File Reference

Go to the source code of this file.

Namespaces

namespace  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)
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 ## ## ## ## ################## ## ## ######################## ##
list pileupReCalc_HLTpaths::PUlumiInfo = LSPUlist[LSnumber]
int pileupReCalc_HLTpaths::scale = 0
list pileupReCalc_HLTpaths::trunc = OUTPUTLINE[0:lastindex]
string pileupReCalc_HLTpaths::VERSION = '1.00'