197 from LArMonitoring.GlobalVariables
import lArDQGlobals
200 if isHLT: sc_hist_path=
'EXPERT'
203 cellMonGroup.defineHistogram(
'superCellEt;h_SuperCellEt',
204 title=
'Super Cell E_T [MeV]; MeV; # entries',
205 type=
'TH1F', path=sc_hist_path,
206 xbins = 100,xmin=0,xmax=50000)
207 cellMonGroup.defineHistogram(
'superCellEta;h_SuperCellEta',
208 title=
'Super Cell eta; #eta; # entries',
209 type=
'TH1F', path=sc_hist_path,
210 xbins = 100,xmin=-5,xmax=5)
211 cellMonGroup.defineHistogram(
'superCelltime;h_SuperCelltime',
212 title=
'Super Cell time [ns]; ns; # entries',
213 type=
'TH1F', path=sc_hist_path,
214 xbins = 100, xmin=-400,xmax=400)
215 cellMonGroup.defineHistogram(
'superCelltimeReco;h_SuperCelltimeReco',
216 title=
'Reco Super Cell time [ns]; ns; # entries',
217 type=
'TH1F', path=sc_hist_path,
218 xbins = 100, xmin=-400,xmax=400)
219 cellMonGroup.defineHistogram(
'superCellprovenance;h_SuperCellprovenance',
220 title=
'Super Cell provenance; bitmask ; # entries',
221 type=
'TH1F', path=sc_hist_path,
222 xbins = 700, xmin=0,xmax=700)
223 cellMonGroup.defineHistogram(
'BCID,superCellEt;h_SuperCellEt_vs_BCID',
224 title=
'Super Cell ET [MeV] vs BCID ; BCID from train front; %',
225 type=
'TH2F', path=sc_hist_path,
226 xbins = 50, xmin=0,xmax=50,
227 ybins = 80, ymin=-1000,ymax=1000)
228 cellMonGroup.defineHistogram(
'BCID,superCellEtRef;h_SuperCellEtRef_vs_BCID',
229 title=
'Super Cell ET [MeV] vs BCID ; BCID from train front; %',
230 type=
'TH2F', path=sc_hist_path,
231 xbins = 50, xmin=0,xmax=50,
232 ybins = 80, ymin=-1000,ymax=1000)
234 cellMonGroup.defineHistogram(
'resolution;h_SuperCellResolution',
235 title=
'Super Cell reconstruction resolution ; %; # entries',
236 type=
'TH1F', path=sc_hist_path,
237 xbins = 70, xmin=-20,xmax=120)
238 cellMonGroup.defineHistogram(
'resolutionPass;h_SuperCellResolutionPass',
239 title=
'Super Cell reconstruction resolution for BCIDed ; %; # entries',
240 type=
'TH1F', path=sc_hist_path,
241 xbins = 70, xmin=-20,xmax=120)
242 cellMonGroup.defineHistogram(
'superCellEt,resolution;h_SuperCellResolution_vs_ET',
243 title=
'Super Cell reconstruction resolution vs ET ; [MeV]; %',
244 type=
'TH2F', path=sc_hist_path,
245 xbins = 100, xmin=0,xmax=50000,
246 ybins = 70, ymin=-20,ymax=120)
247 cellMonGroup.defineHistogram(
'superCellEta,resolutionHET;h_SuperCellResolution_vs_eta',
248 title=
'Super Cell reconstruction resolution vs #eta ; #eta; %',
249 type=
'TH2F', path=sc_hist_path,
250 xbins = 100, xmin=-5,xmax=5,
251 ybins = 40, ymin=-20,ymax=20)
252 cellMonGroup.defineHistogram(
'BCID,resolution;h_SuperCellResolution_vs_BCID',
253 title=
'Super Cell reconstruction resolution vs BCID ; BCID from train front; %',
254 type=
'TH2F', path=sc_hist_path,
255 xbins = 50, xmin=0,xmax=50,
256 ybins = 80, ymin=-120,ymax=120)
258 cellMonGroup.defineHistogram(
'superCellEtRef,superCellEt;h_SuperCellEtLin',
259 title=
'Super Cell E_T Linearity; Ref SC E_T [MeV]; SC E_T [MeV]',
260 type=
'TH2F', path=sc_hist_path,
261 xbins = 100,xmin=0,xmax=50000,
262 ybins = 100,ymin=0,ymax=50000)
263 cellMonGroup.defineHistogram(
'superCelltimeRef,superCelltimeReco;h_SuperCelltimeLin',
264 title=
'Super Cell time Linearity; Ref SC time [ns]; Reco SC time [ns]',
265 type=
'TH2F', path=sc_hist_path,
266 xbins = 100, xmin=-200,xmax=200,
267 ybins = 100, ymin=-200,ymax=200)
268 cellMonGroup.defineHistogram(
'superCellprovenanceRef,superCellprovenance;h_SuperCellprovenanceLin',
269 title=
'Super Cell provenance Linearity; Ref SC bitmask ; SC bitmask',
270 type=
'TH2F', path=sc_hist_path,
271 xbins = 17, xmin=0,xmax=680,
272 ybins = 17, ymin=0,ymax=680)
273 cellMonGroup.defineHistogram(
'BCID;h_BCID',
274 title=
'BCID from the front of the train; BCID ; # entries',
275 type=
'TH1F', path=sc_hist_path,
276 xbins = 120, xmin=0,xmax=120)
279 partxbins=lArDQGlobals.SuperCell_Variables[
"etaRange"][
"All"][
"All"]
280 partybins=lArDQGlobals.SuperCell_Variables[
"phiRange"][
"All"][
"All"]
281 cellMonGroup.defineHistogram(
'superCellEta,superCellPhi,superCellEtDiff;h_SuperCellCoverage_EtDiff',
282 title=
'ET Diff: #phi vs #eta;#eta;#phi',
283 type=
'TProfile2D', path=sc_hist_path,
284 xbins = partxbins, ybins = partybins)
287 sc_hist_path=
'SC_Layer/'
288 if isHLT: sc_hist_path=
'EXPERT'
289 for part
in LayerNames:
299 partxbins=lArDQGlobals.SuperCell_Variables[
"etaRange"][Part][Side][Sampling]
300 partybins=lArDQGlobals.SuperCell_Variables[
"phiRange"][Part][Side][Sampling]
301 cellMonGroup.defineHistogram(
'superCellEta_'+part+
',superCellPhi_'+part+
',superCellEtDiff_'+part+
';h_SuperCellCoverage_EtDiff_'+part,
302 title=
'ET Diff '+part+
': #phi vs #eta;#eta;#phi',
303 type=
'TProfile2D', path=sc_hist_path,
304 xbins = partxbins, ybins = partybins)
307 cellMonGroup.defineHistogram(
'superCellEt_'+part+
';h_SuperCellEt'+part,
308 title=
'Super Cell E_T [MeV] '+partp+
'; MeV; # entries',
309 type=
'TH1F', path=sc_hist_path,
310 xbins = 100,xmin=0,xmax=50000)
311 cellMonGroup.defineHistogram(
'superCellEta_'+part+
';h_SuperCellEta'+part,
312 title=
'Super Cell eta '+partp+
'; #eta; # entries',
313 type=
'TH1F', path=sc_hist_path,
314 xbins = 100,xmin=-5,xmax=5)
315 cellMonGroup.defineHistogram(
'superCelltime_'+part+
';h_SuperCelltime'+part,
316 title=
'Super Cell time [ns] '+partp+
'; ns; # entries',
317 type=
'TH1F', path=sc_hist_path,
318 xbins = 100, xmin=-400,xmax=400)
319 cellMonGroup.defineHistogram(
'superCelltimeReco_'+part+
';h_SuperCelltimeReco'+part,
320 title=
'Reco Super Cell time [ns] '+partp+
'; ns; # entries',
321 type=
'TH1F', path=sc_hist_path,
322 xbins = 100, xmin=-400,xmax=400)
323 cellMonGroup.defineHistogram(
'superCellprovenance_'+part+
';h_SuperCellprovenance'+part,
324 title=
'Super Cell provenance '+partp+
'; bitmask ; # entries',
325 type=
'TH1F', path=sc_hist_path,
326 xbins = 700, xmin=0,xmax=700)
327 cellMonGroup.defineHistogram(
'BCID,superCellEt_'+part+
';h_SuperCellET_vs_BCID'+part,
328 title=
'Super Cell ET [MeV] vs BCID '+partp+
'; BCID from train front; %',
329 type=
'TH2F', path=sc_hist_path,
330 xbins = 50, xmin=0,xmax=50,
331 ybins = 100, ymin=-1000,ymax=1000)
332 cellMonGroup.defineHistogram(
'BCID,superCellEtRef_'+part+
';h_SuperCellRefET_vs_BCID'+part,
333 title=
'Super Cell ET [MeV] vs BCID '+partp+
'; BCID from train front; %',
334 type=
'TH2F', path=sc_hist_path,
335 xbins = 50, xmin=0,xmax=50,
336 ybins = 100, ymin=-1000,ymax=1000)
338 cellMonGroup.defineHistogram(
'resolution_'+part+
';h_SuperCellResolution'+part,
339 title=
'Super Cell reconstruction resolution '+partp+
'; %; # entries',
340 type=
'TH1F', path=sc_hist_path,
341 xbins = 70, xmin=-20,xmax=120)
342 cellMonGroup.defineHistogram(
'resolutionPass_'+part+
';h_SuperCellResolutionPass'+part,
343 title=
'Super Cell reconstruction resolution for BCIDed '+partp+
'; %; # entries',
344 type=
'TH1F', path=sc_hist_path,
345 xbins = 70, xmin=-20,xmax=120)
346 cellMonGroup.defineHistogram(
'superCellEt_'+part+
',resolution_'+part+
';h_SuperCellResolution_vs_ET'+part,
347 title=
'Super Cell reconstruction resolution vs ET '+partp+
'; [MeV]; %',
348 type=
'TH2F', path=sc_hist_path,
349 xbins = 100, xmin=0,xmax=50000,
350 ybins = 70, ymin=-20,ymax=120)
351 cellMonGroup.defineHistogram(
'superCellEta_'+part+
',resolutionHET_'+part+
';h_SuperCellResolution_vs_eta'+part,
352 title=
'Super Cell reconstruction resolution vs #eta '+partp+
'; #eta; %',
353 type=
'TH2F', path=sc_hist_path,
354 xbins = 100, xmin=-5,xmax=5,
355 ybins = 40, ymin=-20,ymax=20)
356 cellMonGroup.defineHistogram(
'BCID,resolution_'+part+
';h_SuperCellResolution_vs_BCID'+part,
357 title=
'Super Cell reconstruction resolution vs BCID '+partp+
'; BCID from train front; %',
358 type=
'TH2F', path=sc_hist_path,
359 xbins = 50, xmin=0,xmax=50,
360 ybins = 80, ymin=-120,ymax=120)
362 cellMonGroup.defineHistogram(
'superCellEtRef_'+part+
',superCellEt_'+part+
';h_SuperCellEtLin'+part,
363 title=
'Super Cell E_T Linearity '+partp+
'; Ref SC E_T [MeV]; SC E_T [MeV]',
364 type=
'TH2F', path=sc_hist_path,
365 xbins = 100,xmin=0,xmax=50000,
366 ybins = 100,ymin=0,ymax=50000)
367 cellMonGroup.defineHistogram(
'superCelltimeRef_'+part+
',superCelltimeReco_'+part+
';h_SuperCelltimeLin'+part,
368 title=
'Super Cell time Linearity '+partp+
'; Ref SC time [ns]; Reco SC time [ns]',
369 type=
'TH2F', path=sc_hist_path,
370 xbins = 100, xmin=-200,xmax=200,
371 ybins = 100, ymin=-200,ymax=200)
372 cellMonGroup.defineHistogram(
'superCellprovenanceRef_'+part+
',superCellprovenance_'+part+
';h_SuperCellprovenanceLin'+part,
373 title=
'Super Cell provenance Linearity '+partp+
'; Ref SC bitmask ; SC bitmask',
374 type=
'TH2F', path=sc_hist_path,
375 xbins = 17, xmin=0,xmax=680,
376 ybins = 17, ymin=0,ymax=680)
379 cellMonGroup.defineHistogram(
'cellEnergy_'+part+
';CellEnergy_'+part,
380 title=
'Cell Energy in ' +part+
';Cell Energy [MeV];Cell Events',
381 type=
'TH1F', path=sc_hist_path,
382 xbins = 100,xmin=0,xmax=50000
385 for part
in LayerNames:
387 cellMonGroup.defineHistogram(
'celleta_'+part+
';NCellsActiveVsEta_'+part,
388 title=
"No. of Active Cells in #eta for "+part+
";cell #eta",
389 type=
'TH1F', path=sc_hist_path,
390 xbins = 100,xmin=-5,xmax=5
393 cellMonGroup.defineHistogram(
'cellphi_'+part+
';NCellsActiveVsPhi_'+part,
394 title=
"No. of Active Cells in #phi for "+part+
";cell #phi",
395 type=
'TH1F', path=sc_hist_path,
396 xbins = 100,xmin=-5,xmax=5
399 cellMonGroup.defineHistogram(
'celleta_'+part+
',cellphi_'+part+
';DatabaseNoiseVsEtaPhi_'+part,
400 title=
"Map of Noise Values from the Database vs (#eta,#phi) for "+part+
";cell #eta;cell #phi",
401 weight=
'cellnoisedb_'+part,
402 cutmask=
'doDatabaseNoisePlot',
403 type=
'TH2F', path=
"DatabaseNoise/",
404 xbins = 100,xmin=-5,xmax=5,
405 ybins = 100,ymin=-5,ymax=5,
406 merge=
'weightedAverage')