Go to the source code of this file.
Namespaces | |
namespace | lumiContext |
Functions | |
def | lumiContext::parseInputFiles |
Variables | |
string | lumiContext::action = 'store_true' |
list | lumiContext::allowedActions = ['hltbyls','hltmenu','trgbyls', 'beambyls','runsummary'] |
list | lumiContext::amodetag = r[2] |
list | lumiContext::amodetagChoices = [ "PROTPHYS","IONPHYS","PAPHYS" ] |
list | lumiContext::beamModeChoices = ["stable"] |
tuple | lumiContext::c = lumiTime.lumiTime() |
lumiContext::choices = beamModeChoices, | |
tuple | lumiContext::dataidmap = lumiCalcAPI.runList(session.nominalSchema(),datatagid,runmin=reqrunmin,runmax=reqrunmax,fillmin=reqfillmin,fillmax=reqfillmax,startT=reqtimemin,stopT=reqtimemax,l1keyPattern=None,hltkeyPattern=None,amodetag=options.amodetag,nominalEnergy=options.beamenergy,energyFlut=options.beamfluctuation,requiretrg=reqTrg,requirehlt=reqHlt,preselectedruns=filerunlist) |
tuple | lumiContext::datatagid = revisionDML.getDataTagId(session.nominalSchema(),datatagname) |
lumiContext::datatagname = options.datatag | |
string | lumiContext::default = 'frontier://LumiCalc/CMS_LUMI_PROD' |
string | lumiContext::dest = 'withbeamintensity' |
switches | |
lumiContext::dumpbeamintensity = False | |
string | lumiContext::egev = 'n/a' |
lumiContext::filerunlist = None | |
string | lumiContext::fill = 'n/a' |
string | lumiContext::help = 'command actions' |
basic arguments | |
list | lumiContext::hltkey = r[4] |
list | lumiContext::iresults = [] |
dictionary | lumiContext::irunlsdict = {} |
check run/ls list | |
lumiContext::isdetail = False | |
list | lumiContext::l1key = r[1] |
tuple | lumiContext::lute = lumiTime.lumiTime() |
tuple | lumiContext::options = parser.parse_args() |
tuple | lumiContext::parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description = "Additional information needed in the lumi calculation",formatter_class=argparse.ArgumentDefaultsHelpFormatter) |
######################## ## ## ################## ## ## ## ## Main Program ## ## ## ## ################## ## ## ######################## ## | |
lumiContext::pbeammode = None | |
lumiContext::reqfillmax = None | |
lumiContext::reqfillmin = None | |
lumiContext::reqHlt = False | |
lumiContext::reqrunmax = None | |
lumiContext::reqrunmin = None | |
lumiContext::reqtimemax = None | |
tuple | lumiContext::reqtimemaxT = lute.StrToDatetime(reqtimemax,customfm='%m/%d/%y %H:%M:%S') |
lumiContext::reqtimemin = None | |
tuple | lumiContext::reqtimeminT = lute.StrToDatetime(reqtimemin,customfm='%m/%d/%y %H:%M:%S') |
lumiContext::reqTrg = False | |
lumiContext::required = False, | |
arg to select exact run and ls | |
tuple | lumiContext::result = lumiCalcAPI.trgForIds(session.nominalSchema(),irunlsdict,dataidmap,trgbitname=sname,trgbitnamepattern=spattern,withL1Count=True,withPrescale=True) |
list | lumiContext::rruns = [] |
list | lumiContext::run = r[0] |
list | lumiContext::sequence = r[6] |
tuple | lumiContext::session = svc.openSession(isReadOnly=True,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')]) |
lumiContext::sname = options.name | |
lumiContext::spattern = None | |
tuple | lumiContext::starttime = c.StrToDatetime(r[7]) |
tuple | lumiContext::stoptime = c.StrToDatetime(r[8]) |
tuple | lumiContext::svc |
check working environment | |
list | lumiContext::thiscmmd = sys.argv[0] |
list | lumiContext::timeFilter = [None,None] |
lumiContext::type = int, | |
lumiContext::withHLTAccept = True | |
lumiContext::withL1Pass = True |