43 hanConfig={"algorithm":"Histogram_Empty","description":"Number of events with a mismatch, per LB (x-axis), per signature (y-axis) for signatures that are deemed simulation-ready","display":"SetPalette(55)"},
52 hanConfig={"algorithm":"L1CaloMismatchRate","description":"Mismatch rate, per LB (x-axis), per signature (y-axis) for signatures that are deemed simulation-ready - should not be high rate (see DQ algo)","display":"SetPalette(55)"},
53 type='TProfile2D', cutmask='SimulationReady',
54 title='Mismatched Rate for Simulation-Ready Signatures;LB;Signature;Event Rate (%)',
58# when there are mismatches, would be useful to know where they occurred (might be a single module gone bad)
59# so register a location-vs-lbn histogram
60for sig in ["eEM","eTAU"]:
61 helper.defineHistogram("LBN,locIdx;h_"+sig+"_mismatches_posLbnMap", title = "Mismatched " + sig + " [DataTower evts];LB;Position (Module:Proc:Eta:Phi);TOBs",
62 fillGroup = sig + "_mismatches", cutmask='SimulationReady',
63 path = "Expert/Sim",
64 hanConfig={
65"algorithm":"Histogram_Empty",
66"display":"SetPalette(87)",
67"description":"Location of mismatched " + sig + " TOBs in simulation-ready events. Use this plot to identify any localized eFEX issues. N.B. this plot is only created if there are mismatches."},
68 type="TH2I",
69 xbins=1,xmin=0,xmax=1,
70 ybins=1,ymin=0,ymax=1,
71 opt=['kAddBinsDynamically'])
72 helper.defineHistogram("LBN,locIdx;h_"+sig+"_mismatchesEmulated_posLbnMap", title = "Mismatched " + sig + " [EmulatedTower evts];LB;Position (Module:Proc:Eta:Phi);TOBs",
73 fillGroup = sig + "_mismatches", cutmask='IsEmulatedTowers',
74 path = "Expert/Sim",
75 hanConfig={
76"algorithm":"Histogram_Empty",
77"display":"SetPalette(87)",
78"description":"Location of mismatched " + sig + " TOBs in events with EmulatedTower simput. Discuss mismatches with expert, they may be caused by LATOME readout issues if there are LAr Mismatches in Input/eFEX folder. N.B. this plot is only created if there are mismatches."},