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("(\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 42 of file DeMoScan.py.
DeMoScan.args = parser.parse_args() |
Definition at line 59 of file DeMoScan.py.
dictionary DeMoScan.atlasReady = {} |
Definition at line 209 of file DeMoScan.py.
DeMoScan.atlasready_tmp = GetReadyFlag(runnumber) |
Definition at line 281 of file DeMoScan.py.
dictionary DeMoScan.c_diffTwoYT = {} |
Definition at line 521 of file DeMoScan.py.
dictionary DeMoScan.canvasResults = {} |
Definition at line 196 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 321 of file DeMoScan.py.
dictionary DeMoScan.color = defectVeto["color"][iDefVeto] |
Definition at line 243 of file DeMoScan.py.
DeMoScan.db = DefectsDB(tag=yearTagProperties[yearTagTag[iYT]]["Defect tag"]) |
Definition at line 293 of file DeMoScan.py.
bool DeMoScan.debug = False |
Definition at line 29 of file DeMoScan.py.
DeMoScan.default |
Definition at line 42 of file DeMoScan.py.
dictionary DeMoScan.defectCompact = {} |
Definition at line 298 of file DeMoScan.py.
DeMoScan.defects = db.retrieve((runnumber, 1), (runnumber+1, 0), system_defects) |
Definition at line 297 of file DeMoScan.py.
DeMoScan.defectSinceLumiAtlasReady = -1 |
Definition at line 305 of file DeMoScan.py.
int DeMoScan.defectUntilLumiAtlasReady = -1 |
Definition at line 306 of file DeMoScan.py.
dictionary DeMoScan.defectVeto = {} |
Definition at line 69 of file DeMoScan.py.
string DeMoScan.defOrVeto = "defect" |
Definition at line 440 of file DeMoScan.py.
string DeMoScan.defOrVeto_type = "%s_miss_%s"%(defOrVeto,iYT2) |
Definition at line 456 of file DeMoScan.py.
dictionary DeMoScan.defRecap = {} |
Definition at line 163 of file DeMoScan.py.
dictionary DeMoScan.defRecapHtml = {} |
Definition at line 164 of file DeMoScan.py.
dictionary DeMoScan.defReproc = {} |
Definition at line 183 of file DeMoScan.py.
string DeMoScan.defTocHtml = '<div style="text-align:left" class="rectangle">' |
Definition at line 389 of file DeMoScan.py.
string DeMoScan.defVeto_type = "%s_miss_%s"%(iDefVeto,iYT2) |
Definition at line 455 of file DeMoScan.py.
dictionary DeMoScan.defVetoType = {} |
Definition at line 123 of file DeMoScan.py.
DeMoScan.dest |
Definition at line 42 of file DeMoScan.py.
string DeMoScan.directory = "%s/YearStats-%s/%s/%s"%(args.parser_directory,args.parser_system,iYear,iTag) |
Definition at line 80 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 381 of file DeMoScan.py.
DeMoScan.f2 = open(lossFileName,'r') |
Definition at line 257 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 382 of file DeMoScan.py.
dictionary DeMoScan.file = {} |
Definition at line 199 of file DeMoScan.py.
bool DeMoScan.first = True |
Definition at line 536 of file DeMoScan.py.
bool DeMoScan.firstYT = True |
Definition at line 444 of file DeMoScan.py.
DeMoScan.float |
Definition at line 54 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 387 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 143 of file DeMoScan.py.
dictionary DeMoScan.grlDef = {} |
Definition at line 68 of file DeMoScan.py.
dictionary DeMoScan.h1_diffTwoYT = {} |
Definition at line 486 of file DeMoScan.py.
dictionary DeMoScan.h1_loss_rLPR = {} |
Definition at line 207 of file DeMoScan.py.
dictionary DeMoScan.h1_lossLPR = {} |
Definition at line 206 of file DeMoScan.py.
dictionary DeMoScan.h1Period_IntLuminosity = {} |
Definition at line 201 of file DeMoScan.py.
dictionary DeMoScan.h1Run_diffTwoYT = {} |
Definition at line 485 of file DeMoScan.py.
DeMoScan.help |
Definition at line 42 of file DeMoScan.py.
string DeMoScan.index = "LPR_%s"%iDefVeto |
Definition at line 364 of file DeMoScan.py.
DeMoScan.int |
Definition at line 47 of file DeMoScan.py.
Definition at line 473 of file DeMoScan.py.
list DeMoScan.iYT2 = yearTagList[1] |
Definition at line 447 of file DeMoScan.py.
string DeMoScan.lbRange = "%10d"%(defectSinceLumiAtlasReady) |
Definition at line 316 of file DeMoScan.py.
string DeMoScan.lbRangeReproc = defectSinceLumiAtlasReady |
Definition at line 317 of file DeMoScan.py.
dictionary DeMoScan.leg_diffTwoYT = {} |
Definition at line 522 of file DeMoScan.py.
dictionary DeMoScan.legendResults = {} |
Definition at line 197 of file DeMoScan.py.
dictionary DeMoScan.listOfDefVeto = options['defect'] |
Definition at line 525 of file DeMoScan.py.
dictionary DeMoScan.loss_rLPR = {} |
Definition at line 205 of file DeMoScan.py.
string DeMoScan.lossFileName = "%s/loss-%s.dat"%(yearTagDir[iYT],iDefVeto) |
Definition at line 240 of file DeMoScan.py.
dictionary DeMoScan.lossLPR = {} |
Definition at line 204 of file DeMoScan.py.
DeMoScan.lostLumi = float(read.group(3)) |
Definition at line 274 of file DeMoScan.py.
dictionary DeMoScan.lumi_diff2tags = {} |
Definition at line 427 of file DeMoScan.py.
DeMoScan.luminosity = int(read.group(2)) |
Definition at line 273 of file DeMoScan.py.
dictionary DeMoScan.maxAbsLumiDiff = {} |
Definition at line 487 of file DeMoScan.py.
DeMoScan.nargs |
Definition at line 42 of file DeMoScan.py.
dictionary DeMoScan.options = {} |
Definition at line 106 of file DeMoScan.py.
DeMoScan.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter) |
Definition at line 41 of file DeMoScan.py.
dictionary DeMoScan.partitions = {} |
Definition at line 67 of file DeMoScan.py.
DeMoScan.read = match("(\d+) \((\d+) ub-1.*\) -> (\d+.\d+) pb-1 \D+(\d+.\d+)\D+",iline) |
Definition at line 262 of file DeMoScan.py.
Definition at line 277 of file DeMoScan.py.
DeMoScan.runnumber = int(read.group(1)) |
Definition at line 266 of file DeMoScan.py.
DeMoScan.runperiod = returnPeriod(runnumber,args.parser_system,args.parser_year[0],args.parser_tag[0]) |
Definition at line 326 of file DeMoScan.py.
dictionary DeMoScan.runs_diff2tags = {} |
Definition at line 426 of file DeMoScan.py.
list DeMoScan.runsFilter = [] |
Definition at line 140 of file DeMoScan.py.
dictionary DeMoScan.runsLPR = {} |
Definition at line 203 of file DeMoScan.py.
DeMoScan.runWithoutPeriod = int(iline.split(" (")[0]) |
Definition at line 145 of file DeMoScan.py.
int DeMoScan.sign = +1 |
Definition at line 448 of file DeMoScan.py.
dictionary DeMoScan.signOff = {} |
Definition at line 71 of file DeMoScan.py.
bool DeMoScan.singleYear = True |
Definition at line 89 of file DeMoScan.py.
dictionary DeMoScan.stackResults = {} |
Definition at line 198 of file DeMoScan.py.
DeMoScan.str |
Definition at line 48 of file DeMoScan.py.
dictionary DeMoScan.subperiodNb = {} |
Definition at line 202 of file DeMoScan.py.
list DeMoScan.suffixList = ["miss_%s"%yearTagList[0],"miss_%s"%yearTagList[1],"diff"] |
Definition at line 428 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 429 of file DeMoScan.py.
list DeMoScan.system_defects = [] |
Definition at line 294 of file DeMoScan.py.
DeMoScan.tmpLines = f2.readlines() |
Definition at line 258 of file DeMoScan.py.
DeMoScan.type |
Definition at line 47 of file DeMoScan.py.
dictionary DeMoScan.veto = {} |
Definition at line 70 of file DeMoScan.py.
string DeMoScan.xAxisTitle = "#splitline{Luminosity loss due to}{%s [pb^{-1}]}"%(defectVeto["description"][iDefVeto]) |
Definition at line 241 of file DeMoScan.py.
string DeMoScan.yearStatsArchiveFilename = '%s/TProfiles.root'%(yearTagDir[iYT]) |
Definition at line 220 of file DeMoScan.py.
string DeMoScan.yearTag = "%s%s"%(iYear,yearTagProperties[iTag]["Description"]) |
Definition at line 83 of file DeMoScan.py.
dictionary DeMoScan.yearTagDir = {} |
Definition at line 75 of file DeMoScan.py.
list DeMoScan.yearTagList = [] |
Definition at line 74 of file DeMoScan.py.
dictionary DeMoScan.yearTagProperties = {} |
Definition at line 66 of file DeMoScan.py.
dictionary DeMoScan.yearTagTag = {} |
Definition at line 76 of file DeMoScan.py.
list DeMoScan.YT0 = yearTagList[0] |
Definition at line 417 of file DeMoScan.py.
list DeMoScan.YT1 = yearTagList[1] |
Definition at line 418 of file DeMoScan.py.