ATLAS Offline Software
Loading...
Searching...
No Matches
checkCorrelInHIST Namespace Reference

Functions

 expandWildCard (histlist)
 convHname (hname)
 LIDProposal (hname, eta, phi, delta=0.15)
 setupDqmAPI ()
 lbStr (lb)
 hType (hist, verbose=False)
 checkCorrel (histos, listLB, checkList)
 getSummary (histos, correls, fractionNonZero)
 topNBins (histname, h, topn, bins, h_fracQth=None)

Variables

int nLB = 8000
str dqmpassfile = "/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt"
 conn = None
 cursor = None
dict wildcards = {}
list wildcardplots = ["CellOccupancyVsEtaPhi", "fractionOverQthVsEtaPhi","DatabaseNoiseVsEtaPhi","CellAvgEnergyVsEtaPhi"]
 parser = argparse.ArgumentParser(description='Process some integers.')
 type
 int
 dest
 default
 help
 action
 float
 nargs
 False
 args = parser.parse_args()
dict run_spec = {'stream': 'physics_CosmicCalo', 'proc_ver': 1,'source': 'tier0', 'low_run': args.runNumber, 'high_run':args.runNumber}
 dqmAPI = None
dict grouped = {}
 run_info = dqmAPI.get_run_information(run_spec)
 tag
 hArgs = args.histo
 histoWD
dict prefix = {'express':'express_','Egamma':'physics_','CosmicCalo':'physics_','JetTauEtmiss':'physics_','Main':'physics_','ZeroBias':'physics_','MinBias':'physics_'}
 dqmf_config = dqmAPI.get_dqmf_configs(run_spec, hist)
 histpath = dqmf_config['%d'%args.runNumber]['annotations']['inputname']
list gk = [ k for k,b in grouped.items() if hist in grouped[k] ][0]
dict gi = grouped[gk].index(hist)
dict histos = {}
dict canvs = {}
 mergedFilePath
str runFilePath = "root://eosatlas.cern.ch/%s"%(mergedFilePath).rstrip()
dict drawngroup = {}
 f = R.TFile.Open(runFilePath)
str hpath = "run_%d/%s"%(args.runNumber,hist)
 tmp_x = args.globalX
 tmp_delta = args.globalDelta
int nSteps = 1000
int subStep = 2*tmp_delta/nSteps
 groupname = None
dict thiscanv = canvs[hist]["canv"]
int iX = tmp_x - tmp_delta + ix * subStep
dict tmp_bin = histos[hist]["merged"].FindBin(iX)
 tmp_y = args.globalY
 QthHist = None
 QthHistPath = hist.replace("2d_Occupancy/CellOccupancyVsEtaPhi", "2d_PoorQualityFraction/fractionOverQthVsEtaPhi").replace("_5Sigma_CSCveto", "_hiEth_noVeto").replace("_hiEth_CSCveto", "_hiEth_noVeto")
int iY = tmp_y - tmp_delta + iy * subStep
 objs
 lbFilePathList
list listLB = []
str lbFilePath = "root://eosatlas.cern.ch/%s"%(lbFile).rstrip()
 ilb = int((lbFile.split("_lb")[1]).split("._")[0])
 fLB = R.TFile.Open(lbFilePath)
 correls
 fractionNonZero

Function Documentation

◆ checkCorrel()

checkCorrelInHIST.checkCorrel ( histos,
listLB,
checkList )

Definition at line 138 of file checkCorrelInHIST.py.

