CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_1/src/RecoLuminosity/LumiDB/scripts/lumiCalc2.py File Reference

Go to the source code of this file.

Classes

class  lumiCalc2::RegexValidator

Namespaces

namespace  lumiCalc2

Functions

def lumiCalc2::parseInputFiles

Variables

list lumiCalc2::allowedActions = ['overview', 'delivered', 'recorded', 'lumibyls','lumibylsXing','status','checkforupdate']
list lumiCalc2::amodetagChoices = [ "PROTPHYS","IONPHYS",'PAPHYS' ]
list lumiCalc2::beamModeChoices = [ "stable", "quiet", "either"]
tuple lumiCalc2::c = checkforupdate.checkforupdate()
 lumiCalc2::choices = beamModeChoices,
list lumiCalc2::cmsswWorkingBase = os.environ['CMSSW_BASE']
tuple lumiCalc2::cterms = lumiCorrections.nonlinearV3()
string lumiCalc2::default = 'frontier://LumiCalc/CMS_LUMI_PROD'
 lumiCalc2::driftcorrections = None
 lumiCalc2::finecorrections = None
string lumiCalc2::help = 'command actions'
 lumiCalc2::hltname = options.hltpath
 lumiCalc2::hltpat = None
list lumiCalc2::iresults = []
dictionary lumiCalc2::irunlsdict = {}
 lumiCalc2::normfactor = options.normfactor
tuple lumiCalc2::options = parser.parse_args()
tuple lumiCalc2::parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description = "Lumi Calculation",formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 ######################## ## ## ################## ## ## ## ## Main Program ## ## ## ## ################## ## ## ######################## ##
 lumiCalc2::pbeammode = None
 lumiCalc2::reqHlt = False
 lumiCalc2::reqTrg = False
 lumiCalc2::required = False,
tuple lumiCalc2::result = lumiCalcAPI.deliveredLumiForRange(session.nominalSchema(),irunlsdict,amodetag=options.amodetag,egev=options.beamenergy,beamstatus=pbeammode,norm=normfactor,finecorrections=finecorrections,driftcorrections=driftcorrections,usecorrectionv2=True)
tuple lumiCalc2::rruns = irunlsdict.keys()
tuple lumiCalc2::runlist = lumiCalcAPI.runList(schema,options.fillnum,runmin=None,runmax=None,startT=options.begin,stopT=options.end,l1keyPattern=None,hltkeyPattern=None,amodetag=options.amodetag,nominalEnergy=options.beamenergy,energyFlut=options.beamfluctuation,requiretrg=reqTrg,requirehlt=reqHlt)
tuple lumiCalc2::schema = session.nominalSchema()
tuple lumiCalc2::session = svc.openSession(isReadOnly=True,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')])
tuple lumiCalc2::svc
 lumiCalc2::type = int,
string lumiCalc2::VERSION = '2.00'
tuple lumiCalc2::workingversion = c.runningVersion(cmsswWorkingBase,'lumiCalc2.py')
list lumiCalc2::xingAlgoChoices = [ "OCC1","OCC2","ET"]