CMS 3D CMS Logo

Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/RecoLuminosity/LumiDB/scripts/lumiCalc.py File Reference

Go to the source code of this file.

Namespaces

namespace  lumiCalc

Functions

def lumiCalc::getPerLSData
def lumiCalc::getValidationData

Variables

list lumiCalc::allowedActions = ['overview', 'delivered', 'recorded', 'lumibyls','lumibylstime','lumibylsXing','status']
list lumiCalc::beamModeChoices = [ "stable", "quiet", "either"]
tuple lumiCalc::dataperrun = getValidationData(session,run=runnum,cmsls=lslist)
tuple lumiCalc::delivereddata = lumiQueryAPI.deliveredLumiForRange(session, parameters, inputRange)
string lumiCalc::hltpath = ''
tuple lumiCalc::inputRange = str(options.runnumber)
tuple lumiCalc::lsdata = getPerLSData(session,inputRange)
tuple lumiCalc::lumidata = lumiQueryAPI.deliveredLumiForRange(session, parameters, inputRange)
 lumiCalc::lumiXing = False
tuple lumiCalc::options = parser.parse_args()
tuple lumiCalc::p = inputFilesetParser.inputFilesetParser(options.inputfile)
tuple lumiCalc::parameters = lumiQueryAPI.ParametersObject()
 Let's start the fun.
tuple lumiCalc::parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description = "Lumi Calculations",formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 ######################## ## ## ################## ## ## ## ## Main Program ## ## ## ## ################## ## ## ######################## ##
tuple lumiCalc::r = csvReporter.csvReporter(options.outputfile)
tuple lumiCalc::recordeddata = lumiQueryAPI.recordedLumiForRange(session, parameters, inputRange)
tuple lumiCalc::report = csvReporter.csvReporter(options.outputfile)
dictionary lumiCalc::result = {}
tuple lumiCalc::runs = lsdata.keys()
tuple lumiCalc::runsandls = inputRange.runsandls()
tuple lumiCalc::todump = lumiQueryAPI.dumpRecordedLumi(lumidata, hltpath)
int lumiCalc::totalbad = 0
int lumiCalc::totalsuspect = 0
int lumiCalc::totalunknown = 0
string lumiCalc::VERSION = '2.00'