ATLAS Offline Software
Variables
DeMoAtlasDataLoss Namespace Reference

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)
 

Variable Documentation

◆ action

DeMoAtlasDataLoss.action

Definition at line 39 of file DeMoAtlasDataLoss.py.

◆ affectedLBs

dictionary DeMoAtlasDataLoss.affectedLBs = {}

Definition at line 52 of file DeMoAtlasDataLoss.py.

◆ args

DeMoAtlasDataLoss.args = parser.parse_args()

Definition at line 43 of file DeMoAtlasDataLoss.py.

◆ ATLASLegend

DeMoAtlasDataLoss.ATLASLegend = MakeLegend(0.35,0.79,0.65,0.89)

Definition at line 199 of file DeMoAtlasDataLoss.py.

◆ atlasready

DeMoAtlasDataLoss.atlasready = GetReadyFlag(int(iRun))

Definition at line 106 of file DeMoAtlasDataLoss.py.

◆ canvas

dictionary DeMoAtlasDataLoss.canvas = {}

Definition at line 187 of file DeMoAtlasDataLoss.py.

◆ colorPalette

dictionary DeMoAtlasDataLoss.colorPalette
Initial value:
1 = {"Pixel":kViolet-4,
2  "SCT":kSpring-9,
3  "TRT":kPink,
4  "LAr":kRed+1,
5  "Tile":kYellow+1,
6  "MDT":kBlue+3,
7  "TGC":kBlue-4,
8  "RPC":kGreen-2,
9  "Trig_L1":kOrange,
10  "Trig_HLT":kAzure+6,
11  "Lumi":kBlue-9,
12  "Global":kCyan,
13  "IDGlobal":kMagenta+2,
14  "BTag":kPink+9,
15  "CaloCP":kGreen+3,
16  "MuonCP":kGray,
17  "All":kBlack}

Definition at line 149 of file DeMoAtlasDataLoss.py.

◆ dataLossPerPeriod

dictionary DeMoAtlasDataLoss.dataLossPerPeriod = {}

Definition at line 132 of file DeMoAtlasDataLoss.py.

◆ debug

bool DeMoAtlasDataLoss.debug = False

Definition at line 30 of file DeMoAtlasDataLoss.py.

◆ default

DeMoAtlasDataLoss.default

Definition at line 39 of file DeMoAtlasDataLoss.py.

◆ DeMoConfig

DeMoAtlasDataLoss.DeMoConfig = {}

Definition at line 60 of file DeMoAtlasDataLoss.py.

◆ dest

DeMoAtlasDataLoss.dest

Definition at line 39 of file DeMoAtlasDataLoss.py.

◆ h1_lumi

DeMoAtlasDataLoss.h1_lumi = periodFile.Get("h1Period_IntLuminosity_archive")

Definition at line 127 of file DeMoAtlasDataLoss.py.

◆ help

DeMoAtlasDataLoss.help

Definition at line 39 of file DeMoAtlasDataLoss.py.

◆ hprof_dataLossPerSystem

dictionary DeMoAtlasDataLoss.hprof_dataLossPerSystem = {}

Definition at line 142 of file DeMoAtlasDataLoss.py.

◆ ilineSplit

DeMoAtlasDataLoss.ilineSplit = iline.split("|")

Definition at line 66 of file DeMoAtlasDataLoss.py.

◆ instOfflLumi

DeMoAtlasDataLoss.instOfflLumi = GetOfflineLumiFromCOOL(int(iRun),0,DeMoConfig["OflLumi tag"])

Definition at line 105 of file DeMoAtlasDataLoss.py.

◆ lbAffInt

DeMoAtlasDataLoss.lbAffInt = int(lbRange)

Definition at line 84 of file DeMoAtlasDataLoss.py.

◆ lbLumi

dictionary DeMoAtlasDataLoss.lbLumi = {}

Definition at line 103 of file DeMoAtlasDataLoss.py.

◆ lbRange

DeMoAtlasDataLoss.lbRange = ""

Definition at line 67 of file DeMoAtlasDataLoss.py.

◆ lbRangeSplit

string DeMoAtlasDataLoss.lbRangeSplit = lbRange.split("->")

Definition at line 82 of file DeMoAtlasDataLoss.py.

◆ legends

dictionary DeMoAtlasDataLoss.legends = {}

Definition at line 189 of file DeMoAtlasDataLoss.py.

◆ lumiacct

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.

◆ parser

DeMoAtlasDataLoss.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter)

Definition at line 38 of file DeMoAtlasDataLoss.py.

◆ percentLoss

int DeMoAtlasDataLoss.percentLoss = dataLossPerPeriod[iSyst][periodName[i]]/periodLumi[periodName[i]]/10000

Definition at line 178 of file DeMoAtlasDataLoss.py.

◆ period

DeMoAtlasDataLoss.period = returnPeriod(int(iAffRun),"Global",year,tag)

Definition at line 169 of file DeMoAtlasDataLoss.py.

◆ periodFile

DeMoAtlasDataLoss.periodFile = TFile("YearStats-Global/%s/%s/TProfiles.root"%(year,tag))

Definition at line 125 of file DeMoAtlasDataLoss.py.

◆ periodListHash

DeMoAtlasDataLoss.periodListHash = h1_lumi.GetXaxis().GetLabels()

Definition at line 128 of file DeMoAtlasDataLoss.py.

◆ periodLumi

dictionary DeMoAtlasDataLoss.periodLumi = {}

Definition at line 130 of file DeMoAtlasDataLoss.py.

◆ periodName

list DeMoAtlasDataLoss.periodName = []

Definition at line 129 of file DeMoAtlasDataLoss.py.

◆ recapDefectsFile

DeMoAtlasDataLoss.recapDefectsFile = open("YearStats-%s/%s/%s/recapDefects.txt"%(iSyst,year,tag))

Definition at line 62 of file DeMoAtlasDataLoss.py.

◆ runNumber

DeMoAtlasDataLoss.runNumber = ""

Definition at line 64 of file DeMoAtlasDataLoss.py.

◆ stacks

dictionary DeMoAtlasDataLoss.stacks = {}

Definition at line 188 of file DeMoAtlasDataLoss.py.

◆ systemDict

dictionary DeMoAtlasDataLoss.systemDict = {}

Definition at line 190 of file DeMoAtlasDataLoss.py.

◆ systemList

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.

◆ systemList2

list DeMoAtlasDataLoss.systemList2 = systemList + ["All"]

Definition at line 55 of file DeMoAtlasDataLoss.py.

◆ tag

DeMoAtlasDataLoss.tag = args.parser_tag

Definition at line 45 of file DeMoAtlasDataLoss.py.

◆ v_lbTimeSt

DeMoAtlasDataLoss.v_lbTimeSt = GetLBTimeStamps(int(iRun))

Definition at line 109 of file DeMoAtlasDataLoss.py.

◆ year

DeMoAtlasDataLoss.year = args.parser_year

Definition at line 44 of file DeMoAtlasDataLoss.py.