138def checkCorrel(histos, listLB, checkList):
139 # Dump the correlations in histograms to be displayed
140 cRatio = {}
141 paveCorrel = {}
142
143 correls = {}
144
145 fractionNonZero = 0
146 for iPath in histos.keys():
147 for iPath2 in histos.keys():
148 corr = "%s_%s"%(iPath,iPath2)
149 corr2 = "%s_%s"%(iPath2,iPath)
150 if not any([ cl in iPath for cl in checkList]) and not any([cl in iPath2 for cl in checkList]):
151 print("Skipping comparison of",iPath,"vs",iPath2)
152 if corr in correls.keys(): del correls[corr]
153 if corr2 in correls.keys(): del correls[corr2]
154 continue
155 print("Checking correl for",iPath,"vs",iPath2)
156 if corr not in correls.keys(): correls[corr] = {}
157 if corr2 not in correls.keys(): correls[corr2] = {}
158 if (iPath != iPath2 and "hCorrel" not in correls[corr2].keys()): # Correlation plots
159 print("====== I am checking correlation between %s and %s"%(iPath.split("/")[-1],iPath2.split("/")[-1]))
160 correls[corr]["hCorrel"] = R.TH2D( "Correlation_%s"%corr,"Correlation_%s"%corr,
161 50, min(histos[iPath]["nbHitInHot"])-1, max(histos[iPath]["nbHitInHot"])+1,
162 50, min(histos[iPath2]["nbHitInHot"])-1, max(histos[iPath2]["nbHitInHot"])+1 )
163 correls[corr]["hCorrel"].SetXTitle(iPath.split("/")[-1])
164 correls[corr]["hCorrel"].SetYTitle(iPath2.split("/")[-1])
165
166 correls[corr]["nbHitRatio"] = [-999.]*nLB
167 correls[corr2]["nbHitRatio"] = [-999.]*nLB
168 for iLB in listLB:
169 if (histos[iPath2]["nbHitInHot"][iLB] !=0):
170 correls[corr]["nbHitRatio"][iLB] = histos[iPath]["nbHitInHot"][iLB]/histos[iPath2]["nbHitInHot"][iLB]
171 if (histos[iPath]["nbHitInHot"][iLB] !=0):
172 correls[corr2]["nbHitRatio"][iLB] = histos[iPath2]["nbHitInHot"][iLB]/histos[iPath]["nbHitInHot"][iLB]
173
174 correls[corr]["hRatio"] = R.TH1D("Ratio_%s"%corr,"Ratio_%s"%corr,100,0.,max(correls[corr]["nbHitRatio"])+1)
175 correls[corr]["hRatio"].SetXTitle("%s/%s"%(iPath.split("/")[-1],iPath2.split("/")[-1]))
176 correls[corr]["hRatio"].SetMarkerColor(R.kBlue+2)
177 correls[corr]["hRatio"].SetMarkerStyle(20)
178 correls[corr2]["hRatio"] = R.TH1D("Ratio_%s"%corr2,"Ratio_%s"%corr2,100,0.,max(correls[corr2]["nbHitRatio"])+1)
179 correls[corr2]["hRatio"].SetXTitle("%s/%s"%(iPath2.split("/")[-1],iPath.split("/")[-1]))
180 correls[corr2]["hRatio"].SetMarkerColor(R.kBlue+2)
181 correls[corr2]["hRatio"].SetMarkerStyle(20)
182
183 for iLB in listLB:
184 if (histos[iPath]["nbHitInHot"][iLB] !=0 or histos[iPath2]["nbHitInHot"][iLB] != 0.):
185 correls[corr]["hCorrel"].Fill(histos[iPath]["nbHitInHot"][iLB],histos[iPath2]["nbHitInHot"][iLB])
186 print("LB: %d -> %.2f / %.2f"%(iLB,histos[iPath]["nbHitInHot"][iLB],histos[iPath2]["nbHitInHot"][iLB]))
187 if correls[corr]["nbHitRatio"][iLB]!= -999:
188 correls[corr]["hRatio"].Fill(correls[corr]["nbHitRatio"][iLB])
189 if correls[corr2]["nbHitRatio"][iLB]!= -999:
190 correls[corr2]["hRatio"].Fill(correls[corr2]["nbHitRatio"][iLB])
191
192 correls[corr]["cCorrel"] = R.TCanvas("Correl-%s"%corr,"Correl-%s"%corr)
193 correls[corr]["hCorrel"].Draw("COLZ")
194 paveCorrel[corr] = R.TPaveText(.1,.72,.9,.9,"NDC")
195 paveCorrel[corr].SetFillColor(R.kBlue-10)
196 paveCorrel[corr].AddText("Run %d / %d LBs in total - %d LBs with >=1 entry in either plot"%(args.runNumber,len(listLB),correls[corr]["hCorrel"].GetEntries()))
197 paveCorrel[corr].AddText("Correlation factor:%.3f"%(correls[corr]["hCorrel"].GetCorrelationFactor()))
198
199 try:
200 fractionNonZero = correls[corr]["hRatio"].Integral(2,100)/correls[corr]["hRatio"].Integral(1,100)
201 except ZeroDivisionError:
202 fractionNonZero = 0
203 if fractionNonZero != 0.:
204 meanNonZero = correls[corr]["hRatio"].GetMean()/fractionNonZero
205 else:
206 meanNonZero = 0.
207 paveCorrel[corr].AddText("When >=1 entry in X plot(%d LBs), %.0f %% events with >=1 entry in Y plot(<ratio>=%.2f)"%(correls[corr]["hRatio"].Integral(1,100),fractionNonZero*100.,meanNonZero))
208 try:
209 fractionNonZero = correls[corr2]["hRatio"].Integral(2,100)/correls[corr2]["hRatio"].Integral(1,100)
210 except ZeroDivisionError:
211 fractionNonZero = 0
212 if fractionNonZero != 0.:
213 meanNonZero = correls[corr2]["hRatio"].GetMean()/fractionNonZero
214 else:
215 meanNonZero = 0.
216 paveCorrel[corr].AddText("When >=1 entry in Y plot(%d LBs), %.0f %% events with >=1 entry in X plot(<ratio>=%.2f)"%(correls[corr2]["hRatio"].Integral(1,100),fractionNonZero*100.,meanNonZero))
217 paveCorrel[corr].Draw()
218
219 if args.draw1D:
220 correls[corr]["cRatio"] = R.TCanvas("Ratio-%s"%corr,"Ratio-%s"%corr)
221 correls[corr]["hRatio"].Draw("P HIST")
222 correls[corr2]["cRatio"] = R.TCanvas("Ratio-%s"%corr2,"Ratio-%s"%corr2)
223 correls[corr2]["hRatio"].Draw("P HIST")
224
225 correls[corr]["cCorrel"].Update() # make sure all of the text is there
226
227 elif ("hEvol" not in histos[iPath].keys()): # Evolution of nb of hit per LB
228 histos[iPath]["hEvol"] = R.TH1D("Evolution_%s"%iPath,"%s"%(iPath.split("/")[-1]),max(listLB)-min(listLB),min(listLB),max(listLB))
229 histos[iPath]["hEvol"].SetXTitle("Luminosity block")
230 histos[iPath]["hEvol"].SetYTitle("Nb of hits")
231 histos[iPath]["hEvol"].SetMarkerColor(R.kGreen+2)
232 histos[iPath]["hEvol"].SetMarkerStyle(20)
233
234 for iLB in listLB:
235 histos[iPath]["hEvol"].Fill(iLB,histos[iPath]["nbHitInHot"][iLB])
236
237 if args.draw1D:
238 histos[iPath]["cEvol"] = R.TCanvas("LB evol - %s"%iPath)
239 histos[iPath]["hEvol"].Draw("P HIST")
240
241 return correls, fractionNonZero
242
void print(char *figname, TCanvas *c1)
TGraphErrors * GetMean(TH2F *histo)
TGraphErrors * GetEntries(TH2F *histo)
#define min(a, b)
Definition cfImp.cxx:40
#define max(a, b)
Definition cfImp.cxx:41

