|  | ATLAS Offline Software
    | 
| Variables | |
| bool | debug = False | 
| parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter) | |
| dest | |
| default | |
| nargs | |
| help | |
| action | |
| type | |
| int | |
| str | |
| float | |
| args = parser.parse_args() | |
| dictionary | yearTagProperties = {} | 
| dictionary | partitions = {} | 
| dictionary | grlDef = {} | 
| dictionary | defectVeto = {} | 
| dictionary | veto = {} | 
| dictionary | signOff = {} | 
| list | yearTagList = [] | 
| dictionary | yearTagDir = {} | 
| dictionary | yearTagTag = {} | 
| string | directory = "%s/YearStats-%s/%s/%s"%(args.parser_directory,args.parser_system,iYear,iTag) | 
| string | yearTag = "%s%s"%(iYear,yearTagProperties[iTag]["Description"]) | 
| bool | singleYear = True | 
| dictionary | options = {} | 
| dictionary | defVetoType = {} | 
| list | runsFilter = [] | 
| fRuns = open("%s/runs-ALL.dat"%yearTagDir["%s%s"%(args.parser_year[0],yearTagProperties[options['restrictTagRuns']]["Description"])]) | |
| runWithoutPeriod = int(iline.split(" (")[0]) | |
| dictionary | defRecap = {} | 
| dictionary | defRecapHtml = {} | 
| dictionary | defReproc = {} | 
| dictionary | canvasResults = {} | 
| dictionary | legendResults = {} | 
| dictionary | stackResults = {} | 
| dictionary | file = {} | 
| dictionary | h1Period_IntLuminosity = {} | 
| dictionary | subperiodNb = {} | 
| dictionary | runsLPR = {} | 
| dictionary | lossLPR = {} | 
| dictionary | loss_rLPR = {} | 
| dictionary | h1_lossLPR = {} | 
| dictionary | h1_loss_rLPR = {} | 
| dictionary | atlasReady = {} | 
| string | yearStatsArchiveFilename = '%s/TProfiles.root'%(yearTagDir[iYT]) | 
| string | lossFileName = "%s/loss-%s.dat"%(yearTagDir[iYT],iDefVeto) | 
| string | xAxisTitle = "#splitline{Luminosity loss due to}{%s [pb^{-1}]}"%(defectVeto["description"][iDefVeto]) | 
| dictionary | color = defectVeto["color"][iDefVeto] | 
| f2 = open(lossFileName,'r') | |
| tmpLines = f2.readlines() | |
| read = match(r"(\d+) \((\d+) ub-1.*\) -> (\d+.\d+) pb-1 \D+(\d+.\d+)\D+",iline) | |
| runnumber = int(read.group(1)) | |
| luminosity = int(read.group(2)) | |
| lostLumi = float(read.group(3)) | |
| recovLumi = float(read.group(4)) | |
| atlasready_tmp = GetReadyFlag(runnumber) | |
| db = DefectsDB(tag=yearTagProperties[yearTagTag[iYT]]["Defect tag"]) | |
| list | system_defects = [] | 
| defects = db.retrieve((runnumber, 1), (runnumber+1, 0), system_defects) | |
| dictionary | defectCompact = {} | 
| int | defectSinceLumiAtlasReady = -1 | 
| int | defectUntilLumiAtlasReady = -1 | 
| string | lbRange = "%10d"%(defectSinceLumiAtlasReady) | 
| int | lbRangeReproc = defectSinceLumiAtlasReady | 
| tuple | cleanedDefect = ((defect.comment).replace('\xd7','')).replace('\xb5','').replace('\xe9','').replace('\u2013','').replace('\u03b7','').replace('\u03c6','').replace('\u2014','') | 
| runperiod = returnPeriod(runnumber,args.parser_system,args.parser_year[0],args.parser_tag[0]) | |
| string | index = "LPR_%s"%iDefVeto | 
| f = open("%s/YearStats-%s/%s/%s/recapDefects.txt"%(args.parser_directory,args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | |
| fHtml = open("%s/YearStats-%s/%s/%s/recapDefects.html"%(args.parser_directory,args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | |
| fReproc = open("YearStats-%s/%s/%s/defectsForReproc.txt"%(args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | |
| string | defTocHtml = '<div style="text-align:left" class="rectangle">' | 
| list | YT0 = yearTagList[0] | 
| list | YT1 = yearTagList[1] | 
| dictionary | runs_diff2tags = {} | 
| dictionary | lumi_diff2tags = {} | 
| list | suffixList = ["miss_%s"%yearTagList[0],"miss_%s"%yearTagList[1],"diff"] | 
| dictionary | suffixTitle = {"miss_%s"%yearTagList[0]:"No loss in %s"%yearTagList[0],"miss_%s"%yearTagList[1]:"No loss in %s"%yearTagList[1],"diff":"Different losses in both year/tag"} | 
| string | defOrVeto = "defect" | 
| bool | firstYT = True | 
| list | iYT2 = yearTagList[1] | 
| int | sign = +1 | 
| string | defVeto_type = "%s_miss_%s"%(iDefVeto,iYT2) | 
| string | defOrVeto_type = "%s_miss_%s"%(defOrVeto,iYT2) | 
| dictionary | irun2 = runsLPR[iYT2][iDefVeto].index(runsLPR[iYT][iDefVeto][irun]) | 
| dictionary | h1Run_diffTwoYT = {} | 
| dictionary | h1_diffTwoYT = {} | 
| dictionary | maxAbsLumiDiff = {} | 
| dictionary | c_diffTwoYT = {} | 
| dictionary | leg_diffTwoYT = {} | 
| dictionary | listOfDefVeto = options['defect'] | 
| bool | first = True | 
| DeMoScan.action | 
Definition at line 40 of file DeMoScan.py.
| DeMoScan.args = parser.parse_args() | 
Definition at line 57 of file DeMoScan.py.
| dictionary DeMoScan.atlasReady = {} | 
Definition at line 207 of file DeMoScan.py.
| DeMoScan.atlasready_tmp = GetReadyFlag(runnumber) | 
Definition at line 279 of file DeMoScan.py.
| dictionary DeMoScan.c_diffTwoYT = {} | 
Definition at line 519 of file DeMoScan.py.
| dictionary DeMoScan.canvasResults = {} | 
Definition at line 194 of file DeMoScan.py.
| tuple DeMoScan.cleanedDefect = ((defect.comment).replace('\xd7','')).replace('\xb5','').replace('\xe9','').replace('\u2013','').replace('\u03b7','').replace('\u03c6','').replace('\u2014','') | 
Definition at line 319 of file DeMoScan.py.
| dictionary DeMoScan.color = defectVeto["color"][iDefVeto] | 
Definition at line 241 of file DeMoScan.py.
| DeMoScan.db = DefectsDB(tag=yearTagProperties[yearTagTag[iYT]]["Defect tag"]) | 
Definition at line 291 of file DeMoScan.py.
| bool DeMoScan.debug = False | 
Definition at line 28 of file DeMoScan.py.
| DeMoScan.default | 
Definition at line 40 of file DeMoScan.py.
| dictionary DeMoScan.defectCompact = {} | 
Definition at line 296 of file DeMoScan.py.
| DeMoScan.defects = db.retrieve((runnumber, 1), (runnumber+1, 0), system_defects) | 
Definition at line 295 of file DeMoScan.py.
| DeMoScan.defectSinceLumiAtlasReady = -1 | 
Definition at line 303 of file DeMoScan.py.
| int DeMoScan.defectUntilLumiAtlasReady = -1 | 
Definition at line 304 of file DeMoScan.py.
| dictionary DeMoScan.defectVeto = {} | 
Definition at line 67 of file DeMoScan.py.
| string DeMoScan.defOrVeto = "defect" | 
Definition at line 438 of file DeMoScan.py.
| string DeMoScan.defOrVeto_type = "%s_miss_%s"%(defOrVeto,iYT2) | 
Definition at line 454 of file DeMoScan.py.
| dictionary DeMoScan.defRecap = {} | 
Definition at line 161 of file DeMoScan.py.
| dictionary DeMoScan.defRecapHtml = {} | 
Definition at line 162 of file DeMoScan.py.
| dictionary DeMoScan.defReproc = {} | 
Definition at line 181 of file DeMoScan.py.
| string DeMoScan.defTocHtml = '<div style="text-align:left" class="rectangle">' | 
Definition at line 387 of file DeMoScan.py.
| string DeMoScan.defVeto_type = "%s_miss_%s"%(iDefVeto,iYT2) | 
Definition at line 453 of file DeMoScan.py.
| dictionary DeMoScan.defVetoType = {} | 
Definition at line 121 of file DeMoScan.py.
| DeMoScan.dest | 
Definition at line 40 of file DeMoScan.py.
| string DeMoScan.directory = "%s/YearStats-%s/%s/%s"%(args.parser_directory,args.parser_system,iYear,iTag) | 
Definition at line 78 of file DeMoScan.py.
| DeMoScan.f = open("%s/YearStats-%s/%s/%s/recapDefects.txt"%(args.parser_directory,args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | 
Definition at line 379 of file DeMoScan.py.
| DeMoScan.f2 = open(lossFileName,'r') | 
Definition at line 255 of file DeMoScan.py.
| DeMoScan.fHtml = open("%s/YearStats-%s/%s/%s/recapDefects.html"%(args.parser_directory,args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | 
Definition at line 380 of file DeMoScan.py.
| dictionary DeMoScan.file = {} | 
Definition at line 197 of file DeMoScan.py.
| bool DeMoScan.first = True | 
Definition at line 534 of file DeMoScan.py.
| bool DeMoScan.firstYT = True | 
Definition at line 442 of file DeMoScan.py.
| DeMoScan.float | 
Definition at line 52 of file DeMoScan.py.
| DeMoScan.fReproc = open("YearStats-%s/%s/%s/defectsForReproc.txt"%(args.parser_system,args.parser_year[0],args.parser_tag[0]),'w') | 
Definition at line 385 of file DeMoScan.py.
| DeMoScan.fRuns = open("%s/runs-ALL.dat"%yearTagDir["%s%s"%(args.parser_year[0],yearTagProperties[options['restrictTagRuns']]["Description"])]) | 
Definition at line 141 of file DeMoScan.py.
| dictionary DeMoScan.grlDef = {} | 
Definition at line 66 of file DeMoScan.py.
| dictionary DeMoScan.h1_diffTwoYT = {} | 
Definition at line 484 of file DeMoScan.py.
| dictionary DeMoScan.h1_loss_rLPR = {} | 
Definition at line 205 of file DeMoScan.py.
| dictionary DeMoScan.h1_lossLPR = {} | 
Definition at line 204 of file DeMoScan.py.
| dictionary DeMoScan.h1Period_IntLuminosity = {} | 
Definition at line 199 of file DeMoScan.py.
| dictionary DeMoScan.h1Run_diffTwoYT = {} | 
Definition at line 483 of file DeMoScan.py.
| DeMoScan.help | 
Definition at line 40 of file DeMoScan.py.
| string DeMoScan.index = "LPR_%s"%iDefVeto | 
Definition at line 362 of file DeMoScan.py.
| DeMoScan.int | 
Definition at line 45 of file DeMoScan.py.
Definition at line 471 of file DeMoScan.py.
| list DeMoScan.iYT2 = yearTagList[1] | 
Definition at line 445 of file DeMoScan.py.
| string DeMoScan.lbRange = "%10d"%(defectSinceLumiAtlasReady) | 
Definition at line 314 of file DeMoScan.py.
| string DeMoScan.lbRangeReproc = defectSinceLumiAtlasReady | 
Definition at line 315 of file DeMoScan.py.
| dictionary DeMoScan.leg_diffTwoYT = {} | 
Definition at line 520 of file DeMoScan.py.
| dictionary DeMoScan.legendResults = {} | 
Definition at line 195 of file DeMoScan.py.
| dictionary DeMoScan.listOfDefVeto = options['defect'] | 
Definition at line 523 of file DeMoScan.py.
| dictionary DeMoScan.loss_rLPR = {} | 
Definition at line 203 of file DeMoScan.py.
| string DeMoScan.lossFileName = "%s/loss-%s.dat"%(yearTagDir[iYT],iDefVeto) | 
Definition at line 238 of file DeMoScan.py.
| dictionary DeMoScan.lossLPR = {} | 
Definition at line 202 of file DeMoScan.py.
| DeMoScan.lostLumi = float(read.group(3)) | 
Definition at line 272 of file DeMoScan.py.
| dictionary DeMoScan.lumi_diff2tags = {} | 
Definition at line 425 of file DeMoScan.py.
| DeMoScan.luminosity = int(read.group(2)) | 
Definition at line 271 of file DeMoScan.py.
| dictionary DeMoScan.maxAbsLumiDiff = {} | 
Definition at line 485 of file DeMoScan.py.
| DeMoScan.nargs | 
Definition at line 40 of file DeMoScan.py.
| dictionary DeMoScan.options = {} | 
Definition at line 104 of file DeMoScan.py.
| DeMoScan.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter) | 
Definition at line 39 of file DeMoScan.py.
| dictionary DeMoScan.partitions = {} | 
Definition at line 65 of file DeMoScan.py.
Definition at line 260 of file DeMoScan.py.
Definition at line 275 of file DeMoScan.py.
| DeMoScan.runnumber = int(read.group(1)) | 
Definition at line 264 of file DeMoScan.py.
| DeMoScan.runperiod = returnPeriod(runnumber,args.parser_system,args.parser_year[0],args.parser_tag[0]) | 
Definition at line 324 of file DeMoScan.py.
| dictionary DeMoScan.runs_diff2tags = {} | 
Definition at line 424 of file DeMoScan.py.
| list DeMoScan.runsFilter = [] | 
Definition at line 138 of file DeMoScan.py.
| dictionary DeMoScan.runsLPR = {} | 
Definition at line 201 of file DeMoScan.py.
| DeMoScan.runWithoutPeriod = int(iline.split(" (")[0]) | 
Definition at line 143 of file DeMoScan.py.
| int DeMoScan.sign = +1 | 
Definition at line 446 of file DeMoScan.py.
| dictionary DeMoScan.signOff = {} | 
Definition at line 69 of file DeMoScan.py.
| bool DeMoScan.singleYear = True | 
Definition at line 87 of file DeMoScan.py.
| dictionary DeMoScan.stackResults = {} | 
Definition at line 196 of file DeMoScan.py.
| DeMoScan.str | 
Definition at line 46 of file DeMoScan.py.
| dictionary DeMoScan.subperiodNb = {} | 
Definition at line 200 of file DeMoScan.py.
| list DeMoScan.suffixList = ["miss_%s"%yearTagList[0],"miss_%s"%yearTagList[1],"diff"] | 
Definition at line 426 of file DeMoScan.py.
| dictionary DeMoScan.suffixTitle = {"miss_%s"%yearTagList[0]:"No loss in %s"%yearTagList[0],"miss_%s"%yearTagList[1]:"No loss in %s"%yearTagList[1],"diff":"Different losses in both year/tag"} | 
Definition at line 427 of file DeMoScan.py.
| list DeMoScan.system_defects = [] | 
Definition at line 292 of file DeMoScan.py.
| DeMoScan.tmpLines = f2.readlines() | 
Definition at line 256 of file DeMoScan.py.
| DeMoScan.type | 
Definition at line 45 of file DeMoScan.py.
| dictionary DeMoScan.veto = {} | 
Definition at line 68 of file DeMoScan.py.
| string DeMoScan.xAxisTitle = "#splitline{Luminosity loss due to}{%s [pb^{-1}]}"%(defectVeto["description"][iDefVeto]) | 
Definition at line 239 of file DeMoScan.py.
| string DeMoScan.yearStatsArchiveFilename = '%s/TProfiles.root'%(yearTagDir[iYT]) | 
Definition at line 218 of file DeMoScan.py.
| string DeMoScan.yearTag = "%s%s"%(iYear,yearTagProperties[iTag]["Description"]) | 
Definition at line 81 of file DeMoScan.py.
| dictionary DeMoScan.yearTagDir = {} | 
Definition at line 73 of file DeMoScan.py.
| list DeMoScan.yearTagList = [] | 
Definition at line 72 of file DeMoScan.py.
| dictionary DeMoScan.yearTagProperties = {} | 
Definition at line 64 of file DeMoScan.py.
| dictionary DeMoScan.yearTagTag = {} | 
Definition at line 74 of file DeMoScan.py.
| list DeMoScan.YT0 = yearTagList[0] | 
Definition at line 415 of file DeMoScan.py.
| list DeMoScan.YT1 = yearTagList[1] | 
Definition at line 416 of file DeMoScan.py.
 1.8.18
 1.8.18