Functions | |
def | invert_intervals |
def | merge_intervals |
def | remove_extra_spaces |
def | remove_html_tags |
def | searchrun |
Variables | |
tuple | ADDRESS = CONFIG.get('Common','RunReg') |
tuple | BFIELD = CONFIG.get('Common','BField_thr') |
tuple | BFIELD_float = float(BFIELD) |
list | blocks = selected_dcs[run] |
tuple | CFGLIST = CONFIG.items('Common') |
list | combined = [] |
dictionary | compactList = {} |
tuple | CONFIG = ConfigParser.ConfigParser() |
string | CONFIGFILE = 'runreg.cfg' |
tuple | DATASET = CONFIG.get('Common','Dataset') |
list | DCS_ALL = ['Bpix','Fpix','Tibtid','TecM','TecP','Tob','Ebminus','Ebplus','EeMinus','EePlus','EsMinus','EsPlus','HbheA','HbheB','HbheC','H0','Hf','Dtminus','Dtplus','Dt0','CscMinus','CscPlus','Rpc','Castor',"NONE"] |
tuple | dcs_data = server.DataExporter.export('RUNLUMISECTION', 'GLOBAL', 'json', sel_dcstable) |
tuple | dcsbad_int = invert_intervals(jsonlist[element]) |
tuple | DCSLIST = string.split(DCSSTAT,',') |
tuple | DCSSTAT = CONFIG.get('Common','DCS') |
EXCEPTION = False | |
int | EXRUN = -1 |
string | FULLADDRESS = ADDRESS+"/xmlrpc" |
tuple | GROUP = CONFIG.get('Common','Group') |
tuple | hlt = line.split(',') |
tuple | HLTNAMEFILTER = CONFIG.get('Common','HLTnameFilter') |
tuple | JSONFILE = CONFIG.get('Common','JSONFILE') |
tuple | jsonlist = json.loads(dcs_data) |
list | LISTOFRUN = [] |
tuple | ls_temp_data = server.DataExporter.export('RUN', 'GLOBAL', 'csv_datasets', sel_dstable) |
LSCOMMENT = True | |
tuple | LSPARSE = CONFIG.get('Common','LSCOMMENT') |
tuple | lumiSummary = open(JSONFILE, 'w') |
tuple | manualbad_int = searchrun(element) |
tuple | OUTPUTFILENAME = CONFIG.get('Common',"OutputFileName") |
list | prevblock = [-2,-2] |
list | QF_ALL_STAT = ["GOOD","BAD","EXCL","NONE"] |
list | QF_ALL_SYS = ["Hcal","Track","Strip","Egam","Es","Dt","Csc","Pix","Muon","Rpc","Castor","Jmet","Ecal","L1t","Hlt","NONE"] |
tuple | QFLAGS = CONFIG.get('Common','QFLAGS') |
tuple | QFlist = string.split(QFLAGS,',') |
list | ranges = [] |
tuple | run = line.split(',') |
tuple | run_data = server.DataExporter.export('RUN', 'GLOBAL', 'csv_runs', sel_runtable) |
tuple | RUNMAX = CONFIG.get('Common','Runmax') |
tuple | RUNMIN = CONFIG.get('Common','Runmin') |
tuple | runs_to_print = selected_dcs.keys() |
string | sel_dcstable = "{groupName} ='" |
string | sel_dstable = "{groupName} ='" |
string | sel_runtable = "{groupName} ='" |
dictionary | selected_dcs = {} |
tuple | selectedRuns = open(OUTPUTFILENAME, 'w') |
string | selectlumi = "process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange(\n" |
tuple | server = xmlrpclib.ServerProxy(FULLADDRESS) |
tuple | syst = string.split(QF,":") |
int | Tries = 0 |
tuple | value = string.split(QF,":") |
def runregparse.invert_intervals | ( | intervals, | |
min_val = 1 , |
|||
max_val = 9999 |
|||
) |
def runregparse.merge_intervals | ( | intervals | ) |
Definition at line 50 of file runregparse.py.
References bookConverter.max.
Referenced by invert_intervals(), and searchrun().
def runregparse.remove_extra_spaces | ( | data | ) |
Definition at line 71 of file runregparse.py.
Referenced by searchrun().
def runregparse.remove_html_tags | ( | data | ) |
def runregparse.searchrun | ( | runno | ) |
Definition at line 75 of file runregparse.py.
References merge_intervals(), remove_extra_spaces(), and remove_html_tags().
tuple runregparse.ADDRESS = CONFIG.get('Common','RunReg') |
Definition at line 143 of file runregparse.py.
tuple runregparse.BFIELD = CONFIG.get('Common','BField_thr') |
Definition at line 147 of file runregparse.py.
tuple runregparse.BFIELD_float = float(BFIELD) |
Definition at line 182 of file runregparse.py.
list runregparse.blocks = selected_dcs[run] |
Definition at line 304 of file runregparse.py.
tuple runregparse.CFGLIST = CONFIG.items('Common') |
Definition at line 178 of file runregparse.py.
tuple runregparse.combined = [] |
Definition at line 274 of file runregparse.py.
Referenced by PFMuonAlgo.printMuonProperties(), and SymmetryFit.symmetryChi2().
dictionary runregparse.compactList = {} |
Definition at line 128 of file runregparse.py.
tuple runregparse.CONFIG = ConfigParser.ConfigParser() |
Definition at line 136 of file runregparse.py.
string runregparse.CONFIGFILE = 'runreg.cfg' |
Definition at line 135 of file runregparse.py.
tuple runregparse.DATASET = CONFIG.get('Common','Dataset') |
Definition at line 140 of file runregparse.py.
list runregparse.DCS_ALL = ['Bpix','Fpix','Tibtid','TecM','TecP','Tob','Ebminus','Ebplus','EeMinus','EePlus','EsMinus','EsPlus','HbheA','HbheB','HbheC','H0','Hf','Dtminus','Dtplus','Dt0','CscMinus','CscPlus','Rpc','Castor',"NONE"] |
Definition at line 132 of file runregparse.py.
tuple runregparse.dcs_data = server.DataExporter.export('RUNLUMISECTION', 'GLOBAL', 'json', sel_dcstable) |
Definition at line 230 of file runregparse.py.
tuple runregparse.dcsbad_int = invert_intervals(jsonlist[element]) |
Definition at line 273 of file runregparse.py.
tuple runregparse.DCSLIST = string.split(DCSSTAT,',') |
Definition at line 150 of file runregparse.py.
tuple runregparse.DCSSTAT = CONFIG.get('Common','DCS') |
Definition at line 149 of file runregparse.py.
runregparse.EXCEPTION = False |
Definition at line 21 of file runregparse.py.
int runregparse.EXRUN = -1 |
Definition at line 22 of file runregparse.py.
string runregparse.FULLADDRESS = ADDRESS+"/xmlrpc" |
Definition at line 201 of file runregparse.py.
tuple runregparse.GROUP = CONFIG.get('Common','Group') |
Definition at line 141 of file runregparse.py.
tuple runregparse.hlt = line.split(',') |
Definition at line 255 of file runregparse.py.
Referenced by StudyHLT.analyze(), IsoTrig.analyze(), CSCValidation.analyze(), and LumiCalculator.beginRun().
tuple runregparse.HLTNAMEFILTER = CONFIG.get('Common','HLTnameFilter') |
Definition at line 142 of file runregparse.py.
tuple runregparse.JSONFILE = CONFIG.get('Common','JSONFILE') |
Definition at line 179 of file runregparse.py.
tuple runregparse.jsonlist = json.loads(dcs_data) |
Definition at line 263 of file runregparse.py.
list runregparse.LISTOFRUN = [] |
Definition at line 249 of file runregparse.py.
tuple runregparse.ls_temp_data = server.DataExporter.export('RUN', 'GLOBAL', 'csv_datasets', sel_dstable) |
Definition at line 232 of file runregparse.py.
runregparse.LSCOMMENT = True |
Definition at line 154 of file runregparse.py.
tuple runregparse.LSPARSE = CONFIG.get('Common','LSCOMMENT') |
Definition at line 148 of file runregparse.py.
Definition at line 290 of file runregparse.py.
Referenced by EventHeader.analyze(), BPhysicsOniaDQM.endLuminosityBlock(), and LumiCalculator.endLuminosityBlock().
tuple runregparse.manualbad_int = searchrun(element) |
Definition at line 271 of file runregparse.py.
tuple runregparse.OUTPUTFILENAME = CONFIG.get('Common',"OutputFileName") |
Definition at line 152 of file runregparse.py.
runregparse.prevblock = [-2,-2] |
Definition at line 306 of file runregparse.py.
Definition at line 131 of file runregparse.py.
list runregparse.QF_ALL_SYS = ["Hcal","Track","Strip","Egam","Es","Dt","Csc","Pix","Muon","Rpc","Castor","Jmet","Ecal","L1t","Hlt","NONE"] |
Definition at line 130 of file runregparse.py.
tuple runregparse.QFLAGS = CONFIG.get('Common','QFLAGS') |
Definition at line 146 of file runregparse.py.
tuple runregparse.QFlist = string.split(QFLAGS,',') |
Definition at line 163 of file runregparse.py.
list runregparse.ranges = [] |
Definition at line 300 of file runregparse.py.
tuple runregparse.run = line.split(',') |
Definition at line 253 of file runregparse.py.
tuple runregparse.run_data = server.DataExporter.export('RUN', 'GLOBAL', 'csv_runs', sel_runtable) |
Definition at line 231 of file runregparse.py.
tuple runregparse.RUNMAX = CONFIG.get('Common','Runmax') |
Definition at line 145 of file runregparse.py.
tuple runregparse.RUNMIN = CONFIG.get('Common','Runmin') |
Definition at line 144 of file runregparse.py.
tuple runregparse.runs_to_print = selected_dcs.keys() |
Definition at line 301 of file runregparse.py.
string runregparse.sel_dcstable = "{groupName} ='" |
Definition at line 218 of file runregparse.py.
string runregparse.sel_dstable = "{groupName} ='" |
Definition at line 209 of file runregparse.py.
string runregparse.sel_runtable = "{groupName} ='" |
Definition at line 206 of file runregparse.py.
dictionary runregparse.selected_dcs = {} |
Definition at line 262 of file runregparse.py.
tuple runregparse.selectedRuns = open(OUTPUTFILENAME, 'w') |
Definition at line 250 of file runregparse.py.
string runregparse.selectlumi = "process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange(\n" |
Definition at line 299 of file runregparse.py.
tuple runregparse.server = xmlrpclib.ServerProxy(FULLADDRESS) |
Definition at line 203 of file runregparse.py.
tuple runregparse.syst = string.split(QF,":") |
Definition at line 165 of file runregparse.py.
int runregparse.Tries = 0 |
Definition at line 225 of file runregparse.py.
tuple runregparse.value = string.split(QF,":") |
Definition at line 166 of file runregparse.py.