◆ convHname()

checkCorrelInHIST.convHname ( hname)

Definition at line 86 of file checkCorrelInHIST.py.

86def convHname(hname):
87 DET = { "EMB":"0", "EMEC":"1","HEC":"2","FCAL":"3" }
88 AC = { "A":"1", "C":"-1" }
89 SAM = { "P":"0" }
90 for samp in range(0,4): SAM[str(samp)] = str(samp)
91 for det in DET.keys():
92 for sam in SAM.keys():
93 for ac in AC.keys():
94 if det+sam+ac in hname:
95 return DET[det], AC[ac], SAM[sam]
96 return None, None, None
97

◆ expandWildCard()

checkCorrelInHIST.expandWildCard ( histlist)

Definition at line 44 of file checkCorrelInHIST.py.

44def expandWildCard(histlist):
45 newhistlist = []
46 grouped = {} # document the grouped plots, so we can show in one canvas
47 for hist in histlist:
48 if "*" in hist:
49 foundwc = False
50 for wc in wildcards.keys():
51 if wc in hist:
52 foundwc = True
53 newpaths = []
54 if "Tile" in wc:
55 for samp in wildcards[wc]:
56 tmp_path = hist
57 new_path = tmp_path.replace("*",samp)
58 newpaths.append(new_path)
59 else:
60 for part in wildcards[wc].keys():
61 tmp_path = hist
62 if part+"*" in tmp_path:
63 for samp in wildcards[wc][part].keys():
64
65 new_path = tmp_path.replace(part+"*", part+samp)
66
67 if "*" in new_path:
68 new_path = new_path.replace("*", wildcards[wc][part][samp])
69 newpaths.append(new_path)
70
71 if len(newpaths) == 0:
72 print("Failed to get the full paths from the wildcard...")
73 sys.exit()
74
75 print("Expanded",wc,"wildcard to give",len(newpaths),"histograms")
76 newhistlist.extend(newpaths)
77 if foundwc is False:
78 print("A wildcard has been used, but the requested histogram is not yet defined in this script. See the wildcards dictionary:",wildcards.keys())
79 sys.exit()
80 grouped[hist] = newpaths
81 else:
82 newhistlist.append(hist)
83 return newhistlist, grouped
84
85

