Go to the source code of this file.
Namespaces | |
findQualityFiles | |
Functions | |
def | findQualityFiles.getGoodBRuns () |
functions definitions More... | |
def | findQualityFiles.getGoodQRuns () |
obtaining list of good quality runs More... | |
def | findQualityFiles.getJSONGoodRuns () |
obtain a list of good runs from JSON file More... | |
def | findQualityFiles.getRunRegistryGoodRuns () |
obtaining list of good B and quality runs from Run Registry https://twiki.cern.ch/twiki/bin/view/CMS/DqmRrApi https://twiki.cern.ch/twiki/bin/viewauth/CMS/DQMRunRegistry More... | |
Variables | |
findQualityFiles.action | |
string | findQualityFiles.allOptions = '### ' + copyargs[0] + ' --alcaDataset ' + options.alcaDataset + ' --isMC ' + options.isMC + \ |
findQualityFiles.args | |
string | findQualityFiles.comma = "," |
string | findQualityFiles.commandline = " ".join(copyargs) |
findQualityFiles.copyargs = sys.argv[:] | |
string | findQualityFiles.dbs_quiery = "find run, file.numevents, file where dataset="+options.alcaDataset+" and run>="+str(options.startRun)+" and run<="+str(options.endRun)+" and file.numevents>0" |
Find files for good runs. More... | |
findQualityFiles.default | |
findQualityFiles.dest | |
findQualityFiles.dqDataset | |
findQualityFiles.ff = open('/tmp/runs_and_files_full_of_pink_bunnies','r') | |
findQualityFiles.files_events = list(zip(list_of_files, list_of_numevents)) | |
findQualityFiles.fname = fname.rstrip('\n') | |
findQualityFiles.help | |
list | findQualityFiles.infotofile = ["### %s\n" % commandline] |
string | findQualityFiles.jj = '' |
list | findQualityFiles.list_of_files = [] |
list | findQualityFiles.list_of_numevents = [] |
list | findQualityFiles.list_of_runs = [] |
int | findQualityFiles.maxI = options.maxB*18160/3.8 |
int | findQualityFiles.minI = options.minB*18160/3.8 |
findQualityFiles.numevents | |
findQualityFiles.options | |
findQualityFiles.parser = optparse.OptionParser(usage) | |
string | findQualityFiles.rr = '' |
findQualityFiles.run | |
list | findQualityFiles.runs_b_on = [] |
get good B field runs from RunInfo DB More... | |
list | findQualityFiles.runs_good = [] |
use run registry API is specified More... | |
list | findQualityFiles.runs_good_dq = [] |
Add requiremment of good quality runs. More... | |
findQualityFiles.size = len(list_of_files) | |
Write out results. More... | |
int | findQualityFiles.total_numevents = 0 |
findQualityFiles.type | |
findQualityFiles.uniq_list_of_runs = sorted(set(list_of_runs)) | |
findQualityFiles.unique_files_events = list(set(files_events)) | |
string | findQualityFiles.usage = '%prog [options]\n\n'+\ |
To parse commandline args. More... | |
findQualityFiles.v = options.verbose | |