CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
findQualityFiles.py File Reference

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

string findQualityFiles.action = "store_true"
 
string findQualityFiles.allOptions = '### '
 
string findQualityFiles.comma = ","
 
string findQualityFiles.commandline = " "
 
list findQualityFiles.copyargs = sys.argv[:]
 
string findQualityFiles.dbs_quiery = "find run, file.numevents, file where dataset="
 Find files for good runs. More...
 
string findQualityFiles.default = ''
 
string findQualityFiles.dest = "alcaDataset"
 
tuple findQualityFiles.ff = open('/tmp/runs_and_files_full_of_pink_bunnies','r')
 
tuple findQualityFiles.files_events = list(zip(list_of_files, list_of_numevents))
 
tuple findQualityFiles.fname = fname.rstrip('\n')
 
string findQualityFiles.help = "[REQUIRED] Name of the input AlCa dataset to get filenames from."
 
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
 
int findQualityFiles.minI = options.minB*18160
 
tuple findQualityFiles.parser = optparse.OptionParser(usage)
 
string findQualityFiles.rr = ''
 
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...
 
tuple findQualityFiles.size = len(list_of_files)
 Write out results. More...
 
int findQualityFiles.total_numevents = 0
 
string findQualityFiles.type = "string"
 
tuple findQualityFiles.uniq_list_of_runs = list(set(list_of_runs))
 
tuple findQualityFiles.unique_files_events = list(set(files_events))
 
string findQualityFiles.usage = '%prog [options]\n\n'
 To parse commandline args. More...
 
 findQualityFiles.v = options.verbose