◆ getSummary()

checkCorrelInHIST.getSummary ( histos,
correls,
fractionNonZero )

Definition at line 243 of file checkCorrelInHIST.py.

243def getSummary(histos, correls, fractionNonZero):
244 print("====== Summary data")
245 already = []
246 for iPath in histos.keys():
247 for iPath2 in histos.keys():
248 corr = "%s_%s"%(iPath,iPath2)
249 corr2 = "%s_%s"%(iPath2,iPath)
250 if corr not in correls.keys() and corr2 not in correls.keys():
251 continue
252 if (iPath != iPath2 and corr2 not in already): # Correlation plots
253 print("====== %s vs %s"%(iPath.split("/")[-1],iPath2.split("/")[-1]))
254 print("Correlation factor: %.3f"%(correls[corr]["hCorrel"].GetCorrelationFactor()))
255 try:
256 fractionNonZero = correls[corr]["hRatio"].Integral(2,100)/correls[corr]["hRatio"].Integral(1,100)
257 except ZeroDivisionError:
258 fractionNonZero = 0
259 if fractionNonZero != 0.:
260 meanNonZero = correls[corr]["hRatio"].GetMean()/fractionNonZero
261 else:
262 meanNonZero = 0.
263 print("When there is at least one entry in %s (%d LBs), there are %.1f %% of events with an entry in %s - Mean ratio: %.2f"%(iPath2.split("/")[-1],correls[corr]["hRatio"].Integral(1,100),fractionNonZero*100.,iPath.split("/")[-1],meanNonZero))
264
265 try:
266 fractionNonZero = correls[corr2]["hRatio"].Integral(2,100)/correls[corr2]["hRatio"].Integral(1,100)
267 except ZeroDivisionError:
268 fractionNonZero = 0
269 if fractionNonZero != 0.:
270 meanNonZero = correls[corr2]["hRatio"].GetMean()/fractionNonZero
271 else:
272 meanNonZero = 0.
273 print("When there is at least one entry in %s (%d LBs), there are %.1f %% of events with an entry in %s - Mean ratio: %.2f"%(iPath.split("/")[-1],correls[corr2]["hRatio"].Integral(1,100),fractionNonZero*100.,iPath2.split("/")[-1],meanNonZero))
274
275 already.append(corr)
276
277

