1 from __future__
import print_function
8 from ROOT
import TFile, TString
9 from ROOT
import gDirectory
10 ROOT.gROOT.SetBatch(
True)
11 ROOT.PyConfig.IgnoreCommandLineOptions =
True
13 from Validation.RecoTrack.plotting.plotting
import Plot, PlotGroup, PlotFolder, Plotter, PlotOnSideGroup
14 from Validation.RecoTrack.plotting.html
import PlotPurpose
15 import Validation.RecoTrack.plotting.plotting
as plotting
16 import Validation.RecoTrack.plotting.validation
as validation
17 import Validation.RecoTrack.plotting.html
as html
20 from Validation.HGCalValidation.PostProcessorHGCAL_cfi
import lcToCP_linking, simDict, tsToCP_linking, tsToSTS_patternRec, variables
22 hgcVal_dqm =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/"
32 layerscheme = { 'lastLayerEEzm': 0, 'lastLayerFHzm': 0, 'maxlayerzm': 0, 'lastLayerEEzp': 0, 'lastLayerFHzp': 0, 'maxlayerzp': 0 }
34 #Let's take the relevant values of layerscheme from the dqm file.
35 theDQMfile = "DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO.root"
36 if not os.path.isfile(theDQMfile):
37 print("Error: file", theDQMfile, "not found, exit")
41 #Take general info from the first file is sufficient.
42 thefile = TFile( theDQMfile )
43 GeneralInfoDirectory = hgcVal_dqm + 'GeneralInfo'
45 if not gDirectory.GetDirectory( GeneralInfoDirectory ):
46 print("Error: GeneralInfo directory not found in DQM file, exit")
49 keys = gDirectory.GetDirectory( GeneralInfoDirectory ).GetListOfKeys()
54 for laykey in layerscheme.keys():
55 if laykey in obj.GetName():
56 layvalue = obj.GetName()[len("<"+laykey+">i="):-len("</"+laykey+">")]
57 layerscheme[laykey] = layvalue
64 #TODO: Anticipating the fine/coarse layer information in CMSSW we overwrite values from DQM file
65 #For now values returned for
66 # 'lastLayerFHzp': '104', 'lastLayerFHzm': '52'
67 #are not the one expected. Will come back to this when there will be info in CMSSW to put in DQM file.
69 #layerscheme = { 'lastLayerEEzm': 28, 'lastLayerFHzm': 40, 'maxlayerzm': 52, 'lastLayerEEzp': 80, 'lastLayerFHzp': 92, 'maxlayerzp': 104 }
72 layerscheme = {
'lastLayerEEzm': 28,
'lastLayerFHzm': 40,
'maxlayerzm': 50,
'lastLayerEEzp': 78,
'lastLayerFHzp': 90,
'maxlayerzp': 100 }
75 lastLayerEEzm = layerscheme[
'lastLayerEEzm']
76 lastLayerFHzm = layerscheme[
'lastLayerFHzm']
77 maxlayerzm = layerscheme[
'maxlayerzm']
78 lastLayerEEzp = layerscheme[
'lastLayerEEzp']
79 lastLayerFHzp = layerscheme[
'lastLayerFHzp']
80 maxlayerzp = layerscheme[
'maxlayerzp']
82 hitlayerscheme = {
'EE_min': 1,
'EE_max': 28,
'HESilicon_min': 1,
'HESilicon_max': 22,
'HEScintillator_min': 9 ,
'HEScintillator_max': 22 }
85 EE_min = hitlayerscheme[
'EE_min']
86 EE_max = hitlayerscheme[
'EE_max']
87 HESilicon_min = hitlayerscheme[
'HESilicon_min']
88 HESilicon_max = hitlayerscheme[
'HESilicon_max']
89 HEScintillator_min = hitlayerscheme[
'HEScintillator_min']
90 HEScintillator_max = hitlayerscheme[
'HEScintillator_max']
92 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
93 _legend_common = {
"legendDx": -0.3,
97 _SelectedCaloParticles = PlotGroup(
"SelectedCaloParticles", [
98 Plot(
"num_caloparticle_eta", xtitle=
"", **_common),
99 Plot(
"caloparticle_energy", xtitle=
"", **_common),
100 Plot(
"caloparticle_pt", xtitle=
"", **_common),
101 Plot(
"caloparticle_phi", xtitle=
"", **_common),
102 Plot(
"Eta vs Zorigin", xtitle=
"", **_common),
106 _common = {
"stat":
True,
"drawStyle":
"hist",
"statx": 0.38,
"staty": 0.68 }
107 _num_reco_cluster_eta = PlotGroup(
"num_reco_cluster_eta", [
108 Plot(
"num_reco_cluster_eta", xtitle=
"", **_common),
111 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
113 _mixedhitsclusters = PlotGroup(
"mixedhitsclusters", [
114 Plot(
"mixedhitscluster_zminus", xtitle=
"", **_common),
115 Plot(
"mixedhitscluster_zplus", xtitle=
"", **_common),
118 _mixedhitssimclusters = PlotGroup(
"mixedhitssimclusters", [
119 Plot(
"mixedhitssimcluster_zminus", xtitle=
"", **_common),
120 Plot(
"mixedhitssimcluster_zplus", xtitle=
"", **_common),
124 _common = {
"stat":
True,
"drawStyle":
"hist",
"statx": 0.45,
"staty": 0.65 }
126 _energyclustered = PlotGroup(
"energyclustered", [
127 Plot(
"energyclustered_zminus", xtitle=
"", **_common),
128 Plot(
"energyclustered_zplus", xtitle=
"", **_common),
132 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
134 _longdepthbarycentre = PlotGroup(
"longdepthbarycentre", [
135 Plot(
"longdepthbarycentre_zminus", xtitle=
"", **_common),
136 Plot(
"longdepthbarycentre_zplus", xtitle=
"", **_common),
139 _common_layerperthickness = {}
140 _common_layerperthickness.update(_common)
141 _common_layerperthickness[
'xmin'] = 0.
142 _common_layerperthickness[
'xmax'] = 100
144 _totclusternum_thick = PlotGroup(
"totclusternum_thick", [
145 Plot(
"totclusternum_thick_120", xtitle=
"", **_common_layerperthickness),
146 Plot(
"totclusternum_thick_200", xtitle=
"", **_common_layerperthickness),
147 Plot(
"totclusternum_thick_300", xtitle=
"", **_common_layerperthickness),
148 Plot(
"totclusternum_thick_-1", xtitle=
"", **_common_layerperthickness),
149 Plot(
"mixedhitscluster", xtitle=
"", **_common_layerperthickness),
152 _totsimclusternum_thick = PlotGroup(
"totsimclusternum_thick", [
153 Plot(
"totsimclusternum_thick_120", xtitle=
"", **_common_layerperthickness),
154 Plot(
"totsimclusternum_thick_200", xtitle=
"", **_common_layerperthickness),
155 Plot(
"totsimclusternum_thick_300", xtitle=
"", **_common_layerperthickness),
156 Plot(
"totsimclusternum_thick_-1", xtitle=
"", **_common_layerperthickness),
157 Plot(
"mixedhitssimcluster", xtitle=
"", **_common_layerperthickness),
161 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ylog":
True}
163 _cellsenedens_thick = PlotGroup(
"cellsenedens_thick", [
164 Plot(
"cellsenedens_thick_120", xtitle=
"", **_common),
165 Plot(
"cellsenedens_thick_200", xtitle=
"", **_common),
166 Plot(
"cellsenedens_thick_300", xtitle=
"", **_common),
167 Plot(
"cellsenedens_thick_-1", xtitle=
"", **_common),
171 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
177 _totclusternum_layer_EE_zminus = PlotGroup(
"totclusternum_layer_EE", [
178 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
181 _totclusternum_layer_FH_zminus = PlotGroup(
"totclusternum_layer_FH", [
182 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
185 _totclusternum_layer_BH_zminus = PlotGroup(
"totclusternum_layer_BH", [
186 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
189 _totsimclusternum_layer_EE_zminus = PlotGroup(
"totsimclusternum_layer_EE_zminus", [
190 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
193 _totsimclusternum_layer_FH_zminus = PlotGroup(
"totsimclusternum_layer_FH_zminus", [
194 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
197 _totsimclusternum_layer_BH_zminus = PlotGroup(
"totsimclusternum_layer_BH_zminus", [
198 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
201 _energyclustered_perlayer_EE_zminus = PlotGroup(
"energyclustered_perlayer_EE", [
202 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
205 _energyclustered_perlayer_FH_zminus = PlotGroup(
"energyclustered_perlayer_FH", [
206 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
209 _energyclustered_perlayer_BH_zminus = PlotGroup(
"energyclustered_perlayer_BH", [
210 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
216 _common_cells.update(_common)
217 _common_cells[
"xmin"] = 0
218 _common_cells[
"xmax"] = 50
219 _common_cells[
"ymin"] = 0.1
220 _common_cells[
"ymax"] = 10000
221 _common_cells[
"ylog"] =
True
222 _cellsnum_perthick_perlayer_120_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_EE", [
223 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
226 _cellsnum_perthick_perlayer_120_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_FH", [
227 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
230 _cellsnum_perthick_perlayer_120_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_BH", [
231 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
235 _cellsnum_perthick_perlayer_200_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_EE", [
236 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
239 _cellsnum_perthick_perlayer_200_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_FH", [
240 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
243 _cellsnum_perthick_perlayer_200_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_BH", [
244 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
248 _cellsnum_perthick_perlayer_300_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_EE", [
249 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
252 _cellsnum_perthick_perlayer_300_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_FH", [
253 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
256 _cellsnum_perthick_perlayer_300_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_BH", [
257 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
261 _cellsnum_perthick_perlayer_scint_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_EE", [
262 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
265 _cellsnum_perthick_perlayer_scint_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_FH", [
266 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
269 _cellsnum_perthick_perlayer_scint_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_BH", [
270 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
275 _common_distance = {}
276 _common_distance.update(_common)
277 _common_distance.update(_legend_common)
278 _common_distance[
"xmax"] = 150
279 _common_distance[
"stat"] =
False
280 _common_distance[
"ymin"] = 1e-3
281 _common_distance[
"ymax"] = 10000
282 _common_distance[
"ylog"] =
True
284 _distancetomaxcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_EE", [
285 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
288 _distancetomaxcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_FH", [
289 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
292 _distancetomaxcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_BH", [
293 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
297 _distancetomaxcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_EE", [
298 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
301 _distancetomaxcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_FH", [
302 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
305 _distancetomaxcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_BH", [
306 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
310 _distancetomaxcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_EE", [
311 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
314 _distancetomaxcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_FH", [
315 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
318 _distancetomaxcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_BH", [
319 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
323 _distancetomaxcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_EE", [
324 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
327 _distancetomaxcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_FH", [
328 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
331 _distancetomaxcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_BH", [
332 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
337 _distancebetseedandmaxcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_EE", [
338 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
341 _distancebetseedandmaxcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_FH", [
342 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
345 _distancebetseedandmaxcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_BH", [
346 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
350 _distancebetseedandmaxcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_EE", [
351 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
354 _distancebetseedandmaxcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_FH", [
355 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
358 _distancebetseedandmaxcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_BH", [
359 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
363 _distancebetseedandmaxcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_EE", [
364 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
367 _distancebetseedandmaxcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_FH", [
368 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
371 _distancebetseedandmaxcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_BH", [
372 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
376 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_EE", [
377 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
380 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_FH", [
381 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
384 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_BH", [
385 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
390 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE", [
391 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
394 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH", [
395 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
398 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH", [
399 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
403 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE", [
404 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
407 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH", [
408 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
411 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH", [
412 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
416 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE", [
417 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
420 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH", [
421 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
424 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH", [
425 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
429 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_EE", [
430 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
433 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_FH", [
434 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
437 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_BH", [
438 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
443 _distancetoseedcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_EE", [
444 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
447 _distancetoseedcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_FH", [
448 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
451 _distancetoseedcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_BH", [
452 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
456 _distancetoseedcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_EE", [
457 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
460 _distancetoseedcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_FH", [
461 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
464 _distancetoseedcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_BH", [
465 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
469 _distancetoseedcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_EE", [
470 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
473 _distancetoseedcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_FH", [
474 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
477 _distancetoseedcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_BH", [
478 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
482 _distancetoseedcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_EE", [
483 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
486 _distancetoseedcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_FH", [
487 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
490 _distancetoseedcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_BH", [
491 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
497 _common = {
"stat":
True,
"drawStyle":
"EP",
"staty": 0.65 }
499 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_EE", [
500 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
503 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_FH", [
504 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
507 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_BH", [
508 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
512 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_EE", [
513 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
516 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_FH", [
517 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
520 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_BH", [
521 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
525 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_EE", [
526 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
529 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_FH", [
530 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
533 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_BH", [
534 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
537 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_EE", [
538 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
541 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_FH", [
542 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
545 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_BH", [
546 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
552 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_EE", [
553 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
556 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_FH", [
557 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
560 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_BH", [
561 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
565 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_EE", [
566 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
569 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_FH", [
570 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
573 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_BH", [
574 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
578 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_EE", [
579 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
582 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_FH", [
583 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
586 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_BH", [
587 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
591 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_EE", [
592 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
595 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_FH", [
596 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
599 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_BH", [
600 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
604 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
609 _totclusternum_layer_EE_zplus = PlotGroup(
"totclusternum_layer_EE", [
610 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
613 _totclusternum_layer_FH_zplus = PlotGroup(
"totclusternum_layer_FH", [
614 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
617 _totclusternum_layer_BH_zplus = PlotGroup(
"totclusternum_layer_BH", [
618 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
621 _totsimclusternum_layer_EE_zplus = PlotGroup(
"totsimclusternum_layer_EE_zplus", [
622 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
625 _totsimclusternum_layer_FH_zplus = PlotGroup(
"totsimclusternum_layer_FH_zplus", [
626 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
629 _totsimclusternum_layer_BH_zplus = PlotGroup(
"totsimclusternum_layer_BH_zplus", [
630 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
633 _energyclustered_perlayer_EE_zplus = PlotGroup(
"energyclustered_perlayer_EE", [
634 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
637 _energyclustered_perlayer_FH_zplus = PlotGroup(
"energyclustered_perlayer_FH", [
638 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
641 _energyclustered_perlayer_BH_zplus = PlotGroup(
"energyclustered_perlayer_BH", [
642 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
647 _cellsnum_perthick_perlayer_120_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_EE", [
648 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
651 _cellsnum_perthick_perlayer_120_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_FH", [
652 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
654 _cellsnum_perthick_perlayer_120_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_BH", [
655 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
659 _cellsnum_perthick_perlayer_200_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_EE", [
660 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
663 _cellsnum_perthick_perlayer_200_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_FH", [
664 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
667 _cellsnum_perthick_perlayer_200_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_BH", [
668 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
671 _cellsnum_perthick_perlayer_300_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_EE", [
672 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
675 _cellsnum_perthick_perlayer_300_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_FH", [
676 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
678 _cellsnum_perthick_perlayer_300_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_BH", [
679 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
683 _cellsnum_perthick_perlayer_scint_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_EE", [
684 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
687 _cellsnum_perthick_perlayer_scint_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_FH", [
688 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
691 _cellsnum_perthick_perlayer_scint_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_BH", [
692 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
697 _common_distance = {}
698 _common_distance.update(_common)
699 _common_distance.update(_legend_common)
700 _common_distance[
"xmax"] = 150
701 _common_distance[
"stat"] =
False
702 _common_distance[
"ymin"] = 1e-3
703 _common_distance[
"ymax"] = 10000
704 _common_distance[
"ylog"] =
True
706 _distancetomaxcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_EE", [
707 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
710 _distancetomaxcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_FH", [
711 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
714 _distancetomaxcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_BH", [
715 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
719 _distancetomaxcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_EE", [
720 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
723 _distancetomaxcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_FH", [
724 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
727 _distancetomaxcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_BH", [
728 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
732 _distancetomaxcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_EE", [
733 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
736 _distancetomaxcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_FH", [
737 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
740 _distancetomaxcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_BH", [
741 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
745 _distancetomaxcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_EE", [
746 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
749 _distancetomaxcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_FH", [
750 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
753 _distancetomaxcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_BH", [
754 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
759 _distancebetseedandmaxcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_EE", [
760 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
763 _distancebetseedandmaxcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_FH", [
764 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
767 _distancebetseedandmaxcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_BH", [
768 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
772 _distancebetseedandmaxcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_EE", [
773 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
776 _distancebetseedandmaxcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_FH", [
777 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
780 _distancebetseedandmaxcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_BH", [
781 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
785 _distancebetseedandmaxcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_EE", [
786 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
789 _distancebetseedandmaxcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_FH", [
790 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
793 _distancebetseedandmaxcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_BH", [
794 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
798 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_EE", [
799 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
802 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_FH", [
803 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
806 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_BH", [
807 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
812 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE", [
813 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
816 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH", [
817 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
820 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH", [
821 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
825 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE", [
826 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
829 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH", [
830 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
833 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH", [
834 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
838 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE", [
839 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
842 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH", [
843 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
846 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH", [
847 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
851 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_EE", [
852 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
855 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_FH", [
856 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
859 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_BH", [
860 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
866 _distancetoseedcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_EE", [
867 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
870 _distancetoseedcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_FH", [
871 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
874 _distancetoseedcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_BH", [
875 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
879 _distancetoseedcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_EE", [
880 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
883 _distancetoseedcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_FH", [
884 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
887 _distancetoseedcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_BH", [
888 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
892 _distancetoseedcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_EE", [
893 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
896 _distancetoseedcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_FH", [
897 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
900 _distancetoseedcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_BH", [
901 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
905 _distancetoseedcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_EE", [
906 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
909 _distancetoseedcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_FH", [
910 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
913 _distancetoseedcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_BH", [
914 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
920 _common = {
"stat":
True,
"drawStyle":
"EP",
"staty": 0.65 }
923 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_EE", [
924 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
927 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_FH", [
928 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
931 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_BH", [
932 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
936 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_EE", [
937 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
939 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_FH", [
940 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
943 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_BH", [
944 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
948 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_EE", [
949 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
952 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_FH", [
953 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
956 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_BH", [
957 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
961 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_EE", [
962 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
965 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_FH", [
966 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
969 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_BH", [
970 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
975 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_EE", [
976 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
979 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_FH", [
980 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
983 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_BH", [
984 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
988 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_EE", [
989 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
992 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_FH", [
993 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
996 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_BH", [
997 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1001 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_EE", [
1002 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1005 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_FH", [
1006 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1009 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_BH", [
1010 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1014 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_EE", [
1015 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1018 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_FH", [
1019 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1022 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_BH", [
1023 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1026 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1032 _common_score = {
"title":
"Score CaloParticle to LayerClusters in z-",
1038 "drawStyle":
"hist",
1042 _common_score.update(_legend_common)
1043 _score_caloparticle_to_layerclusters_zminus = PlotGroup(
"score_caloparticle_to_layercluster", [
1044 Plot(
"Score_caloparticle2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_score)
for i
in range(0,maxlayerzm)
1047 _common_score = {
"title":
"Score LayerCluster to CaloParticles in z-",
1053 "drawStyle":
"hist",
1057 _common_score.update(_legend_common)
1058 _score_layercluster_to_caloparticles_zminus = PlotGroup(
"score_layercluster_to_caloparticle", [
1059 Plot(
"Score_layercl2caloparticle_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_score)
for i
in range(0,maxlayerzm)
1062 _common_shared= {
"title":
"Shared Energy CaloParticle To Layer Cluster in z-",
1066 _common_shared.update(_legend_common)
1067 _shared_plots_zminus = [Plot(
"SharedEnergy_caloparticle2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)]
1068 _shared_plots_zminus.extend([Plot(
"SharedEnergy_caloparticle2layercl_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)])
1069 _shared_plots_zminus.extend([Plot(
"SharedEnergy_caloparticle2layercl_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)])
1070 _sharedEnergy_caloparticle_to_layercluster_zminus = PlotGroup(
"sharedEnergy_caloparticle_to_layercluster", _shared_plots_zminus, ncols=8)
1072 _common_shared= {
"title":
"Shared Energy Layer Cluster To CaloParticle in z-",
1076 _common_shared.update(_legend_common)
1077 _shared_plots2_zminus = [Plot(
"SharedEnergy_layercluster2caloparticle_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)]
1078 _common_shared= {
"title":
"Shared Energy Layer Cluster To Best CaloParticle in z-",
1084 _common_shared.update(_legend_common)
1085 _shared_plots2_zminus.extend([Plot(
"SharedEnergy_layercl2caloparticle_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)])
1086 _shared_plots2_zminus.extend([Plot(
"SharedEnergy_layercl2caloparticle_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(0,maxlayerzm)])
1087 _sharedEnergy_layercluster_to_caloparticle_zminus = PlotGroup(
"sharedEnergy_layercluster_to_caloparticle", _shared_plots2_zminus, ncols=8)
1093 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1094 "xbinlabeloption":
"h",
1095 "drawStyle":
"hist",
1099 _common_assoc.update(_legend_common)
1100 _cell_association_table_zminus = PlotGroup(
"cellAssociation_table", [
1101 Plot(
"cellAssociation_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_assoc)
for i
in range(0,maxlayerzm)
1106 _xtitle =
"Layer Numbers in z-"
1107 _common_eff = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1,
"xbinlabeloption":
"d"}
1108 _effplots_zminus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1109 _effplots_zminus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1110 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1111 _common_eff[
"xmin"] = _bin_count
1112 _common_eff[
"xmax"] = maxlayerzm
1113 _bin_count += 4*maxlayerzm
1114 _effplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Efficiency", **_common_eff)]
1115 _efficiencies_zminus_eta = PlotGroup(
"Efficiencies_vs_eta", _effplots_zminus_eta, ncols=10)
1116 _efficiencies_zminus_phi = PlotGroup(
"Efficiencies_vs_phi", _effplots_zminus_phi, ncols=10)
1117 _efficiencies_zminus = PlotGroup(
"Efficiencies_vs_layer", _effplots_zminus, ncols=1)
1119 _common_dup = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1120 _dupplots_zminus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1121 _dupplots_zminus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1122 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1123 _common_dup[
"xmin"] = _bin_count
1124 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1125 _bin_count += 4*maxlayerzm
1126 _dupplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Duplicates", **_common_dup)]
1127 _duplicates_zminus_eta = PlotGroup(
"Duplicates_vs_eta", _dupplots_zminus_eta, ncols=10)
1128 _duplicates_zminus_phi = PlotGroup(
"Duplicates_vs_phi", _dupplots_zminus_phi, ncols=10)
1129 _duplicates_zminus = PlotGroup(
"Duplicates_vs_layer", _dupplots_zminus, ncols=1)
1131 _common_fake = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1132 _fakeplots_zminus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1133 _fakeplots_zminus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1134 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1135 _common_fake[
"xmin"] = _bin_count
1136 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1137 _bin_count += 4*maxlayerzm
1138 _common_fake[
"xbinlabelsize"] = 10.
1139 _fakeplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Fake Rate", **_common_fake)]
1140 _fakes_zminus_eta = PlotGroup(
"FakeRate_vs_eta", _fakeplots_zminus_eta, ncols=10)
1141 _fakes_zminus_phi = PlotGroup(
"FakeRate_vs_phi", _fakeplots_zminus_phi, ncols=10)
1142 _fakes_zminus = PlotGroup(
"FakeRate_vs_layer", _fakeplots_zminus, ncols=1)
1144 _common_merge = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1145 _mergeplots_zminus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1146 _mergeplots_zminus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1147 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1148 _common_merge[
"xmin"] = _bin_count
1149 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1150 _bin_count += 4*maxlayerzm
1151 _common_merge[
"xbinlabelsize"] = 10.
1152 _mergeplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Merge Rate", **_common_merge)]
1153 _merges_zminus_eta = PlotGroup(
"MergeRate_vs_eta", _mergeplots_zminus_eta, ncols=10)
1154 _merges_zminus_phi = PlotGroup(
"MergeRate_vs_phi", _mergeplots_zminus_phi, ncols=10)
1155 _merges_zminus = PlotGroup(
"MergeRate_vs_layer", _mergeplots_zminus, ncols=1)
1158 _common_energy_score = dict(removeEmptyBins=
False, xbinlabelsize=10,
1160 xbinlabeloption=
"d",
1166 _energyscore_cp2lc_zminus = PlotGroup(
"Energy_vs_Score_CP2LC", [Plot(
"Energy_vs_Score_caloparticle2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_CP2LC",
1167 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1170 _energyscore_cp2lc_zplus = PlotGroup(
"Energy_vs_Score_CP2LC", [Plot(
"Energy_vs_Score_caloparticle2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_CP2LC",
1171 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1173 _common_energy_score[
"xmin"]=-0.1
1174 _energyscore_lc2cp_zminus = PlotGroup(
"Energy_vs_Score_LC2CP", [Plot(
"Energy_vs_Score_layer2caloparticle_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2CP",
1175 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1177 _energyscore_lc2cp_zplus = PlotGroup(
"Energy_vs_Score_LC2CP", [Plot(
"Energy_vs_Score_layer2caloparticle_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2CP",
1178 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1184 _common_score = {
"title":
"Score CaloParticle to LayerClusters in z+",
1190 "drawStyle":
"hist",
1194 _common_score.update(_legend_common)
1195 _score_caloparticle_to_layerclusters_zplus = PlotGroup(
"score_caloparticle_to_layercluster", [
1196 Plot(
"Score_caloparticle2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_score)
for i
in range(maxlayerzm,maxlayerzp)
1199 _common_score = {
"title":
"Score LayerCluster to CaloParticles in z+",
1205 "drawStyle":
"hist",
1209 _common_score.update(_legend_common)
1210 _score_layercluster_to_caloparticles_zplus = PlotGroup(
"score_layercluster_to_caloparticle", [
1211 Plot(
"Score_layercl2caloparticle_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_score)
for i
in range(maxlayerzm,maxlayerzp)
1214 _common_shared= {
"title":
"Shared Energy CaloParticle To Layer Cluster in z+",
1218 _common_shared.update(_legend_common)
1219 _shared_plots_zplus = [Plot(
"SharedEnergy_caloparticle2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)]
1220 _shared_plots_zplus.extend([Plot(
"SharedEnergy_caloparticle2layercl_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1221 _shared_plots_zplus.extend([Plot(
"SharedEnergy_caloparticle2layercl_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1222 _sharedEnergy_caloparticle_to_layercluster_zplus = PlotGroup(
"sharedEnergy_caloparticle_to_layercluster", _shared_plots_zplus, ncols=8)
1224 _common_shared= {
"title":
"Shared Energy Layer Cluster To CaloParticle in z+",
1228 _common_shared.update(_legend_common)
1229 _shared_plots2_zplus = [Plot(
"SharedEnergy_layercluster2caloparticle_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)]
1230 _common_shared= {
"title":
"Shared Energy Layer Cluster To Best CaloParticle in z+",
1236 _common_shared.update(_legend_common)
1237 _shared_plots2_zplus.extend([Plot(
"SharedEnergy_layercl2caloparticle_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1238 _shared_plots2_zplus.extend([Plot(
"SharedEnergy_layercl2caloparticle_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1239 _sharedEnergy_layercluster_to_caloparticle_zplus = PlotGroup(
"sharedEnergy_layercluster_to_caloparticle", _shared_plots2_zplus, ncols=8)
1245 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1246 "xbinlabeloption":
"h",
1247 "drawStyle":
"hist",
1251 _common_assoc.update(_legend_common)
1252 _cell_association_table_zplus = PlotGroup(
"cellAssociation_table", [
1253 Plot(
"cellAssociation_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_assoc)
for i
in range(maxlayerzm,maxlayerzp)
1258 _xtitle =
"Layer Numbers in z+"
1259 _common_eff = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1260 _effplots_zplus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1261 _effplots_zplus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1262 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1263 _common_eff[
"xmin"] = _bin_count
1264 _common_eff[
"xmax"] = _common_eff[
"xmin"] + maxlayerzm
1265 _bin_count += 4*maxlayerzm
1266 _effplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Efficiency", **_common_eff)]
1267 _efficiencies_zplus_eta = PlotGroup(
"Efficiencies_vs_eta", _effplots_zplus_eta, ncols=10)
1268 _efficiencies_zplus_phi = PlotGroup(
"Efficiencies_vs_phi", _effplots_zplus_phi, ncols=10)
1269 _efficiencies_zplus = PlotGroup(
"Efficiencies_vs_layer", _effplots_zplus, ncols=1)
1271 _common_dup = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1272 _dupplots_zplus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1273 _dupplots_zplus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1274 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1275 _common_dup[
"xmin"] = _bin_count
1276 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1277 _bin_count += 4*maxlayerzm
1278 _dupplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Duplicates", **_common_dup)]
1279 _duplicates_zplus_eta = PlotGroup(
"Duplicates_vs_eta", _dupplots_zplus_eta, ncols=10)
1280 _duplicates_zplus_phi = PlotGroup(
"Duplicates_vs_phi", _dupplots_zplus_phi, ncols=10)
1281 _duplicates_zplus = PlotGroup(
"Duplicates_vs_layer", _dupplots_zplus, ncols=1)
1283 _common_fake = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1284 _fakeplots_zplus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1285 _fakeplots_zplus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1286 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1287 _common_fake[
"xmin"] = _bin_count
1288 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1289 _bin_count += 4*maxlayerzm
1290 _fakeplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Fake Rate", **_common_fake)]
1291 _fakes_zplus_eta = PlotGroup(
"FakeRate_vs_eta", _fakeplots_zplus_eta, ncols=10)
1292 _fakes_zplus_phi = PlotGroup(
"FakeRate_vs_phi", _fakeplots_zplus_phi, ncols=10)
1293 _fakes_zplus = PlotGroup(
"FakeRate_vs_layer", _fakeplots_zplus, ncols=1)
1295 _common_merge = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1296 _mergeplots_zplus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1297 _mergeplots_zplus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1298 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1299 _common_merge[
"xmin"] = _bin_count
1300 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1301 _bin_count += 4*maxlayerzm
1302 _mergeplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Merge Rate", **_common_merge)]
1303 _merges_zplus_eta = PlotGroup(
"MergeRate_vs_eta", _mergeplots_zplus_eta, ncols=10)
1304 _merges_zplus_phi = PlotGroup(
"MergeRate_vs_phi", _mergeplots_zplus_phi, ncols=10)
1305 _merges_zplus = PlotGroup(
"MergeRate_vs_layer", _mergeplots_zplus, ncols=1)
1311 _common_sc_score = {
"title":
"Score SimCluster to LayerClusters in z-",
1317 "drawStyle":
"hist",
1321 _common_sc_score.update(_legend_common)
1322 _score_simcluster_to_layerclusters_zminus = PlotGroup(
"score_simcluster_to_layercluster_zminus", [
1323 Plot(
"Score_simcluster2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_score)
for i
in range(0,maxlayerzm)
1326 _common_sc_score = {
"title":
"Score LayerCluster to SimClusters in z-",
1332 "drawStyle":
"hist",
1336 _common_sc_score.update(_legend_common)
1337 _score_layercluster_to_simclusters_zminus = PlotGroup(
"score_layercluster_to_simcluster_zminus", [
1338 Plot(
"Score_layercl2simcluster_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_score)
for i
in range(0,maxlayerzm)
1341 _common_sc_shared= {
"title":
"Shared Energy SimCluster To Layer Cluster in z-",
1345 _common_sc_shared.update(_legend_common)
1346 _shared_sc_plots_zminus = [Plot(
"SharedEnergy_simcluster2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)]
1347 _shared_sc_plots_zminus.extend([Plot(
"SharedEnergy_simcluster2layercl_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)])
1348 _shared_sc_plots_zminus.extend([Plot(
"SharedEnergy_simcluster2layercl_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)])
1349 _sharedEnergy_simcluster_to_layercluster_zminus = PlotGroup(
"sharedEnergy_simcluster_to_layercluster_zminus", _shared_sc_plots_zminus, ncols=8)
1351 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To SimCluster in z-",
1355 _common_sc_shared.update(_legend_common)
1356 _shared_plots2_sc_zminus = [Plot(
"SharedEnergy_layercluster2simcluster_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)]
1357 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To Best SimCluster in z-",
1363 _common_sc_shared.update(_legend_common)
1364 _shared_plots2_sc_zminus.extend([Plot(
"SharedEnergy_layercl2simcluster_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)])
1365 _shared_plots2_sc_zminus.extend([Plot(
"SharedEnergy_layercl2simcluster_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(0,maxlayerzm)])
1366 _sharedEnergy_layercluster_to_simcluster_zminus = PlotGroup(
"sharedEnergy_layercluster_to_simcluster_zminus", _shared_plots2_sc_zminus, ncols=8)
1369 _xbinlabels = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1370 _common_eff = {
"stat":
False,
"legend":
False}
1371 _effplots_sc_zminus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1372 _effplots_sc_zminus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1373 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1374 _common_eff[
"xmin"] = _bin_count
1375 _common_eff[
"xmax"] = maxlayerzm
1376 _bin_count += 4*maxlayerzm
1377 _effplots_sc_zminus = [Plot(
"globalEfficiencies_zminus", xtitle=
"Global Efficiencies in z-", **_common_eff)]
1378 _efficiencies_sc_zminus_eta = PlotGroup(
"Efficiencies_vs_eta_zminus", _effplots_sc_zminus_eta, ncols=10)
1379 _efficiencies_sc_zminus_phi = PlotGroup(
"Efficiencies_vs_phi_zminus", _effplots_sc_zminus_phi, ncols=10)
1380 _efficiencies_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _effplots_sc_zminus, ncols=4)
1382 _common_dup = {
"stat":
False,
"legend":
False}
1383 _dupplots_sc_zminus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1384 _dupplots_sc_zminus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1385 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1386 _common_dup[
"xmin"] = _bin_count
1387 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1388 _bin_count += 4*maxlayerzm
1389 _dupplots_sc_zminus = [Plot(
"globalDublicates_zminus", xtitle=
"Global Duplicates in z-", **_common_dup)]
1390 _duplicates_sc_zminus_eta = PlotGroup(
"Duplicates_vs_eta_zminus", _dupplots_sc_zminus_eta, ncols=10)
1391 _duplicates_sc_zminus_phi = PlotGroup(
"Duplicates_vs_phi_zminus", _dupplots_sc_zminus_phi, ncols=10)
1392 _duplicates_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _dupplots_sc_zminus, ncols=4)
1394 _common_fake = {
"stat":
False,
"legend":
False}
1395 _fakeplots_sc_zminus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1396 _fakeplots_sc_zminus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1397 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1398 _common_fake[
"xmin"] = _bin_count
1399 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1400 _bin_count += 4*maxlayerzm
1401 _common_fake[
"xbinlabels"] = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1402 _common_fake[
"xbinlabelsize"] = 10.
1403 _fakeplots_sc_zminus = [Plot(
"globalFakes_zminus", xtitle=
"Global Fake Rate in z-", **_common_fake)]
1404 _fakes_sc_zminus_eta = PlotGroup(
"FakeRate_vs_eta_zminus", _fakeplots_sc_zminus_eta, ncols=10)
1405 _fakes_sc_zminus_phi = PlotGroup(
"FakeRate_vs_phi_zminus", _fakeplots_sc_zminus_phi, ncols=10)
1406 _fakes_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _fakeplots_sc_zminus, ncols=4)
1408 _common_merge = {
"stat":
False,
"legend":
False}
1409 _mergeplots_sc_zminus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1410 _mergeplots_sc_zminus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1411 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1412 _common_merge[
"xmin"] = _bin_count
1413 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1414 _bin_count += 4*maxlayerzm
1415 _common_merge[
"xbinlabels"] = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1416 _common_merge[
"xbinlabelsize"] = 10.
1417 _mergeplots_sc_zminus = [Plot(
"globalMergeRate_zminus", xtitle=
"Global merge Rate in z-", **_common_merge)]
1418 _merges_sc_zminus_eta = PlotGroup(
"MergeRate_vs_eta_zminus", _mergeplots_sc_zminus_eta, ncols=10)
1419 _merges_sc_zminus_phi = PlotGroup(
"MergeRate_vs_phi_zminus", _mergeplots_sc_zminus_phi, ncols=10)
1420 _merges_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _mergeplots_sc_zminus, ncols=4)
1422 _common_energy_score = dict(removeEmptyBins=
False, xbinlabelsize=10,
1424 xbinlabeloption=
"d",
1432 _energyscore_sc2lc_zminus = PlotGroup(
"Energy_vs_Score_SC2LC_zminus", [Plot(
"Energy_vs_Score_simcluster2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_SC2LC",
1433 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1436 _energyscore_sc2lc_zplus = PlotGroup(
"Energy_vs_Score_SC2LC_zplus", [Plot(
"Energy_vs_Score_simcluster2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_SC2LC",
1437 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1440 _common_energy_score[
"xlog"]=
False
1441 _common_energy_score[
"ylog"]=
False
1442 _common_energy_score[
"xmin"]=-0.1
1443 _energyscore_lc2sc_zminus = PlotGroup(
"Energy_vs_Score_LC2SC_zminus", [Plot(
"Energy_vs_Score_layer2simcluster_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2SC",
1444 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1446 _energyscore_lc2sc_zplus = PlotGroup(
"Energy_vs_Score_LC2SC_zplus", [Plot(
"Energy_vs_Score_layer2simcluster_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2SC",
1447 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1453 _common_sc_score = {
"title":
"Score SimCluster to LayerClusters in z+",
1459 "drawStyle":
"hist",
1463 _common_sc_score.update(_legend_common)
1464 _score_simcluster_to_layerclusters_zplus = PlotGroup(
"score_simcluster_to_layercluster_zplus", [
1465 Plot(
"Score_simcluster2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_score)
for i
in range(maxlayerzm,maxlayerzp)
1468 _common_sc_score = {
"title":
"Score LayerCluster to SimClusters in z+",
1474 "drawStyle":
"hist",
1478 _common_sc_score.update(_legend_common)
1479 _score_layercluster_to_simclusters_zplus = PlotGroup(
"score_layercluster_to_simcluster_zplus", [
1480 Plot(
"Score_layercl2simcluster_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_score)
for i
in range(maxlayerzm,maxlayerzp)
1483 _common_sc_shared= {
"title":
"Shared Energy SimCluster To Layer Cluster in z+",
1487 _common_sc_shared.update(_legend_common)
1488 _shared_sc_plots_zplus = [Plot(
"SharedEnergy_simcluster2layercl_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)]
1489 _shared_sc_plots_zplus.extend([Plot(
"SharedEnergy_simcluster2layercl_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1490 _shared_sc_plots_zplus.extend([Plot(
"SharedEnergy_simcluster2layercl_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1491 _sharedEnergy_simcluster_to_layercluster_zplus = PlotGroup(
"sharedEnergy_simcluster_to_layercluster_zplus", _shared_sc_plots_zplus, ncols=8)
1493 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To SimCluster in z+",
1497 _common_sc_shared.update(_legend_common)
1498 _shared_plots2_sc_zplus = [Plot(
"SharedEnergy_layercluster2simcluster_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)]
1499 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To Best SimCluster in z+",
1505 _common_sc_shared.update(_legend_common)
1506 _shared_plots2_sc_zplus.extend([Plot(
"SharedEnergy_layercl2simcluster_vs_eta_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1507 _shared_plots2_sc_zplus.extend([Plot(
"SharedEnergy_layercl2simcluster_vs_phi_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_sc_shared)
for i
in range(maxlayerzm,maxlayerzp)])
1508 _sharedEnergy_layercluster_to_simcluster_zplus = PlotGroup(
"sharedEnergy_layercluster_to_simcluster_zplus", _shared_plots2_sc_zplus, ncols=8)
1512 _common_eff = {
"stat":
False,
"legend":
False}
1513 _effplots_sc_zplus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1514 _effplots_sc_zplus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1515 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1516 _common_eff[
"xmin"] = _bin_count
1517 _common_eff[
"xmax"] = _common_eff[
"xmin"] + maxlayerzm
1518 _bin_count += 4*maxlayerzm
1519 _effplots_sc_zplus = [Plot(
"globalEfficiencies_zplus", xtitle=
"Global Efficiencies in z+", **_common_eff)]
1520 _efficiencies_sc_zplus_eta = PlotGroup(
"Efficiencies_vs_eta_zplus", _effplots_sc_zplus_eta, ncols=10)
1521 _efficiencies_sc_zplus_phi = PlotGroup(
"Efficiencies_vs_phi_zplus", _effplots_sc_zplus_phi, ncols=10)
1522 _efficiencies_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _effplots_sc_zplus, ncols=4)
1524 _common_dup = {
"stat":
False,
"legend":
False}
1525 _dupplots_sc_zplus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1526 _dupplots_sc_zplus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1527 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1528 _common_dup[
"xmin"] = _bin_count
1529 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1530 _bin_count += 4*maxlayerzm
1531 _dupplots_sc_zplus = [Plot(
"globalDuplicates_zplus", xtitle=
"Global Duplicates in z+", **_common_dup)]
1532 _duplicates_sc_zplus_eta = PlotGroup(
"Duplicates_vs_eta_zplus", _dupplots_sc_zplus_eta, ncols=10)
1533 _duplicates_sc_zplus_phi = PlotGroup(
"Duplicates_vs_phi_zplus", _dupplots_sc_zplus_phi, ncols=10)
1534 _duplicates_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _dupplots_sc_zplus, ncols=4)
1536 _common_fake = {
"stat":
False,
"legend":
False}
1537 _fakeplots_sc_zplus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1538 _fakeplots_sc_zplus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1539 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1540 _common_fake[
"xmin"] = _bin_count
1541 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1542 _bin_count += 4*maxlayerzm
1543 _fakeplots_sc_zplus = [Plot(
"globalFakeRate_zplus", xtitle=
"Global Fake Rate in z+", **_common_fake)]
1544 _fakes_sc_zplus_eta = PlotGroup(
"FakeRate_vs_eta_zplus", _fakeplots_sc_zplus_eta, ncols=10)
1545 _fakes_sc_zplus_phi = PlotGroup(
"FakeRate_vs_phi_zplus", _fakeplots_sc_zplus_phi, ncols=10)
1546 _fakes_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _fakeplots_sc_zplus, ncols=4)
1548 _common_merge = {
"stat":
False,
"legend":
False}
1549 _mergeplots_sc_zplus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1550 _mergeplots_sc_zplus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1551 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1552 _common_merge[
"xmin"] = _bin_count
1553 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1554 _bin_count += 4*maxlayerzm
1555 _mergeplots_sc_zplus = [Plot(
"globalMergeRate_zplus", xtitle=
"Global merge Rate in z+", **_common_merge)]
1556 _merges_sc_zplus_eta = PlotGroup(
"MergeRate_vs_eta_zplus", _mergeplots_sc_zplus_eta, ncols=10)
1557 _merges_sc_zplus_phi = PlotGroup(
"MergeRate_vs_phi_zplus", _mergeplots_sc_zplus_phi, ncols=10)
1558 _merges_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _mergeplots_sc_zplus, ncols=4)
1561 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1566 _common_score = {
"stat":
False,
"legend":
False
1571 ,
"drawStyle":
"hist"
1575 ,
"xtitle":
"Default"
1577 _common_score.update(_legend_common)
1579 score_to_trackster = [
"",
"Pur",
"Dupl"]
1580 _score_caloparticle_to_tracksters = PlotGroup(
"ScoreCaloParticlesToTracksters", [], ncols=len(score_to_trackster))
1581 _score_simtrackster_to_tracksters = PlotGroup(
"ScoreSimTrackstersToTracksters", [], ncols=len(score_to_trackster))
1582 for score
in score_to_trackster:
1583 _score_caloparticle_to_tracksters.append(Plot(
"Score"+score+
"_caloparticle2trackster", **_common_score))
1584 _score_simtrackster_to_tracksters.append(Plot(
"Score"+score+
"_simtrackster2trackster", **_common_score))
1586 score_trackster_to = [
"",
"Fake",
"Merge"]
1587 _score_trackster_to_caloparticles = PlotGroup(
"ScoreTrackstersToCaloParticles", [], ncols=len(score_trackster_to))
1588 _score_trackster_to_simtracksters = PlotGroup(
"ScoreTrackstersToSimTracksters", [], ncols=len(score_trackster_to))
1589 for score
in score_trackster_to:
1590 _score_trackster_to_caloparticles.append(Plot(
"Score"+score+
"_trackster2caloparticle", **_common_score))
1591 _score_trackster_to_simtracksters.append(Plot(
"Score"+score+
"_trackster2simtrackster", **_common_score))
1594 _common_shared = {
"stat":
False,
"legend":
False,
"xtitle":
'Default',
"ytitle":
'Default'}
1595 _common_shared.update(_legend_common)
1596 _common_energy_score = dict(removeEmptyBins=
True, xbinlabelsize=10, xbinlabeloption=
"d", drawStyle=
"COLZ", adjustMarginRight=0.1, legend=
False, xtitle=
'Default', ytitle=
'Default')
1600 _sharedEnergy_to_trackster = []
1601 _sharedEnergy_trackster_to = []
1602 versions = [
"",
"_assoc",
"_assoc_vs_eta",
"_assoc_vs_phi"]
1604 _energyscore_to_trackster = []
1605 _energyscore_trackster_to = []
1606 en_vs_score = [
"",
"best",
"secBest"]
1608 _sharedEnergy_to_trackster.append(PlotGroup(
"SharedEnergy_"+val+
"ToTrackster", [], ncols=2))
1609 _sharedEnergy_trackster_to.append(PlotGroup(
"SharedEnergy_TracksterTo"+val, [], ncols=2))
1610 for ver
in versions:
1611 _sharedEnergy_to_trackster[-1].
append(Plot(
"SharedEnergy_"+val.lower()+
"2trackster"+ver, **_common_shared))
1612 _sharedEnergy_trackster_to[-1].
append(Plot(
"SharedEnergy_trackster2"+val.lower()+ver, **_common_shared))
1614 _energyscore_to_trackster.append(PlotGroup(
"Energy_vs_Score_"+val+
"ToTracksters", [], ncols=len(en_vs_score)))
1615 _energyscore_trackster_to.append(PlotGroup(
"Energy_vs_Score_TrackstersTo"+val, [], ncols=len(en_vs_score)))
1616 for ver
in en_vs_score:
1617 _energyscore_to_trackster[-1].
append(Plot(
"Energy_vs_Score_"+val.lower()+
"2"+ver+
"Trackster", **_common_energy_score))
1618 _energyscore_trackster_to[-1].
append(Plot(
"Energy_vs_Score_trackster2"+ver+val, **_common_energy_score))
1623 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1624 "xbinlabeloption":
"h",
1625 "drawStyle":
"hist",
1629 _common_assoc.update(_legend_common)
1630 _cell_association_table = PlotGroup(
"cellAssociation_table", [
1631 Plot(
"cellAssociation_perlayer{:02d}".
format(i), xtitle=
"Layer {:02d} in z-".
format(i%maxlayerzm+1)
if (i<maxlayerzm)
else "Layer {:02d} in z+".
format(i%maxlayerzm+1), **_common_assoc)
for i
in range(0,maxlayerzm)
1635 _common_metric = {
"stat":
False,
"legend":
False,
"xbinlabelsize": 14,
"xbinlabeloption":
"d",
"ymin": 0.0,
"ymax": 1.1}
1636 _common_metric_logx = _common_metric.copy()
1637 _common_metric_logx[
"xlog"] =
True
1645 _effplots = [Plot(
"globalEfficiencies", xtitle=
"", **_common_metric)]
1646 _purityplots = [Plot(
"globalEfficiencies", xtitle=
"", **_common_metric)]
1647 _dupplots = [Plot(
"globalEfficiencies", xtitle=
"", **_common_metric)]
1648 _fakeplots = [Plot(
"globalEfficiencies", xtitle=
"", **_common_metric)]
1649 _mergeplots = [Plot(
"globalEfficiencies", xtitle=
"", **_common_metric)]
1652 kwargs = _common_metric_logx
if v
in [
"energy",
"pt"]
else _common_metric
1653 _effplots.extend([Plot(
"effic_"+v+simDict[val], xtitle = variables[v][0]+variables[v][1], **kwargs)])
1654 _purityplots.extend([Plot(
"purity_"+v+simDict[val], xtitle = variables[v][0]+variables[v][1], **kwargs)])
1655 _dupplots.extend([Plot(
"duplicate_"+v+simDict[val], xtitle = variables[v][0]+variables[v][1], **kwargs)])
1656 _fakeplots.extend([Plot(
"fake_"+v+simDict[val], xtitle = variables[v][0]+variables[v][1], **kwargs)])
1657 _mergeplots.extend([Plot(
"merge_"+v+simDict[val], xtitle = variables[v][0]+variables[v][1], **kwargs)])
1659 _efficiencies.append(PlotGroup(
"Efficiencies"+simDict[val], _effplots, ncols=3))
1660 _purities.append(PlotGroup(
"Purities"+simDict[val], _purityplots, ncols=3))
1661 _duplicates.append(PlotGroup(
"Duplicates"+simDict[val], _dupplots, ncols=3))
1662 _fakes.append(PlotGroup(
"FakeRate"+simDict[val], _fakeplots, ncols=3))
1663 _merges.append(PlotGroup(
"MergeRate"+simDict[val], _mergeplots, ncols=3))
1667 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"xtitle":
"Default"}
1669 _tottracksternum = PlotGroup(
"TotalNumberofTracksters", [
1670 Plot(
"tottracksternum", **_common)
1673 _trackster_layernum_plots = [Plot(
"trackster_firstlayer", **_common)]
1674 _trackster_layernum_plots.extend([Plot(
"trackster_lastlayer", **_common)])
1675 _trackster_layernum_plots.extend([Plot(
"trackster_layersnum", **_common)])
1676 _trackster_layernum = PlotGroup(
"LayerNumbersOfTrackster", _trackster_layernum_plots, ncols=3)
1678 _common[
"xmax"] = 50
1679 _clusternum_in_trackster = PlotGroup(
"NumberofLayerClustersinTrackster",[
1680 Plot(
"clusternum_in_trackster", **_common)
1683 _common = {
"stat":
True,
"drawStyle":
"pcolz",
"staty": 0.65,
"xtitle":
"Default",
"ytitle":
"Default"}
1685 _clusternum_in_trackster_vs_layer = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer",[
1686 Plot(
"clusternum_in_trackster_vs_layer", **_common)
1689 _common[
"scale"] = 100.
1691 _multiplicity_numberOfEventsHistogram = hgcVal_dqm +
"ticlTrackstersMerge/multiplicity_numberOfEventsHistogram"
1692 _multiplicity_zminus_numberOfEventsHistogram = hgcVal_dqm +
"ticlTrackstersMerge/multiplicity_zminus_numberOfEventsHistogram"
1693 _multiplicity_zplus_numberOfEventsHistogram = hgcVal_dqm +
"ticlTrackstersMerge/multiplicity_zplus_numberOfEventsHistogram"
1695 _multiplicityOfLCinTST_plots = [Plot(
"multiplicityOfLCinTST",
1696 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)]
1697 _multiplicityOfLCinTST_plots.extend([Plot(
"multiplicityOfLCinTST_vs_layerclusterenergy",
1698 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1699 _multiplicityOfLCinTST_plots.extend([Plot(
"multiplicityOfLCinTST_vs_layercluster_zplus",
1700 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1701 _multiplicityOfLCinTST_plots.extend([Plot(
"multiplicityOfLCinTST_vs_layercluster_zminus",
1702 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1703 _multiplicityOfLCinTST = PlotGroup(
"MultiplicityofLCinTST", _multiplicityOfLCinTST_plots, ncols=2)
1705 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1709 _clusternum_in_trackster_perlayer_zminus_EE = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zminus_EE", [
1710 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
1713 _clusternum_in_trackster_perlayer_zminus_FH = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zminus_FH", [
1714 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
1717 _clusternum_in_trackster_perlayer_zminus_BH = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zminus_BH", [
1718 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
1724 _clusternum_in_trackster_perlayer_zplus_EE = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zplus_EE", [
1725 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1728 _clusternum_in_trackster_perlayer_zplus_FH = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zplus_FH", [
1729 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1732 _clusternum_in_trackster_perlayer_zplus_BH = PlotGroup(
"NumberofLayerClustersinTracksterPerLayer_zplus_BH", [
1733 Plot(
"clusternum_in_trackster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1737 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"xtitle":
"Default"}
1740 _trackster_eppe_plots = [Plot(
"trackster_eta", **_common)]
1741 _trackster_eppe_plots.extend([Plot(
"trackster_phi", **_common)])
1742 _trackster_eppe_plots.extend([Plot(
"trackster_pt", **_common)])
1743 _trackster_eppe_plots.extend([Plot(
"trackster_energy", **_common)])
1744 _trackster_eppe = PlotGroup(
"EtaPhiPtEnergy", _trackster_eppe_plots, ncols=2)
1746 _trackster_xyz_plots = [Plot(
"trackster_x", **_common)]
1747 _trackster_xyz_plots.extend([Plot(
"trackster_y", **_common)])
1748 _trackster_xyz_plots.extend([Plot(
"trackster_z", **_common)])
1749 _trackster_xyz = PlotGroup(
"XYZ", _trackster_xyz_plots, ncols=3)
1755 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1757 _HitValidation = PlotGroup(
"HitValidation", [
1758 Plot(
"heeEnSim", title=
"SimHits_EE_Energy", **_common),
1759 Plot(
"hebEnSim", title=
"SimHits_HE_Silicon_Energy", **_common),
1760 Plot(
"hefEnSim", title=
"SimHits_HE_Scintillator_Energy", **_common),
1763 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1765 _Occupancy_EE_zplus = PlotGroup(
"Occupancy_EE_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_EE_zplus",
1766 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1769 _Occupancy_HE_Silicon_zplus = PlotGroup(
"Occupancy_HE_Silicon_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_HE_zplus",
1770 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1773 _Occupancy_HE_Scintillator_zplus = PlotGroup(
"Occupancy_HE_Scintillator_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Scintillator_zplus",
1774 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1777 _Occupancy_EE_zminus = PlotGroup(
"Occupancy_EE_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_EE_zminus",
1778 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1781 _Occupancy_HE_Silicon_zminus = PlotGroup(
"Occupancy_HE_Silicon_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Silicon_zminus",
1782 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1785 _Occupancy_HE_Scintillator_zminus = PlotGroup(
"Occupancy_HE_Scintillator_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Scintillator_zminus",
1786 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1789 _common_etaphi = dict(removeEmptyBins=
False, xbinlabelsize=10, xbinlabeloption=
"d", ymin=
None)
1791 _EtaPhi_EE_zplus = PlotGroup(
"EtaPhi_EE_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_EE_zplus",
1792 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(EE_min,EE_max+1)
1795 _EtaPhi_HE_Silicon_zplus = PlotGroup(
"EtaPhi_HE_Silicon_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Silicon_zplus",
1796 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HESilicon_min,HESilicon_max+1)
1799 _EtaPhi_HE_Scintillator_zplus = PlotGroup(
"EtaPhi_HE_Scintillator_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Scintillator_zplus",
1800 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1803 _EtaPhi_EE_zminus = PlotGroup(
"EtaPhi_EE_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_EE_zminus",
1804 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(EE_min,EE_max+1)
1807 _EtaPhi_HE_Silicon_zminus = PlotGroup(
"EtaPhi_HE_Silicon_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Silicon_zminus",
1808 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HESilicon_min,HESilicon_max+1)
1811 _EtaPhi_HE_Scintillator_zminus = PlotGroup(
"EtaPhi_HE_Scintillator_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Scintillator_zminus",
1812 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1815 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1817 _Energy_EE_0 = PlotGroup(
"Energy_Time_0_EE", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_EE",
1818 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1821 _Energy_HE_Silicon_0 = PlotGroup(
"Energy_Time_0_HE_Silicon", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_HE_Silicon",
1822 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1825 _Energy_HE_Scintillator_0 = PlotGroup(
"Energy_Time_0_HE_Scintillator", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_HE_Scintillator",
1826 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1829 _Energy_EE_1 = PlotGroup(
"Energy_Time_1_EE", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_EE",
1830 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1833 _Energy_HE_Silicon_1 = PlotGroup(
"Energy_Time_1_HE_Silicon", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_HE_Silicon",
1834 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1837 _Energy_HE_Scintillator_1 = PlotGroup(
"Energy_Time_1_HE_Scintillator", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_HE_Scintillator",
1838 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1841 _Energy_EE = PlotGroup(
"Energy_EE", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_EE",
1842 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1845 _Energy_HE_Silicon = PlotGroup(
"Energy_HE_Silicon", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_HE_Silicon",
1846 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1849 _Energy_HE_Scintillator = PlotGroup(
"Energy_HE_Scintillator", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_HE_Scintillator",
1850 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1853 _DigiHits_ADC_EE = PlotGroup(
"ADC_EE", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_EE",
1854 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1857 _DigiHits_ADC_HE_Silicon = PlotGroup(
"ADC_HE_Silicon", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_HE_Silicon",
1858 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1861 _DigiHits_ADC_HE_Scintillator = PlotGroup(
"ADC_HE_Scintillator", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_HE_Scintillator",
1862 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1865 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1867 _DigiHits_Occupancy_EE_zplus = PlotGroup(
"Occupancy_EE_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_EE_zplus",
1868 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1871 _DigiHits_Occupancy_HE_Silicon_zplus = PlotGroup(
"Occupancy_HE_Silicon_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Silicon_zplus",
1872 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1875 _DigiHits_Occupancy_HE_Scintillator_zplus = PlotGroup(
"Occupancy_HE_Scintillator_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Scintillator_zplus",
1876 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1879 _DigiHits_Occupancy_EE_zminus = PlotGroup(
"Occupancy_EE_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_EE_zminus",
1880 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1883 _DigiHits_Occupancy_HE_Silicon_zminus = PlotGroup(
"Occupancy_HE_Silicon_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Silicon_zminus",
1884 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1887 _DigiHits_Occupancy_HE_Scintillator_zminus = PlotGroup(
"Occupancy_HE_Scintillator_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Scintillator_zminus",
1888 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1891 _common_XY = dict(removeEmptyBins=
True, xbinlabelsize=10, xbinlabeloption=
"d", ymin=
None)
1893 _DigiHits_Occupancy_XY_EE = PlotGroup(
"Occupancy_XY_EE", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_EE",
1894 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(EE_min,EE_max+1)
1897 _DigiHits_Occupancy_XY_HE_Silicon = PlotGroup(
"Occupancy_XY_HE_Silicon", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_HE_Silicon",
1898 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(HESilicon_min,HESilicon_max+1)
1901 _DigiHits_Occupancy_XY_HE_Scintillator = PlotGroup(
"Occupancy_XY_HE_Scintillator", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_HE_Scintillator",
1902 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1905 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1907 _DigiHits_TOA_EE = PlotGroup(
"TOA_EE", [
1908 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_EE", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1911 _DigiHits_TOA_HE_Silicon = PlotGroup(
"TOA_HE_Silicon", [
1912 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_HE_Silicon", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1915 _DigiHits_TOA_HE_Scintillator = PlotGroup(
"TOA_HE_Scintillator", [
1916 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_HE_Scintillator", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1919 _DigiHits_TOT_EE = PlotGroup(
"TOT_EE", [
1920 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_EE", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1923 _DigiHits_TOT_HE_Silicon = PlotGroup(
"TOT_HE_Silicon", [
1924 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_HE_Silicon", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1927 _DigiHits_TOT_HE_Scintillator = PlotGroup(
"TOT_HE_Scintillator", [
1928 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_HE_Scintillator", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1933 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
False}
1935 _LayerOccupancy = PlotGroup(
"LayerOccupancy", [
1936 Plot(
"LayerOccupancy", title=
"LayerOccupancy", **_common)], ncols=1)
1938 _ReconstructableEnergyOverCPenergy = PlotGroup(
"ReconstructableEnergyOverCPenergy", [
1939 Plot(
"h_EoP_CPene_100_calib_fraction", title=
"EoP_CPene_100_calib_fraction", **_common),
1940 Plot(
"h_EoP_CPene_200_calib_fraction", title=
"EoP_CPene_200_calib_fraction", **_common),
1941 Plot(
"h_EoP_CPene_300_calib_fraction", title=
"EoP_CPene_300_calib_fraction", **_common),
1942 Plot(
"h_EoP_CPene_scint_calib_fraction", title=
"EoP_CPene_scint_calib_fraction", **_common),
1945 _ParticleFlowClusterHGCalFromTrackster_Closest_EoverCPenergy = PlotGroup(
"ParticleFlowClusterHGCalFromTrackster", [
1946 Plot(
"hgcal_EoP_CPene_100_calib_fraction", title=
"hgcal_EoP_CPene_100_calib_fraction", **_common),
1947 Plot(
"hgcal_EoP_CPene_200_calib_fraction", title=
"hgcal_EoP_CPene_200_calib_fraction", **_common),
1948 Plot(
"hgcal_EoP_CPene_300_calib_fraction", title=
"hgcal_EoP_CPene_300_calib_fraction", **_common),
1949 Plot(
"hgcal_EoP_CPene_scint_calib_fraction", title=
"hgcal_EoP_CPene_scint_calib_fraction", **_common),
1952 _EcalDrivenGsfElectronsFromTrackster_Closest_EoverCPenergy = PlotGroup(
"EcalDrivenGsfElectronsFromTrackster", [
1953 Plot(
"hgcal_ele_EoP_CPene_100_calib_fraction", title=
"hgcal_ele_EoP_CPene_100_calib_fraction", **_common),
1954 Plot(
"hgcal_ele_EoP_CPene_200_calib_fraction", title=
"hgcal_ele_EoP_CPene_200_calib_fraction", **_common),
1955 Plot(
"hgcal_ele_EoP_CPene_300_calib_fraction", title=
"hgcal_ele_EoP_CPene_300_calib_fraction", **_common),
1956 Plot(
"hgcal_ele_EoP_CPene_scint_calib_fraction", title=
"hgcal_ele_EoP_CPene_scint_calib_fraction", **_common),
1959 _PhotonsFromTrackster_Closest_EoverCPenergy = PlotGroup(
"PhotonsFromTrackster", [
1960 Plot(
"hgcal_photon_EoP_CPene_100_calib_fraction", title=
"hgcal_photon_EoP_CPene_100_calib_fraction", **_common),
1961 Plot(
"hgcal_photon_EoP_CPene_200_calib_fraction", title=
"hgcal_photon_EoP_CPene_200_calib_fraction", **_common),
1962 Plot(
"hgcal_photon_EoP_CPene_300_calib_fraction", title=
"hgcal_photon_EoP_CPene_300_calib_fraction", **_common),
1963 Plot(
"hgcal_photon_EoP_CPene_scint_calib_fraction", title=
"hgcal_photon_EoP_CPene_scint_calib_fraction", **_common),
1967 hgcalLayerClustersPlotter = Plotter()
1968 layerClustersLabel =
'Layer Clusters'
1970 lc_general_clusterlevel = [
1973 _totclusternum_thick,
1978 _num_reco_cluster_eta,
1981 _longdepthbarycentre,
1987 lc_clusterlevel_zminus = [
1989 _totclusternum_layer_EE_zminus,
1990 _totclusternum_layer_FH_zminus,
1991 _totclusternum_layer_BH_zminus,
1993 _energyclustered_perlayer_EE_zminus,
1994 _energyclustered_perlayer_FH_zminus,
1995 _energyclustered_perlayer_BH_zminus
1998 lc_cellevel_zminus = [
2003 _cellsnum_perthick_perlayer_120_EE_zminus,
2004 _cellsnum_perthick_perlayer_120_FH_zminus,
2005 _cellsnum_perthick_perlayer_120_BH_zminus,
2006 _cellsnum_perthick_perlayer_200_EE_zminus,
2007 _cellsnum_perthick_perlayer_200_FH_zminus,
2008 _cellsnum_perthick_perlayer_200_BH_zminus,
2009 _cellsnum_perthick_perlayer_300_EE_zminus,
2010 _cellsnum_perthick_perlayer_300_FH_zminus,
2011 _cellsnum_perthick_perlayer_300_BH_zminus,
2012 _cellsnum_perthick_perlayer_scint_EE_zminus,
2013 _cellsnum_perthick_perlayer_scint_FH_zminus,
2014 _cellsnum_perthick_perlayer_scint_BH_zminus,
2016 _cell_association_table_zminus
2019 lc_cp_association_zminus = [
2021 _efficiencies_zminus,
2022 _efficiencies_zminus_eta,
2023 _efficiencies_zminus_phi,
2026 _duplicates_zminus_eta,
2027 _duplicates_zminus_phi,
2037 _score_caloparticle_to_layerclusters_zminus,
2039 _score_layercluster_to_caloparticles_zminus,
2041 _sharedEnergy_caloparticle_to_layercluster_zminus,
2043 _sharedEnergy_layercluster_to_caloparticle_zminus,
2045 _energyscore_cp2lc_zminus,
2047 _energyscore_lc2cp_zminus
2050 lc_zminus_extended = [
2056 _distancetomaxcell_perthickperlayer_120_EE_zminus,
2057 _distancetomaxcell_perthickperlayer_120_FH_zminus,
2058 _distancetomaxcell_perthickperlayer_120_BH_zminus,
2059 _distancetomaxcell_perthickperlayer_200_EE_zminus,
2060 _distancetomaxcell_perthickperlayer_200_FH_zminus,
2061 _distancetomaxcell_perthickperlayer_200_BH_zminus,
2062 _distancetomaxcell_perthickperlayer_300_EE_zminus,
2063 _distancetomaxcell_perthickperlayer_300_FH_zminus,
2064 _distancetomaxcell_perthickperlayer_300_BH_zminus,
2065 _distancetomaxcell_perthickperlayer_scint_EE_zminus,
2066 _distancetomaxcell_perthickperlayer_scint_FH_zminus,
2067 _distancetomaxcell_perthickperlayer_scint_BH_zminus,
2068 _distancetoseedcell_perthickperlayer_120_EE_zminus,
2069 _distancetoseedcell_perthickperlayer_120_FH_zminus,
2070 _distancetoseedcell_perthickperlayer_120_BH_zminus,
2071 _distancetoseedcell_perthickperlayer_200_EE_zminus,
2072 _distancetoseedcell_perthickperlayer_200_FH_zminus,
2073 _distancetoseedcell_perthickperlayer_200_BH_zminus,
2074 _distancetoseedcell_perthickperlayer_300_EE_zminus,
2075 _distancetoseedcell_perthickperlayer_300_FH_zminus,
2076 _distancetoseedcell_perthickperlayer_300_BH_zminus,
2077 _distancetoseedcell_perthickperlayer_scint_EE_zminus,
2078 _distancetoseedcell_perthickperlayer_scint_FH_zminus,
2079 _distancetoseedcell_perthickperlayer_scint_BH_zminus,
2080 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zminus,
2081 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zminus,
2082 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zminus,
2083 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zminus,
2084 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zminus,
2085 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zminus,
2086 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zminus,
2087 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zminus,
2088 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zminus,
2089 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zminus,
2090 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zminus,
2091 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zminus,
2092 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zminus,
2093 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zminus,
2094 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zminus,
2095 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zminus,
2096 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zminus,
2097 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zminus,
2098 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zminus,
2099 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zminus,
2100 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zminus,
2101 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zminus,
2102 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zminus,
2103 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zminus,
2104 _distancebetseedandmaxcell_perthickperlayer_120_EE_zminus,
2105 _distancebetseedandmaxcell_perthickperlayer_120_FH_zminus,
2106 _distancebetseedandmaxcell_perthickperlayer_120_BH_zminus,
2107 _distancebetseedandmaxcell_perthickperlayer_200_EE_zminus,
2108 _distancebetseedandmaxcell_perthickperlayer_200_FH_zminus,
2109 _distancebetseedandmaxcell_perthickperlayer_200_BH_zminus,
2110 _distancebetseedandmaxcell_perthickperlayer_300_EE_zminus,
2111 _distancebetseedandmaxcell_perthickperlayer_300_FH_zminus,
2112 _distancebetseedandmaxcell_perthickperlayer_300_BH_zminus,
2113 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zminus,
2114 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zminus,
2115 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zminus,
2116 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zminus,
2117 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zminus,
2118 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zminus,
2119 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zminus,
2120 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zminus,
2121 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zminus,
2122 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zminus,
2123 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zminus,
2124 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zminus,
2125 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zminus,
2126 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zminus,
2127 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zminus
2130 lc_clusterlevel_zplus = [
2132 _totclusternum_layer_EE_zplus,
2133 _totclusternum_layer_FH_zplus,
2134 _totclusternum_layer_BH_zplus,
2136 _energyclustered_perlayer_EE_zplus,
2137 _energyclustered_perlayer_FH_zplus,
2138 _energyclustered_perlayer_BH_zplus
2141 lc_cellevel_zplus = [
2143 _cellsnum_perthick_perlayer_120_EE_zplus,
2144 _cellsnum_perthick_perlayer_120_FH_zplus,
2145 _cellsnum_perthick_perlayer_120_BH_zplus,
2146 _cellsnum_perthick_perlayer_200_EE_zplus,
2147 _cellsnum_perthick_perlayer_200_FH_zplus,
2148 _cellsnum_perthick_perlayer_200_BH_zplus,
2149 _cellsnum_perthick_perlayer_300_EE_zplus,
2150 _cellsnum_perthick_perlayer_300_FH_zplus,
2151 _cellsnum_perthick_perlayer_300_BH_zplus,
2152 _cellsnum_perthick_perlayer_scint_EE_zplus,
2153 _cellsnum_perthick_perlayer_scint_FH_zplus,
2154 _cellsnum_perthick_perlayer_scint_BH_zplus,
2156 _cell_association_table_zplus
2159 lc_cp_association_zplus = [
2161 _efficiencies_zplus,
2162 _efficiencies_zplus_eta,
2163 _efficiencies_zplus_phi,
2166 _duplicates_zplus_eta,
2167 _duplicates_zplus_phi,
2177 _score_caloparticle_to_layerclusters_zplus,
2179 _score_layercluster_to_caloparticles_zplus,
2181 _sharedEnergy_caloparticle_to_layercluster_zplus,
2183 _sharedEnergy_layercluster_to_caloparticle_zplus,
2184 _energyscore_cp2lc_zplus,
2185 _energyscore_lc2cp_zplus
2188 lc_zplus_extended = [
2190 _distancetomaxcell_perthickperlayer_120_EE_zplus,
2191 _distancetomaxcell_perthickperlayer_120_FH_zplus,
2192 _distancetomaxcell_perthickperlayer_120_BH_zplus,
2193 _distancetomaxcell_perthickperlayer_200_EE_zplus,
2194 _distancetomaxcell_perthickperlayer_200_FH_zplus,
2195 _distancetomaxcell_perthickperlayer_200_BH_zplus,
2196 _distancetomaxcell_perthickperlayer_300_EE_zplus,
2197 _distancetomaxcell_perthickperlayer_300_FH_zplus,
2198 _distancetomaxcell_perthickperlayer_300_BH_zplus,
2199 _distancetomaxcell_perthickperlayer_scint_EE_zplus,
2200 _distancetomaxcell_perthickperlayer_scint_FH_zplus,
2201 _distancetomaxcell_perthickperlayer_scint_BH_zplus,
2202 _distancetoseedcell_perthickperlayer_120_EE_zplus,
2203 _distancetoseedcell_perthickperlayer_120_FH_zplus,
2204 _distancetoseedcell_perthickperlayer_120_BH_zplus,
2205 _distancetoseedcell_perthickperlayer_200_EE_zplus,
2206 _distancetoseedcell_perthickperlayer_200_FH_zplus,
2207 _distancetoseedcell_perthickperlayer_200_BH_zplus,
2208 _distancetoseedcell_perthickperlayer_300_EE_zplus,
2209 _distancetoseedcell_perthickperlayer_300_FH_zplus,
2210 _distancetoseedcell_perthickperlayer_300_BH_zplus,
2211 _distancetoseedcell_perthickperlayer_scint_EE_zplus,
2212 _distancetoseedcell_perthickperlayer_scint_FH_zplus,
2213 _distancetoseedcell_perthickperlayer_scint_BH_zplus,
2214 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zplus,
2215 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zplus,
2216 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zplus,
2217 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zplus,
2218 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zplus,
2219 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zplus,
2220 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zplus,
2221 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zplus,
2222 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zplus,
2223 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zplus,
2224 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zplus,
2225 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zplus,
2226 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zplus,
2227 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zplus,
2228 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zplus,
2229 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zplus,
2230 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zplus,
2231 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zplus,
2232 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zplus,
2233 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zplus,
2234 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zplus,
2235 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zplus,
2236 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zplus,
2237 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zplus,
2238 _distancebetseedandmaxcell_perthickperlayer_120_EE_zplus,
2239 _distancebetseedandmaxcell_perthickperlayer_120_FH_zplus,
2240 _distancebetseedandmaxcell_perthickperlayer_120_BH_zplus,
2241 _distancebetseedandmaxcell_perthickperlayer_200_EE_zplus,
2242 _distancebetseedandmaxcell_perthickperlayer_200_FH_zplus,
2243 _distancebetseedandmaxcell_perthickperlayer_200_BH_zplus,
2244 _distancebetseedandmaxcell_perthickperlayer_300_EE_zplus,
2245 _distancebetseedandmaxcell_perthickperlayer_300_FH_zplus,
2246 _distancebetseedandmaxcell_perthickperlayer_300_BH_zplus,
2247 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zplus,
2248 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zplus,
2249 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zplus,
2250 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zplus,
2251 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zplus,
2252 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zplus,
2253 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zplus,
2254 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zplus,
2255 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zplus,
2256 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zplus,
2257 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zplus,
2258 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zplus,
2259 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zplus,
2260 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zplus,
2261 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zplus
2264 def append_hgcalLayerClustersPlots(collection = hgcalValidator.label_layerClusterPlots._InputTag__moduleLabel, name_collection = layerClustersLabel, extended = False):
2265 print(
'extended : ',extended)
2266 regions_ClusterLevel = [
"General: Cluster Level",
"Z-minus: Cluster Level",
"Z-plus: Cluster Level"]
2267 regions_CellLevel = [
"Z-minus: Cell Level",
"Z-plus: Cell Level"]
2268 regions_LCtoCP_association = [
"Z-minus: LC_CP association",
"Z-plus: LC_CP association"]
2270 plots_lc_general_clusterlevel = lc_general_clusterlevel
2271 plots_lc_clusterlevel_zminus = lc_clusterlevel_zminus
2272 plots_lc_cellevel_zminus = lc_cellevel_zminus
2273 plots_lc_clusterlevel_zplus = lc_clusterlevel_zplus
2274 plots_lc_cellevel_zplus = lc_cellevel_zplus
2275 plots_lc_cp_association_zminus = lc_cp_association_zminus
2276 plots_lc_cp_association_zplus = lc_cp_association_zplus
2281 plots_lc_cellevel_zminus = lc_cellevel_zminus + lc_zminus_extended
2282 plots_lc_cellevel_zplus = lc_cellevel_zplus + lc_zplus_extended
2286 setPlots_ClusterLevel = [plots_lc_general_clusterlevel, plots_lc_clusterlevel_zminus, plots_lc_clusterlevel_zplus]
2287 setPlots_CellLevel = [plots_lc_cellevel_zminus, plots_lc_cellevel_zplus]
2288 setPlots_LCtoCP_association = [plots_lc_cp_association_zminus, plots_lc_cp_association_zplus]
2289 for reg, setPlot
in zip(regions_ClusterLevel, setPlots_ClusterLevel):
2290 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2294 loopSubFolders=
False,
2295 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2296 for reg, setPlot
in zip(regions_CellLevel, setPlots_CellLevel):
2297 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2301 loopSubFolders=
False,
2302 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2303 for reg, setPlot
in zip(regions_LCtoCP_association, setPlots_LCtoCP_association):
2304 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2308 loopSubFolders=
False,
2309 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2316 _totsimclusternum_thick,
2319 _totsimclusternum_layer_EE_zminus,
2320 _totsimclusternum_layer_FH_zminus,
2321 _totsimclusternum_layer_BH_zminus,
2323 _totsimclusternum_layer_EE_zplus,
2324 _totsimclusternum_layer_FH_zplus,
2325 _totsimclusternum_layer_BH_zplus,
2328 _mixedhitssimclusters,
2331 sc_ticltracksters = [
2334 _score_simcluster_to_layerclusters_zminus,
2336 _score_simcluster_to_layerclusters_zplus,
2339 _score_layercluster_to_simclusters_zminus,
2341 _score_layercluster_to_simclusters_zplus,
2344 _sharedEnergy_simcluster_to_layercluster_zminus,
2346 _sharedEnergy_simcluster_to_layercluster_zplus,
2349 _sharedEnergy_layercluster_to_simcluster_zminus,
2351 _sharedEnergy_layercluster_to_simcluster_zplus,
2354 _efficiencies_sc_zminus,
2355 _duplicates_sc_zminus,
2358 _efficiencies_sc_zminus_eta,
2359 _efficiencies_sc_zminus_phi,
2361 _efficiencies_sc_zplus,
2362 _duplicates_sc_zplus,
2365 _efficiencies_sc_zplus_eta,
2366 _efficiencies_sc_zplus_phi,
2369 _duplicates_sc_zminus_eta,
2370 _duplicates_sc_zminus_phi,
2372 _duplicates_sc_zplus_eta,
2373 _duplicates_sc_zplus_phi,
2376 _fakes_sc_zminus_eta,
2377 _fakes_sc_zminus_phi,
2379 _fakes_sc_zplus_eta,
2380 _fakes_sc_zplus_phi,
2383 _merges_sc_zminus_eta,
2384 _merges_sc_zminus_phi,
2386 _merges_sc_zplus_eta,
2387 _merges_sc_zplus_phi,
2390 _energyscore_sc2lc_zminus,
2392 _energyscore_sc2lc_zplus,
2395 _energyscore_lc2sc_zminus,
2397 _energyscore_lc2sc_zplus
2400 hgcalSimClustersPlotter = Plotter()
2403 if collection == hgcalValidator.label_SimClustersLevel._InputTag__moduleLabel:
2404 hgcalSimClustersPlotter.append(collection, [
2405 _hgcalFolders(hgcalValidator.label_SimClusters._InputTag__moduleLabel +
"/"+ collection)
2408 loopSubFolders=
False,
2409 purpose=PlotPurpose.Timing, page=
"SimClusters", section=name_collection))
2411 hgcalSimClustersPlotter.append(collection, [
2412 _hgcalFolders(hgcalValidator.label_SimClusters._InputTag__moduleLabel +
"/"+collection)
2415 loopSubFolders=
False,
2416 purpose=PlotPurpose.Timing, page=
"SimClusters", section=name_collection))
2421 return hgcVal_dqm + lastDirName
2423 _trackstersPlots = [
2427 _clusternum_in_trackster,
2428 _clusternum_in_trackster_vs_layer,
2429 _clusternum_in_trackster_perlayer_zminus_EE,
2430 _clusternum_in_trackster_perlayer_zminus_FH,
2431 _clusternum_in_trackster_perlayer_zminus_BH,
2432 _clusternum_in_trackster_perlayer_zplus_EE,
2433 _clusternum_in_trackster_perlayer_zplus_FH,
2434 _clusternum_in_trackster_perlayer_zplus_BH,
2435 _trackster_layernum,
2436 _multiplicityOfLCinTST,
2439 _trackstersToCPLinkPlots = [
2445 _score_caloparticle_to_tracksters,
2446 _score_trackster_to_caloparticles,
2447 _sharedEnergy_to_trackster[0],
2448 _sharedEnergy_trackster_to[0],
2449 _energyscore_to_trackster[0],
2450 _energyscore_trackster_to[0],
2453 _trackstersToSTSPRPlots = [
2459 _score_simtrackster_to_tracksters,
2460 _score_trackster_to_simtracksters,
2461 _sharedEnergy_to_trackster[1],
2462 _sharedEnergy_trackster_to[1],
2463 _energyscore_to_trackster[1],
2464 _energyscore_trackster_to[1],
2466 hgcalTrackstersPlotter = Plotter()
2469 hgcalTrackstersPlotter.append(collection, [
2470 _hgcalFolders(collection+
"/" + hgcalValidator.label_TS._InputTag__moduleLabel)
2473 loopSubFolders=
False,
2474 purpose=PlotPurpose.Timing, page=
"Tracksters", section=name_collection))
2477 hgcalTrackstersPlotter.append(collection, [
2480 *_trackstersToCPLinkPlots,
2481 loopSubFolders=
False,
2482 purpose=PlotPurpose.Timing
2484 ,page=tsToCP_linking.replace(
'TSToCP_',
'Test-TICL').
replace(
'linking',
'')
2485 ,section=name_collection)
2489 hgcalTrackstersPlotter.append(collection, [
2492 *_trackstersToSTSPRPlots,
2493 loopSubFolders=
False,
2494 purpose=PlotPurpose.Timing, page=tsToSTS_patternRec.replace(
'TSToSTS_',
'TICL-'), section=name_collection))
2517 _common_Calo = {
"stat":
False,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.0,
"ylog":
False,
"xtitle":
"Default",
"ytitle":
"Default"}
2519 hgcalCaloParticlesPlotter = Plotter()
2522 list_2D_histos = [
"Energy of Rec-matched Hits vs layer",
2523 "Energy of Rec-matched Hits vs layer (1SC)",
2524 "Rec-matched Hits Sum Energy vs layer"]
2526 dqmfolder = hgcVal_dqm +
"SelectedCaloParticles/" + collection
2527 templateFile = ROOT.TFile.Open(files[0])
2528 if not gDirectory.GetDirectory(dqmfolder):
2529 print(
"Error: GeneralInfo directory %s not found in DQM file, exit"%dqmfolder)
2530 return hgcalTrackstersPlotter
2532 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2536 name = obj.GetName()
2537 fileName = TString(name)
2538 fileName.ReplaceAll(
" ",
"_")
2539 pg = PlotGroup(fileName.Data(),[
2542 normalizeToNumberOfEvents =
True, **_common_Calo)
2546 if name
in list_2D_histos :
2547 pg = PlotOnSideGroup(plotName.Data(),
2549 drawCommand =
"COLZ",
2550 normalizeToNumberOfEvents =
True, **_common_Calo)
2554 hgcalCaloParticlesPlotter.append(
"CaloParticles_"+name_collection, [
2558 loopSubFolders=
False,
2559 purpose=PlotPurpose.Timing, page=
"CaloParticles", section=name_collection)
2562 key = keys.After(key)
2564 templateFile.Close()
2566 return hgcalCaloParticlesPlotter
2570 grouped = {
"cosAngle Beta": PlotGroup(
"cosAngle_Beta_per_layer",[],ncols=10),
"cosAngle Beta Weighted": PlotGroup(
"cosAngle_Beta_Weighted_per_layer",[],ncols=10)}
2571 groupingFlag =
" on Layer "
2573 hgcalTrackstersPlotter = Plotter()
2574 dqmfolder = hgcVal_dqm + collection
2577 _common[
"ymin"] = 0.0
2578 _common[
"staty"] = 0.85
2579 templateFile = ROOT.TFile.Open(files[0])
2580 if not gDirectory.GetDirectory(dqmfolder):
2581 print(
"Error: GeneralInfo directory %s not found in DQM file, exit"%dqmfolder)
2582 return hgcalTrackstersPlotter
2584 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2588 name = obj.GetName()
2589 plotName = TString(name)
2590 plotName.ReplaceAll(
" ",
"_")
2592 if groupingFlag
in name:
2593 for group
in grouped:
2594 if group+groupingFlag
in name:
2595 grouped[group].
append(Plot(name,
2596 xtitle=
"Default", ytitle=
"Default",
2601 if obj.InheritsFrom(
"TH2"):
2602 pg = PlotOnSideGroup(plotName.Data(),
2604 xtitle=
"Default", ytitle=
"Default",
2605 drawCommand =
"COLZ",
2608 elif obj.InheritsFrom(
"TH1"):
2609 pg = PlotGroup(plotName.Data(),
2611 xtitle=
"Default", ytitle=
"Default",
2612 drawCommand =
"COLZ",
2615 ncols=1, legendDh=-0.03 * len(files))
2617 if (pg
is not None):
2618 hgcalTrackstersPlotter.append(name_collection+
"_TICLDebugger",
2619 [dqmfolder], PlotFolder(pg,
2620 loopSubFolders=
False,
2621 purpose=PlotPurpose.Timing, page=
"Tracksters", section=name_collection)
2625 key = keys.After(key)
2627 for group
in grouped:
2628 hgcalTrackstersPlotter.append(name_collection+
"_TICLDebugger",
2629 [dqmfolder], PlotFolder(grouped[group],
2630 loopSubFolders=
False,
2631 purpose=PlotPurpose.Timing, page=
"Tracksters", section=name_collection)
2635 templateFile.Close()
2637 return hgcalTrackstersPlotter
2640 _common_Calo = {
"stat":
False,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.0,
"ylog":
False,
"xtitle":
"Default",
"ytitle":
"Default"}
2642 hgcalCaloParticlesPlotter = Plotter()
2645 dqmfolder = hgcVal_dqm +
"SelectedCaloParticles/" + collection
2648 templateFile = ROOT.TFile.Open(files[0])
2649 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2653 name = obj.GetName()
2654 plotName = TString(name)
2655 plotName.ReplaceAll(
" ",
"_")
2658 if obj.InheritsFrom(
"TH2"):
2659 pg = PlotOnSideGroup(plotName.Data(),
2661 drawCommand =
"COLZ",
2662 normalizeToNumberOfEvents =
True, **_common_Calo),
2664 elif obj.InheritsFrom(
"TH1"):
2665 pg = PlotGroup(plotName.Data(),[
2668 normalizeToNumberOfEvents =
True, **_common_Calo)
2672 if (pg
is not None):
2673 hgcalCaloParticlesPlotter.append(
"CaloParticles_"+name_collection, [
2677 loopSubFolders=
False,
2678 purpose=PlotPurpose.Timing, page=
"CaloParticles", section=name_collection)
2681 key = keys.After(key)
2683 templateFile.Close()
2685 return hgcalCaloParticlesPlotter
2690 return "DQMData/Run 1/HGCAL/Run summary/"+dirName
2692 hgcalHitPlotter = Plotter()
2694 simHitsLabel =
'Simulated Hits'
2696 hgcalHitPlotter.append(
"SimHits_Validation", [
2697 "DQMData/Run 1/HGCAL/Run summary/HGCalSimHitsV/HitValidation",
2700 loopSubFolders=
False,
2701 purpose=PlotPurpose.Timing, page=hitsLabel, section=simHitsLabel
2705 _hitsCommonPlots_EE = [
2706 _Occupancy_EE_zplus,
2707 _Occupancy_EE_zminus,
2711 _hitsCommonPlots_HE_Sil = [
2712 _Occupancy_HE_Silicon_zplus,
2713 _Occupancy_HE_Silicon_zminus,
2714 _EtaPhi_HE_Silicon_zminus,
2715 _EtaPhi_HE_Silicon_zplus
2717 _hitsCommonPlots_HE_Sci = [
2718 _Occupancy_HE_Scintillator_zplus,
2719 _Occupancy_HE_Scintillator_zminus,
2720 _EtaPhi_HE_Scintillator_zminus,
2721 _EtaPhi_HE_Scintillator_zplus
2724 regions = [
"HGCalEESensitive",
"HGCalHESiliconSensitive",
"HGCalHEScintillatorSensitive"]
2725 setPlots = [_hitsCommonPlots_EE, _hitsCommonPlots_HE_Sil, _hitsCommonPlots_HE_Sci]
2726 if "SimHits" in collection :
2727 _hitsCommonPlots_EE.append(_Energy_EE_0)
2728 _hitsCommonPlots_EE.append(_Energy_EE_1)
2729 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Silicon_0)
2730 _hitsCommonPlots_HE_Sil.append( _Energy_HE_Silicon_1)
2731 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator_0)
2732 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator_1)
2733 if "RecHits" in collection :
2734 _hitsCommonPlots_EE.append(_Energy_EE)
2735 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Silicon)
2736 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator)
2738 for reg, setPlot
in zip(regions, setPlots):
2739 dirName = collection+
"/"+reg
2741 hgcalHitPlotter.append(collection, [
2745 loopSubFolders=
False,
2746 purpose=PlotPurpose.Timing, page=hitsLabel, section=name_collection))
2748 _digisCommonPlots_EE = [
2749 _DigiHits_Occupancy_EE_zplus,
2750 _DigiHits_Occupancy_EE_zminus,
2751 _DigiHits_Occupancy_XY_EE,
2756 _digisCommonPlots_HE_Sil = [
2757 _DigiHits_Occupancy_HE_Silicon_zplus,
2758 _DigiHits_Occupancy_HE_Silicon_zminus,
2759 _DigiHits_Occupancy_XY_HE_Silicon,
2760 _DigiHits_ADC_HE_Silicon,
2761 _DigiHits_TOA_HE_Silicon,
2762 _DigiHits_TOT_HE_Silicon,
2764 _digisCommonPlots_HE_Sci = [
2765 _DigiHits_Occupancy_HE_Scintillator_zplus,
2766 _DigiHits_Occupancy_HE_Scintillator_zminus,
2767 _DigiHits_Occupancy_XY_HE_Scintillator,
2768 _DigiHits_ADC_HE_Scintillator,
2769 _DigiHits_TOA_HE_Scintillator,
2770 _DigiHits_TOT_HE_Scintillator,
2774 regions = [
"HGCalEESensitive",
"HGCalHESiliconSensitive",
"HGCalHEScintillatorSensitive"]
2775 setPlots = [_digisCommonPlots_EE, _digisCommonPlots_HE_Sil, _digisCommonPlots_HE_Sci]
2776 for reg, setPlot
in zip(regions, setPlots):
2777 dirName = collection+
"/"+reg
2779 hgcalHitPlotter.append(name_collection, [
2783 loopSubFolders=
False,
2784 purpose=PlotPurpose.Timing, page=hitsLabel, section=name_collection))
2788 hgcalHitCalibPlotter = Plotter()
2789 hitCalibrationLabel =
'Calibrated RecHits'
2791 hgcalHitCalibPlotter.append(
"Layer_Occupancy", [
2792 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2795 loopSubFolders=
False,
2796 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2798 hgcalHitCalibPlotter.append(
"ReconstructableEnergyOverCPenergy", [
2799 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2801 _ReconstructableEnergyOverCPenergy,
2802 loopSubFolders=
False,
2803 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2806 hgcalHitCalibPlotter.append(
"ParticleFlowClusterHGCalFromTrackster_Closest_EoverCPenergy", [
2807 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2809 _ParticleFlowClusterHGCalFromTrackster_Closest_EoverCPenergy,
2810 loopSubFolders=
False,
2811 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2814 hgcalHitCalibPlotter.append(
"PhotonsFromTrackster_Closest_EoverCPenergy", [
2815 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2817 _PhotonsFromTrackster_Closest_EoverCPenergy,
2818 loopSubFolders=
False,
2819 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2822 hgcalHitCalibPlotter.append(
"EcalDrivenGsfElectronsFromTrackster_Closest_EoverCPenergy", [
2823 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2825 _EcalDrivenGsfElectronsFromTrackster_Closest_EoverCPenergy,
2826 loopSubFolders=
False,
2827 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
def append_hgcalSimClustersPlots
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
def append_hgcalDigisPlots
const uint16_t range(const Frame &aFrame)
def append_hgcalCaloParticlesPlots
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def append_hgcalTrackstersPlots
def create_hgcalTrackstersPlotter
def append_hgcalHitsPlots
def append_hgcalLayerClustersPlots