ATLAS Offline Software
|
Variables | |
bool | debug = False |
parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter) | |
dest | |
default | |
help | |
action | |
args = parser.parse_args() | |
year = args.parser_year | |
tag = args.parser_tag | |
dictionary | affectedLBs = {} |
list | systemList = ["LAr","Pixel","SCT","TRT","Tile","MDT","TGC","RPC","Trig_L1","Trig_HLT","Lumi","Global","ALFA","LUCID","ZDC","IDGlobal","BTag","CaloCP","MuonCP"] |
list | systemList2 = systemList + ["All"] |
dictionary | DeMoConfig = {} |
recapDefectsFile = open("YearStats-%s/%s/%s/recapDefects.txt"%(iSyst,year,tag)) | |
string | runNumber = "" |
ilineSplit = iline.split("|") | |
string | lbRange = "" |
string | lbRangeSplit = lbRange.split("->") |
lbAffInt = int(lbRange) | |
dictionary | lbLumi = {} |
instOfflLumi = GetOfflineLumiFromCOOL(int(iRun),0,DeMoConfig["OflLumi tag"]) | |
atlasready = GetReadyFlag(int(iRun)) | |
v_lbTimeSt = GetLBTimeStamps(int(iRun)) | |
lumiacct = fetch_iovs('COOLOFL_TRIGGER::/TRIGGER/OFLLUMI/LumiAccounting', tag=DeMoConfig["OflLumiAcct tag"], since=v_lbTimeSt[1][0]*1000000000, until=v_lbTimeSt[len(v_lbTimeSt)][1]*1000000000) | |
periodFile = TFile("YearStats-Global/%s/%s/TProfiles.root"%(year,tag)) | |
h1_lumi = periodFile.Get("h1Period_IntLuminosity_archive") | |
periodListHash = h1_lumi.GetXaxis().GetLabels() | |
list | periodName = [] |
dictionary | periodLumi = {} |
dictionary | dataLossPerPeriod = {} |
dictionary | hprof_dataLossPerSystem = {} |
dictionary | colorPalette |
period = returnPeriod(int(iAffRun),"Global",year,tag) | |
dictionary | percentLoss = dataLossPerPeriod[iSyst][periodName[i]]/periodLumi[periodName[i]]/10000 |
dictionary | canvas = {} |
dictionary | stacks = {} |
dictionary | legends = {} |
dictionary | systemDict = {} |
ATLASLegend = MakeLegend(0.35,0.79,0.65,0.89) | |
DeMoAtlasDataLoss.action |
Definition at line 39 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.affectedLBs = {} |
Definition at line 52 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.args = parser.parse_args() |
Definition at line 43 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.ATLASLegend = MakeLegend(0.35,0.79,0.65,0.89) |
Definition at line 199 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.atlasready = GetReadyFlag(int(iRun)) |
Definition at line 106 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.canvas = {} |
Definition at line 187 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.colorPalette |
Definition at line 149 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.dataLossPerPeriod = {} |
Definition at line 132 of file DeMoAtlasDataLoss.py.
bool DeMoAtlasDataLoss.debug = False |
Definition at line 30 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.default |
Definition at line 39 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.DeMoConfig = {} |
Definition at line 60 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.dest |
Definition at line 39 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.h1_lumi = periodFile.Get("h1Period_IntLuminosity_archive") |
Definition at line 127 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.help |
Definition at line 39 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.hprof_dataLossPerSystem = {} |
Definition at line 142 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.ilineSplit = iline.split("|") |
Definition at line 66 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.instOfflLumi = GetOfflineLumiFromCOOL(int(iRun),0,DeMoConfig["OflLumi tag"]) |
Definition at line 105 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.lbAffInt = int(lbRange) |
Definition at line 84 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.lbLumi = {} |
Definition at line 103 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.lbRange = "" |
Definition at line 67 of file DeMoAtlasDataLoss.py.
string DeMoAtlasDataLoss.lbRangeSplit = lbRange.split("->") |
Definition at line 82 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.legends = {} |
Definition at line 189 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.lumiacct = fetch_iovs('COOLOFL_TRIGGER::/TRIGGER/OFLLUMI/LumiAccounting', tag=DeMoConfig["OflLumiAcct tag"], since=v_lbTimeSt[1][0]*1000000000, until=v_lbTimeSt[len(v_lbTimeSt)][1]*1000000000) |
Definition at line 111 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter) |
Definition at line 38 of file DeMoAtlasDataLoss.py.
int DeMoAtlasDataLoss.percentLoss = dataLossPerPeriod[iSyst][periodName[i]]/periodLumi[periodName[i]]/10000 |
Definition at line 178 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.period = returnPeriod(int(iAffRun),"Global",year,tag) |
Definition at line 169 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.periodFile = TFile("YearStats-Global/%s/%s/TProfiles.root"%(year,tag)) |
Definition at line 125 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.periodListHash = h1_lumi.GetXaxis().GetLabels() |
Definition at line 128 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.periodLumi = {} |
Definition at line 130 of file DeMoAtlasDataLoss.py.
list DeMoAtlasDataLoss.periodName = [] |
Definition at line 129 of file DeMoAtlasDataLoss.py.
Definition at line 62 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.runNumber = "" |
Definition at line 64 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.stacks = {} |
Definition at line 188 of file DeMoAtlasDataLoss.py.
dictionary DeMoAtlasDataLoss.systemDict = {} |
Definition at line 190 of file DeMoAtlasDataLoss.py.
list DeMoAtlasDataLoss.systemList = ["LAr","Pixel","SCT","TRT","Tile","MDT","TGC","RPC","Trig_L1","Trig_HLT","Lumi","Global","ALFA","LUCID","ZDC","IDGlobal","BTag","CaloCP","MuonCP"] |
Definition at line 54 of file DeMoAtlasDataLoss.py.
list DeMoAtlasDataLoss.systemList2 = systemList + ["All"] |
Definition at line 55 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.tag = args.parser_tag |
Definition at line 45 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.v_lbTimeSt = GetLBTimeStamps(int(iRun)) |
Definition at line 109 of file DeMoAtlasDataLoss.py.
DeMoAtlasDataLoss.year = args.parser_year |
Definition at line 44 of file DeMoAtlasDataLoss.py.