Go to the source code of this file.
Namespaces | |
namespace | specificLumi |
Functions | |
def | specificLumi::calculateSpecificLumi |
def | specificLumi::filltofiles |
output methods#### | |
def | specificLumi::getFillFromDB |
def | specificLumi::getFillFromFile |
def | specificLumi::getSpecificLumi |
def | specificLumi::lastcompleteFill |
def | specificLumi::listfilldir |
def | specificLumi::specificlumiTofile |
Variables | |
string | specificLumi::action = 'store' |
string | specificLumi::allfillname = 'allfills.txt' |
tuple | specificLumi::allfillsFromDB = lumiCalcAPI.fillInRange(schema,fillmin=minfillnum,fillmax=maxfillnum,amodetag=options.amodetag) |
list | specificLumi::amodetagChoices = [ "PROTPHYS","IONPHYS",'PAPHYS' ] |
specificLumi::choices = amodetagChoices, | |
string | specificLumi::default = 'frontier://LumiCalc/CMS_LUMI_PROD' |
specificLumi::driftcorrections = None | |
dictionary | specificLumi::filldata = {} |
list | specificLumi::fillstoprocess = [] |
specificLumi::finecorrections = None | |
string | specificLumi::help = 'connect string to lumiDB,optional' |
tuple | specificLumi::lastcompletedFill = lastcompleteFill(os.path.join(options.inputdir,'runtofill_dqm.txt')) |
int | specificLumi::MAXFILL = 9999 |
specificLumi::maxfillnum = options.maxfill | |
int | specificLumi::MINFILL = 1800 |
specificLumi::minfillnum = options.minfill | |
specificLumi::normfactor = options.normfactor | |
query DB for all fills and compare with allfills.txt if found newer fills, store in mem fill number reprocess anyway the last 1 fill in the dir redo specific lumi for all marked fills | |
tuple | specificLumi::options = parser.parse_args() |
tuple | specificLumi::parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description = "specific lumi",formatter_class=argparse.ArgumentDefaultsHelpFormatter) |
######################## ## ## ################## ## ## ## ## Main Program ## ## ## ## ################## ## ## ######################## ## | |
tuple | specificLumi::processedfills = listfilldir(options.outputdir) |
specificLumi::required = False, | |
tuple | specificLumi::schema = session.nominalSchema() |
tuple | specificLumi::session = svc.openSession(isReadOnly=True,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')]) |
tuple | specificLumi::svc = sessionManager.sessionManager(options.connect,authpath=options.authpath,debugON=options.debug) |
specificLumi::type = int, | |
specificLumi::withcorrection = notoptions.withoutFineCorrection | |
list | specificLumi::xingAlgoChoices = [ "OCC1","OCC2","ET"] |