◆ hType()

checkCorrelInHIST.hType ( hist,
verbose = False )
Return type of the provided hist as a string, or None if it's not a hist 

Definition at line 126 of file checkCorrelInHIST.py.

126def hType(hist, verbose=False):
127 """ Return type of the provided hist as a string, or None if it's not a hist """
128 if isinstance(hist,R.TH2):
129 return "2D"
130 elif isinstance(hist,R.TH1):
131 return "1D"
132 else:
133 if verbose:
134 print("The input hist is not TH1/TH2... it is",type(hist),"- returning None")
135 return None
136
137

◆ lbStr()

checkCorrelInHIST.lbStr ( lb)
Return the lb number in string format, e.g. _lb0001 

Definition at line 122 of file checkCorrelInHIST.py.

122def lbStr(lb):
123 """ Return the lb number in string format, e.g. _lb0001 """
124 return "_lb"+str(lb).zfill(4)
125

◆ LIDProposal()

checkCorrelInHIST.LIDProposal ( hname,
eta,
phi,
delta = 0.15 )
Print a proposed LArID translator (https://atlas-larmon.cern.ch/LArIdtranslator/) SQL query 

Definition at line 98 of file checkCorrelInHIST.py.

98def LIDProposal(hname, eta, phi, delta=0.15):
99 """ Print a proposed LArID translator (https://atlas-larmon.cern.ch/LArIdtranslator/) SQL query """
100 det, ac, sam = convHname(hname)
101 if det is None: return
102 if int(det) == 0 and abs(eta) > 1.4 and int(sam)>1:
103 sam = str(int(sam)-1)
104 proposal = "DET="+det+" and AC="+ac+" and SAM="+sam+" and ETA between "+str(eta-delta)+" and "+str(eta+delta)+" and PHI between "+str(phi-delta)+" and "+str(phi+delta)
105 print("*"*30)
106 print("Proposal query for LArID translator for plot",hname,"is as follows:")
107 print(proposal)
108
109

◆ setupDqmAPI()

checkCorrelInHIST.setupDqmAPI ( )
Connect to the atlasDQM web API service: https://twiki.cern.ch/twiki/bin/viewauth/Atlas/DQWebServiceAPIs 

Definition at line 110 of file checkCorrelInHIST.py.

110def setupDqmAPI():
111 """ Connect to the atlasDQM web API service: https://twiki.cern.ch/twiki/bin/viewauth/Atlas/DQWebServiceAPIs """
112 if (not os.path.isfile(dqmpassfile)):
113 print("To connect to the DQ web service APIs, you need to generate an atlasdqm key and store it in the specified location ("+dqmpassfile+"). The contents should be yourname:key")
114 print("To generate a key, go here : https://atlasdqm.cern.ch/dqauth/")
115 sys.exit()
116 passfile = open(dqmpassfile)
117 passwd = passfile.read().strip(); passfile.close()
118 passurl = 'https://%s@atlasdqm.cern.ch'%passwd
119 s = xmlrpc.client.ServerProxy(passurl)
120 return s
121

◆ topNBins()

checkCorrelInHIST.topNBins ( histname,
h,
topn,
bins,
h_fracQth = None )

Definition at line 278 of file checkCorrelInHIST.py.

278def topNBins(histname,h,topn,bins,h_fracQth=None):
279 content = []
280 binx = []
281 biny = []
282 fracQthContent = []
283 for nb in bins:
284 x, y, z = ctypes.c_int(1), ctypes.c_int(1), ctypes.c_int(1)
285 h.GetBinXYZ(nb, x, y, z)
286 c = h.GetBinContent(nb)
287 xcent = h.GetXaxis().GetBinCenter(x.value)
288 xlow = h.GetXaxis().GetBinLowEdge(x.value)
289 xhi = h.GetXaxis().GetBinUpEdge(x.value)
290 ycent = h.GetYaxis().GetBinCenter(y.value)
291 ylow = h.GetYaxis().GetBinLowEdge(y.value)
292 yhi = h.GetYaxis().GetBinUpEdge(y.value)
293 content.append(c)
294 if h_fracQth is not None and isinstance(h_fracQth, R.TH1):
295 fracQthContent.append(h_fracQth.GetBinContent(nb))
296 else:
297 fracQthContent.append(0)
298 binx.append( [xlow,xcent,xhi] )
299 biny.append( [ylow,ycent,yhi] )
300 # hottest bins
301 top = sorted(range(len(content)), key=lambda i: content[i], reverse=True)[:topn]
302 top = [ t for t in top if content[t] != 0 ]
303 if len(top) == 0: return
304 print("*"*30)
305 print("**",len(top),"hottest bins in",h.GetName(),"**")
306 det, ac, sam = convHname(h.GetName())
307
308 if det is not None:
309 proposal = "DET="+det+" and AC="+ac+" and SAM="+sam+" and"
310 else:
311 proposal = ""
312 for ind in top:
313 # Special treatment for barrel
314 thisprop = proposal
315 if det is not None and int(det) == 0:
316 if (abs(binx[ind][0]) > 1.4 or abs(binx[ind][2]) > 1.4) and int(sam)>1:
317 thissam = str(int(sam)-1)
318 thisprop = thisprop.replace("SAM="+sam, "SAM="+thissam)
319 printstr = thisprop+" ETA between "+str(format(binx[ind][0],".4f"))+" and "+str(format(binx[ind][2],".4f"))+" and PHI between "+str(format(biny[ind][0],".4f"))+" and "+str(format(biny[ind][2],".4f"))
320
321 ONL_ID = []
322 if "LArCellMon" in histname:
323 conn = sqlite3.connect('/afs/cern.ch/user/l/larmon/public/prod/LArIdtranslator/LArId.db')
324 conn.row_factory = sqlite3.Row
325 cursor = conn.cursor()
326 cmd = 'select distinct LARID.ONL_ID from LARID where '
327 cmd += printstr.replace("DET","LARID.DET").replace("SAM","LARID.SAM").replace("ETA","LARID.ETA").replace("PHI","LARID.PHI")
328 cursor.execute(cmd)
329 all_row = cursor.fetchall()
330 ONL_ID=[hex(all_row[i]['ONL_ID']) for i in range(len(all_row))]
331
332
333
334 printstr += " (content = "+str(content[ind])
335 if h_fracQth is not None:
336 printstr += " & /Qth = "+str(format(fracQthContent[ind],".3f"))
337 printstr += ")"
338 if len(ONL_ID) != 0:
339 printstr += " ONL_ID = "+(", ".join(ONL_ID))
340 print(printstr)
341
342
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition hcg.cxx:310

Variable Documentation

◆ action

checkCorrelInHIST.action

Definition at line 345 of file checkCorrelInHIST.py.

◆ args

checkCorrelInHIST.args = parser.parse_args()

Definition at line 361 of file checkCorrelInHIST.py.

◆ canvs

dict checkCorrelInHIST.canvs = {}

Definition at line 414 of file checkCorrelInHIST.py.

◆ conn

checkCorrelInHIST.conn = None

Definition at line 25 of file checkCorrelInHIST.py.

◆ correls

checkCorrelInHIST.correls

Definition at line 582 of file checkCorrelInHIST.py.

◆ cursor

checkCorrelInHIST.cursor = None

Definition at line 26 of file checkCorrelInHIST.py.

◆ default

checkCorrelInHIST.default

Definition at line 345 of file checkCorrelInHIST.py.

◆ dest

checkCorrelInHIST.dest

Definition at line 345 of file checkCorrelInHIST.py.

◆ dqmAPI

checkCorrelInHIST.dqmAPI = None

Definition at line 366 of file checkCorrelInHIST.py.

◆ dqmf_config

checkCorrelInHIST.dqmf_config = dqmAPI.get_dqmf_configs(run_spec, hist)

Definition at line 395 of file checkCorrelInHIST.py.

◆ dqmpassfile

str checkCorrelInHIST.dqmpassfile = "/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt"

Definition at line 23 of file checkCorrelInHIST.py.

◆ drawngroup

dict checkCorrelInHIST.drawngroup = {}

Definition at line 436 of file checkCorrelInHIST.py.

◆ f

checkCorrelInHIST.f = R.TFile.Open(runFilePath)

Definition at line 438 of file checkCorrelInHIST.py.

◆ False

checkCorrelInHIST.False

Definition at line 357 of file checkCorrelInHIST.py.

◆ fLB

checkCorrelInHIST.fLB = R.TFile.Open(lbFilePath)

Definition at line 570 of file checkCorrelInHIST.py.

◆ float

checkCorrelInHIST.float

Definition at line 351 of file checkCorrelInHIST.py.

◆ fractionNonZero

checkCorrelInHIST.fractionNonZero

Definition at line 582 of file checkCorrelInHIST.py.

◆ gi

dict checkCorrelInHIST.gi = grouped[gk].index(hist)

Definition at line 404 of file checkCorrelInHIST.py.

◆ gk

list checkCorrelInHIST.gk = [ k for k,b in grouped.items() if hist in grouped[k] ][0]

Definition at line 403 of file checkCorrelInHIST.py.

◆ grouped

checkCorrelInHIST.grouped = {}

Definition at line 368 of file checkCorrelInHIST.py.

◆ groupname

list checkCorrelInHIST.groupname = None

Definition at line 461 of file checkCorrelInHIST.py.

◆ hArgs

list checkCorrelInHIST.hArgs = args.histo

Definition at line 380 of file checkCorrelInHIST.py.

◆ help

checkCorrelInHIST.help

Definition at line 345 of file checkCorrelInHIST.py.

◆ histos

dict checkCorrelInHIST.histos = {}

Definition at line 413 of file checkCorrelInHIST.py.

◆ histoWD

checkCorrelInHIST.histoWD

Definition at line 387 of file checkCorrelInHIST.py.

◆ histpath

checkCorrelInHIST.histpath = dqmf_config['%d'%args.runNumber]['annotations']['inputname']

Definition at line 400 of file checkCorrelInHIST.py.

◆ hpath

str checkCorrelInHIST.hpath = "run_%d/%s"%(args.runNumber,hist)

Definition at line 441 of file checkCorrelInHIST.py.

◆ ilb

checkCorrelInHIST.ilb = int((lbFile.split("_lb")[1]).split("._")[0])

Definition at line 563 of file checkCorrelInHIST.py.

◆ int

checkCorrelInHIST.int

Definition at line 345 of file checkCorrelInHIST.py.

◆ iX

int checkCorrelInHIST.iX = tmp_x - tmp_delta + ix * subStep

Definition at line 491 of file checkCorrelInHIST.py.

◆ iY

int checkCorrelInHIST.iY = tmp_y - tmp_delta + iy * subStep

Definition at line 518 of file checkCorrelInHIST.py.

◆ lbFilePath

str checkCorrelInHIST.lbFilePath = "root://eosatlas.cern.ch/%s"%(lbFile).rstrip()

Definition at line 561 of file checkCorrelInHIST.py.

◆ lbFilePathList

checkCorrelInHIST.lbFilePathList
Initial value:
1= pathExtract.returnEosHistPathLB( args.runNumber,
2 args.lowerlb, args.upperlb,
3 args.stream, args.amiTag, args.tag )

Definition at line 543 of file checkCorrelInHIST.py.

◆ listLB

list checkCorrelInHIST.listLB = []

Definition at line 559 of file checkCorrelInHIST.py.

◆ mergedFilePath

checkCorrelInHIST.mergedFilePath
Initial value:
1= pathExtract.returnEosHistPath( args.runNumber,
2 args.stream, args.amiTag,
3 args.tag )

Definition at line 426 of file checkCorrelInHIST.py.

◆ nargs

checkCorrelInHIST.nargs

Definition at line 355 of file checkCorrelInHIST.py.

◆ nLB

int checkCorrelInHIST.nLB = 8000

Definition at line 21 of file checkCorrelInHIST.py.

◆ nSteps

int checkCorrelInHIST.nSteps = 1000

Definition at line 458 of file checkCorrelInHIST.py.

◆ objs

checkCorrelInHIST.objs

Definition at line 529 of file checkCorrelInHIST.py.

◆ parser

checkCorrelInHIST.parser = argparse.ArgumentParser(description='Process some integers.')

Definition at line 344 of file checkCorrelInHIST.py.

◆ prefix

dict checkCorrelInHIST.prefix = {'express':'express_','Egamma':'physics_','CosmicCalo':'physics_','JetTauEtmiss':'physics_','Main':'physics_','ZeroBias':'physics_','MinBias':'physics_'}

Definition at line 391 of file checkCorrelInHIST.py.

◆ QthHist

checkCorrelInHIST.QthHist = None

Definition at line 507 of file checkCorrelInHIST.py.

◆ QthHistPath

checkCorrelInHIST.QthHistPath = hist.replace("2d_Occupancy/CellOccupancyVsEtaPhi", "2d_PoorQualityFraction/fractionOverQthVsEtaPhi").replace("_5Sigma_CSCveto", "_hiEth_noVeto").replace("_hiEth_CSCveto", "_hiEth_noVeto")

Definition at line 509 of file checkCorrelInHIST.py.

◆ run_info

checkCorrelInHIST.run_info = dqmAPI.get_run_information(run_spec)

Definition at line 372 of file checkCorrelInHIST.py.

◆ run_spec

dict checkCorrelInHIST.run_spec = {'stream': 'physics_CosmicCalo', 'proc_ver': 1,'source': 'tier0', 'low_run': args.runNumber, 'high_run':args.runNumber}

Definition at line 364 of file checkCorrelInHIST.py.

◆ runFilePath

str checkCorrelInHIST.runFilePath = "root://eosatlas.cern.ch/%s"%(mergedFilePath).rstrip()

Definition at line 429 of file checkCorrelInHIST.py.

◆ subStep

int checkCorrelInHIST.subStep = 2*tmp_delta/nSteps

Definition at line 459 of file checkCorrelInHIST.py.

◆ tag

checkCorrelInHIST.tag

Definition at line 376 of file checkCorrelInHIST.py.

◆ thiscanv

dict checkCorrelInHIST.thiscanv = canvs[hist]["canv"]

Definition at line 476 of file checkCorrelInHIST.py.

◆ tmp_bin

dict checkCorrelInHIST.tmp_bin = histos[hist]["merged"].FindBin(iX)

Definition at line 492 of file checkCorrelInHIST.py.

◆ tmp_delta

checkCorrelInHIST.tmp_delta = args.globalDelta

Definition at line 456 of file checkCorrelInHIST.py.

◆ tmp_x

checkCorrelInHIST.tmp_x = args.globalX

Definition at line 455 of file checkCorrelInHIST.py.

◆ tmp_y

checkCorrelInHIST.tmp_y = args.globalY

Definition at line 496 of file checkCorrelInHIST.py.

◆ type

checkCorrelInHIST.type

Definition at line 345 of file checkCorrelInHIST.py.

◆ wildcardplots

list checkCorrelInHIST.wildcardplots = ["CellOccupancyVsEtaPhi", "fractionOverQthVsEtaPhi","DatabaseNoiseVsEtaPhi","CellAvgEnergyVsEtaPhi"]

Definition at line 30 of file checkCorrelInHIST.py.

◆ wildcards

dict checkCorrelInHIST.wildcards = {}

Definition at line 29 of file checkCorrelInHIST.py.