ATLAS Offline Software
Namespaces | Variables
DeMoAtlasDataLoss.py File Reference

Go to the source code of this file.

Namespaces

 DeMoAtlasDataLoss
 

Variables

bool DeMoAtlasDataLoss.debug = False
 
 DeMoAtlasDataLoss.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter)
 
 DeMoAtlasDataLoss.dest
 
 DeMoAtlasDataLoss.default
 
 DeMoAtlasDataLoss.help
 
 DeMoAtlasDataLoss.action
 
 DeMoAtlasDataLoss.args = parser.parse_args()
 
 DeMoAtlasDataLoss.year = args.parser_year
 
 DeMoAtlasDataLoss.tag = args.parser_tag
 
dictionary DeMoAtlasDataLoss.affectedLBs = {}
 
list DeMoAtlasDataLoss.systemList = ["LAr","Pixel","SCT","TRT","Tile","MDT","TGC","RPC","Trig_L1","Trig_HLT","Lumi","Global","ALFA","LUCID","ZDC","IDGlobal","BTag","CaloCP","MuonCP"]
 
list DeMoAtlasDataLoss.systemList2 = systemList + ["All"]
 
dictionary DeMoAtlasDataLoss.DeMoConfig = {}
 
 DeMoAtlasDataLoss.recapDefectsFile = open("YearStats-%s/%s/%s/recapDefects.txt"%(iSyst,year,tag))
 
string DeMoAtlasDataLoss.runNumber = ""
 
 DeMoAtlasDataLoss.ilineSplit = iline.split("|")
 
string DeMoAtlasDataLoss.lbRange = ""
 
string DeMoAtlasDataLoss.lbRangeSplit = lbRange.split("->")
 
 DeMoAtlasDataLoss.lbAffInt = int(lbRange)
 
dictionary DeMoAtlasDataLoss.lbLumi = {}
 
 DeMoAtlasDataLoss.instOfflLumi = GetOfflineLumiFromCOOL(int(iRun),0,DeMoConfig["OflLumi tag"])
 
 DeMoAtlasDataLoss.atlasready = GetReadyFlag(int(iRun))
 
 DeMoAtlasDataLoss.v_lbTimeSt = GetLBTimeStamps(int(iRun))
 
 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)
 
 DeMoAtlasDataLoss.periodFile = TFile("YearStats-Global/%s/%s/TProfiles.root"%(year,tag))
 
 DeMoAtlasDataLoss.h1_lumi = periodFile.Get("h1Period_IntLuminosity_archive")
 
 DeMoAtlasDataLoss.periodListHash = h1_lumi.GetXaxis().GetLabels()
 
list DeMoAtlasDataLoss.periodName = []
 
dictionary DeMoAtlasDataLoss.periodLumi = {}
 
dictionary DeMoAtlasDataLoss.dataLossPerPeriod = {}
 
dictionary DeMoAtlasDataLoss.hprof_dataLossPerSystem = {}
 
dictionary DeMoAtlasDataLoss.colorPalette
 
 DeMoAtlasDataLoss.period = returnPeriod(int(iAffRun),"Global",year,tag)
 
dictionary DeMoAtlasDataLoss.percentLoss = dataLossPerPeriod[iSyst][periodName[i]]/periodLumi[periodName[i]]/10000
 
dictionary DeMoAtlasDataLoss.canvas = {}
 
dictionary DeMoAtlasDataLoss.stacks = {}
 
dictionary DeMoAtlasDataLoss.legends = {}
 
dictionary DeMoAtlasDataLoss.systemDict = {}
 
 DeMoAtlasDataLoss.ATLASLegend = MakeLegend(0.35,0.79,0.65,0.89)