1 from __future__
import print_function
9 from ROOT
import TFile, TString
10 from ROOT
import gDirectory
11 ROOT.gROOT.SetBatch(
True)
12 ROOT.PyConfig.IgnoreCommandLineOptions =
True
14 from Validation.RecoTrack.plotting.plotting
import Plot, PlotGroup, PlotFolder, Plotter, PlotOnSideGroup
15 from Validation.RecoTrack.plotting.html
import PlotPurpose
16 import Validation.RecoTrack.plotting.plotting
as plotting
17 import Validation.RecoTrack.plotting.validation
as validation
18 import Validation.RecoTrack.plotting.html
as html
28 layerscheme = { 'lastLayerEEzm': 0, 'lastLayerFHzm': 0, 'maxlayerzm': 0, 'lastLayerEEzp': 0, 'lastLayerFHzp': 0, 'maxlayerzp': 0 }
30 #Let's take the relevant values of layerscheme from the dqm file.
31 theDQMfile = "DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO.root"
32 if not os.path.isfile(theDQMfile):
33 print("Error: file", theDQMfile, "not found, exit")
37 #Take general info from the first file is sufficient.
38 thefile = TFile( theDQMfile )
39 GeneralInfoDirectory = 'DQMData/Run 1/HGCAL/Run summary/HGCalValidator/GeneralInfo'
41 if not gDirectory.GetDirectory( GeneralInfoDirectory ):
42 print("Error: GeneralInfo directory not found in DQM file, exit")
45 keys = gDirectory.GetDirectory( GeneralInfoDirectory ).GetListOfKeys()
50 for laykey in layerscheme.keys():
51 if laykey in obj.GetName():
52 layvalue = obj.GetName()[len("<"+laykey+">i="):-len("</"+laykey+">")]
53 layerscheme[laykey] = layvalue
60 #TODO: Anticipating the fine/coarse layer information in CMSSW we overwrite values from DQM file
61 #For now values returned for
62 # 'lastLayerFHzp': '104', 'lastLayerFHzm': '52'
63 #are not the one expected. Will come back to this when there will be info in CMSSW to put in DQM file.
65 #layerscheme = { 'lastLayerEEzm': 28, 'lastLayerFHzm': 40, 'maxlayerzm': 52, 'lastLayerEEzp': 80, 'lastLayerFHzp': 92, 'maxlayerzp': 104 }
68 layerscheme = {
'lastLayerEEzm': 28,
'lastLayerFHzm': 40,
'maxlayerzm': 50,
'lastLayerEEzp': 78,
'lastLayerFHzp': 90,
'maxlayerzp': 100 }
71 lastLayerEEzm = layerscheme[
'lastLayerEEzm']
72 lastLayerFHzm = layerscheme[
'lastLayerFHzm']
73 maxlayerzm = layerscheme[
'maxlayerzm']
74 lastLayerEEzp = layerscheme[
'lastLayerEEzp']
75 lastLayerFHzp = layerscheme[
'lastLayerFHzp']
76 maxlayerzp = layerscheme[
'maxlayerzp']
78 hitlayerscheme = {
'EE_min': 1,
'EE_max': 28,
'HESilicon_min': 1,
'HESilicon_max': 22,
'HEScintillator_min': 9 ,
'HEScintillator_max': 22 }
81 EE_min = hitlayerscheme[
'EE_min']
82 EE_max = hitlayerscheme[
'EE_max']
83 HESilicon_min = hitlayerscheme[
'HESilicon_min']
84 HESilicon_max = hitlayerscheme[
'HESilicon_max']
85 HEScintillator_min = hitlayerscheme[
'HEScintillator_min']
86 HEScintillator_max = hitlayerscheme[
'HEScintillator_max']
88 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
89 _legend_common = {
"legendDx": -0.3,
93 _SelectedCaloParticles = PlotGroup(
"SelectedCaloParticles", [
94 Plot(
"num_caloparticle_eta", xtitle=
"", **_common),
95 Plot(
"caloparticle_energy", xtitle=
"", **_common),
96 Plot(
"caloparticle_pt", xtitle=
"", **_common),
97 Plot(
"caloparticle_phi", xtitle=
"", **_common),
98 Plot(
"Eta vs Zorigin", xtitle=
"", **_common),
102 _common = {
"stat":
True,
"drawStyle":
"hist",
"statx": 0.38,
"staty": 0.68 }
103 _num_reco_cluster_eta = PlotGroup(
"num_reco_cluster_eta", [
104 Plot(
"num_reco_cluster_eta", xtitle=
"", **_common),
107 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
109 _mixedhitsclusters = PlotGroup(
"mixedhitsclusters", [
110 Plot(
"mixedhitscluster_zminus", xtitle=
"", **_common),
111 Plot(
"mixedhitscluster_zplus", xtitle=
"", **_common),
114 _mixedhitssimclusters = PlotGroup(
"mixedhitssimclusters", [
115 Plot(
"mixedhitssimcluster_zminus", xtitle=
"", **_common),
116 Plot(
"mixedhitssimcluster_zplus", xtitle=
"", **_common),
120 _common = {
"stat":
True,
"drawStyle":
"hist",
"statx": 0.45,
"staty": 0.65 }
122 _energyclustered = PlotGroup(
"energyclustered", [
123 Plot(
"energyclustered_zminus", xtitle=
"", **_common),
124 Plot(
"energyclustered_zplus", xtitle=
"", **_common),
128 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
130 _longdepthbarycentre = PlotGroup(
"longdepthbarycentre", [
131 Plot(
"longdepthbarycentre_zminus", xtitle=
"", **_common),
132 Plot(
"longdepthbarycentre_zplus", xtitle=
"", **_common),
135 _common_layerperthickness = {}
136 _common_layerperthickness.update(_common)
137 _common_layerperthickness[
'xmin'] = 0.
138 _common_layerperthickness[
'xmax'] = 100
140 _totclusternum_thick = PlotGroup(
"totclusternum_thick", [
141 Plot(
"totclusternum_thick_120", xtitle=
"", **_common_layerperthickness),
142 Plot(
"totclusternum_thick_200", xtitle=
"", **_common_layerperthickness),
143 Plot(
"totclusternum_thick_300", xtitle=
"", **_common_layerperthickness),
144 Plot(
"totclusternum_thick_-1", xtitle=
"", **_common_layerperthickness),
145 Plot(
"mixedhitscluster", xtitle=
"", **_common_layerperthickness),
148 _totsimclusternum_thick = PlotGroup(
"totsimclusternum_thick", [
149 Plot(
"totsimclusternum_thick_120", xtitle=
"", **_common_layerperthickness),
150 Plot(
"totsimclusternum_thick_200", xtitle=
"", **_common_layerperthickness),
151 Plot(
"totsimclusternum_thick_300", xtitle=
"", **_common_layerperthickness),
152 Plot(
"totsimclusternum_thick_-1", xtitle=
"", **_common_layerperthickness),
153 Plot(
"mixedhitssimcluster", xtitle=
"", **_common_layerperthickness),
157 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ylog":
True}
159 _cellsenedens_thick = PlotGroup(
"cellsenedens_thick", [
160 Plot(
"cellsenedens_thick_120", xtitle=
"", **_common),
161 Plot(
"cellsenedens_thick_200", xtitle=
"", **_common),
162 Plot(
"cellsenedens_thick_300", xtitle=
"", **_common),
163 Plot(
"cellsenedens_thick_-1", xtitle=
"", **_common),
167 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
173 _totclusternum_layer_EE_zminus = PlotGroup(
"totclusternum_layer_EE", [
174 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
177 _totclusternum_layer_FH_zminus = PlotGroup(
"totclusternum_layer_FH", [
178 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
181 _totclusternum_layer_BH_zminus = PlotGroup(
"totclusternum_layer_BH", [
182 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
185 _totsimclusternum_layer_EE_zminus = PlotGroup(
"totsimclusternum_layer_EE_zminus", [
186 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
189 _totsimclusternum_layer_FH_zminus = PlotGroup(
"totsimclusternum_layer_FH_zminus", [
190 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
193 _totsimclusternum_layer_BH_zminus = PlotGroup(
"totsimclusternum_layer_BH_zminus", [
194 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
197 _energyclustered_perlayer_EE_zminus = PlotGroup(
"energyclustered_perlayer_EE", [
198 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
201 _energyclustered_perlayer_FH_zminus = PlotGroup(
"energyclustered_perlayer_FH", [
202 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
205 _energyclustered_perlayer_BH_zminus = PlotGroup(
"energyclustered_perlayer_BH", [
206 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
212 _common_cells.update(_common)
213 _common_cells[
"xmin"] = 0
214 _common_cells[
"xmax"] = 50
215 _common_cells[
"ymin"] = 0.1
216 _common_cells[
"ymax"] = 10000
217 _common_cells[
"ylog"] =
True
218 _cellsnum_perthick_perlayer_120_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_EE", [
219 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
222 _cellsnum_perthick_perlayer_120_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_FH", [
223 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
226 _cellsnum_perthick_perlayer_120_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_120_BH", [
227 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
231 _cellsnum_perthick_perlayer_200_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_EE", [
232 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
235 _cellsnum_perthick_perlayer_200_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_FH", [
236 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
239 _cellsnum_perthick_perlayer_200_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_200_BH", [
240 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
244 _cellsnum_perthick_perlayer_300_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_EE", [
245 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
248 _cellsnum_perthick_perlayer_300_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_FH", [
249 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
252 _cellsnum_perthick_perlayer_300_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_300_BH", [
253 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
257 _cellsnum_perthick_perlayer_scint_EE_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_EE", [
258 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm)
261 _cellsnum_perthick_perlayer_scint_FH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_FH", [
262 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzm,lastLayerFHzm)
265 _cellsnum_perthick_perlayer_scint_BH_zminus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_BH", [
266 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzm,maxlayerzm)
271 _common_distance = {}
272 _common_distance.update(_common)
273 _common_distance.update(_legend_common)
274 _common_distance[
"xmax"] = 150
275 _common_distance[
"stat"] =
False
276 _common_distance[
"ymin"] = 1e-3
277 _common_distance[
"ymax"] = 10000
278 _common_distance[
"ylog"] =
True
280 _distancetomaxcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_EE", [
281 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
284 _distancetomaxcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_FH", [
285 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
288 _distancetomaxcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_BH", [
289 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
293 _distancetomaxcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_EE", [
294 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
297 _distancetomaxcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_FH", [
298 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
301 _distancetomaxcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_BH", [
302 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
306 _distancetomaxcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_EE", [
307 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
310 _distancetomaxcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_FH", [
311 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
314 _distancetomaxcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_BH", [
315 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
319 _distancetomaxcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_EE", [
320 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
323 _distancetomaxcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_FH", [
324 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
327 _distancetomaxcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_BH", [
328 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
333 _distancebetseedandmaxcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_EE", [
334 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
337 _distancebetseedandmaxcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_FH", [
338 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
341 _distancebetseedandmaxcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_BH", [
342 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
346 _distancebetseedandmaxcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_EE", [
347 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
350 _distancebetseedandmaxcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_FH", [
351 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
354 _distancebetseedandmaxcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_BH", [
355 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
359 _distancebetseedandmaxcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_EE", [
360 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
363 _distancebetseedandmaxcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_FH", [
364 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
367 _distancebetseedandmaxcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_BH", [
368 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
372 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_EE", [
373 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
376 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_FH", [
377 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
380 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_BH", [
381 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
386 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE", [
387 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
390 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH", [
391 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
394 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH", [
395 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
399 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE", [
400 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
403 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH", [
404 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
407 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH", [
408 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
412 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE", [
413 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
416 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH", [
417 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
420 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH", [
421 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
425 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_EE", [
426 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
429 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_FH", [
430 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
433 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_BH", [
434 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
439 _distancetoseedcell_perthickperlayer_120_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_EE", [
440 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
443 _distancetoseedcell_perthickperlayer_120_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_FH", [
444 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
447 _distancetoseedcell_perthickperlayer_120_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_BH", [
448 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
452 _distancetoseedcell_perthickperlayer_200_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_EE", [
453 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
456 _distancetoseedcell_perthickperlayer_200_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_FH", [
457 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
460 _distancetoseedcell_perthickperlayer_200_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_BH", [
461 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
465 _distancetoseedcell_perthickperlayer_300_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_EE", [
466 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
469 _distancetoseedcell_perthickperlayer_300_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_FH", [
470 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
473 _distancetoseedcell_perthickperlayer_300_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_BH", [
474 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
478 _distancetoseedcell_perthickperlayer_scint_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_EE", [
479 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
482 _distancetoseedcell_perthickperlayer_scint_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_FH", [
483 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
486 _distancetoseedcell_perthickperlayer_scint_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_BH", [
487 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
493 _common = {
"stat":
True,
"drawStyle":
"EP",
"staty": 0.65 }
495 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_EE", [
496 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
499 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_FH", [
500 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
503 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_BH", [
504 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
508 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_EE", [
509 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
512 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_FH", [
513 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
516 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_BH", [
517 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
521 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_EE", [
522 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
525 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_FH", [
526 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
529 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_BH", [
530 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
533 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_EE", [
534 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
537 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_FH", [
538 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
541 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zminus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_BH", [
542 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
548 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_EE", [
549 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
552 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_FH", [
553 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
556 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_BH", [
557 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
561 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_EE", [
562 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
565 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_FH", [
566 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
569 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_BH", [
570 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
574 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_EE", [
575 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
578 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_FH", [
579 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
582 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_BH", [
583 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
587 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_EE", [
588 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
591 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_FH", [
592 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
595 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zminus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_BH", [
596 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
600 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
605 _totclusternum_layer_EE_zplus = PlotGroup(
"totclusternum_layer_EE", [
606 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
609 _totclusternum_layer_FH_zplus = PlotGroup(
"totclusternum_layer_FH", [
610 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
613 _totclusternum_layer_BH_zplus = PlotGroup(
"totclusternum_layer_BH", [
614 Plot(
"totclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
617 _totsimclusternum_layer_EE_zplus = PlotGroup(
"totsimclusternum_layer_EE_zplus", [
618 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
621 _totsimclusternum_layer_FH_zplus = PlotGroup(
"totsimclusternum_layer_FH_zplus", [
622 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
625 _totsimclusternum_layer_BH_zplus = PlotGroup(
"totsimclusternum_layer_BH_zplus", [
626 Plot(
"totsimclusternum_layer_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
629 _energyclustered_perlayer_EE_zplus = PlotGroup(
"energyclustered_perlayer_EE", [
630 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
633 _energyclustered_perlayer_FH_zplus = PlotGroup(
"energyclustered_perlayer_FH", [
634 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
637 _energyclustered_perlayer_BH_zplus = PlotGroup(
"energyclustered_perlayer_BH", [
638 Plot(
"energyclustered_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
643 _cellsnum_perthick_perlayer_120_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_EE", [
644 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
647 _cellsnum_perthick_perlayer_120_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_FH", [
648 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
650 _cellsnum_perthick_perlayer_120_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_120_BH", [
651 Plot(
"cellsnum_perthick_perlayer_120_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
655 _cellsnum_perthick_perlayer_200_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_EE", [
656 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
659 _cellsnum_perthick_perlayer_200_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_FH", [
660 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
663 _cellsnum_perthick_perlayer_200_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_200_BH", [
664 Plot(
"cellsnum_perthick_perlayer_200_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
667 _cellsnum_perthick_perlayer_300_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_EE", [
668 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
671 _cellsnum_perthick_perlayer_300_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_FH", [
672 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
674 _cellsnum_perthick_perlayer_300_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_300_BH", [
675 Plot(
"cellsnum_perthick_perlayer_300_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
679 _cellsnum_perthick_perlayer_scint_EE_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_EE", [
680 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(maxlayerzm,lastLayerEEzp)
683 _cellsnum_perthick_perlayer_scint_FH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_FH", [
684 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerEEzp,lastLayerFHzp)
687 _cellsnum_perthick_perlayer_scint_BH_zplus = PlotGroup(
"cellsnum_perthick_perlayer_Sci_BH", [
688 Plot(
"cellsnum_perthick_perlayer_-1_{:02d}".
format(i), xtitle=
"", **_common_cells)
for i
in range(lastLayerFHzp,maxlayerzp)
693 _common_distance = {}
694 _common_distance.update(_common)
695 _common_distance.update(_legend_common)
696 _common_distance[
"xmax"] = 150
697 _common_distance[
"stat"] =
False
698 _common_distance[
"ymin"] = 1e-3
699 _common_distance[
"ymax"] = 10000
700 _common_distance[
"ylog"] =
True
702 _distancetomaxcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_EE", [
703 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
706 _distancetomaxcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_FH", [
707 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
710 _distancetomaxcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_120_BH", [
711 Plot(
"distancetomaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
715 _distancetomaxcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_EE", [
716 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
719 _distancetomaxcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_FH", [
720 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
723 _distancetomaxcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_200_BH", [
724 Plot(
"distancetomaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
728 _distancetomaxcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_EE", [
729 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
732 _distancetomaxcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_FH", [
733 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
736 _distancetomaxcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_300_BH", [
737 Plot(
"distancetomaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
741 _distancetomaxcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_EE", [
742 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
745 _distancetomaxcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_FH", [
746 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
749 _distancetomaxcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_Sci_BH", [
750 Plot(
"distancetomaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
755 _distancebetseedandmaxcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_EE", [
756 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
759 _distancebetseedandmaxcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_FH", [
760 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
763 _distancebetseedandmaxcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_120_BH", [
764 Plot(
"distancebetseedandmaxcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
768 _distancebetseedandmaxcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_EE", [
769 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
772 _distancebetseedandmaxcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_FH", [
773 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
776 _distancebetseedandmaxcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_200_BH", [
777 Plot(
"distancebetseedandmaxcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
781 _distancebetseedandmaxcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_EE", [
782 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
785 _distancebetseedandmaxcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_FH", [
786 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
789 _distancebetseedandmaxcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_300_BH", [
790 Plot(
"distancebetseedandmaxcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
794 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_EE", [
795 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
798 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_FH", [
799 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
802 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancebetseedandmaxcell_perthickperlayer_Sci_BH", [
803 Plot(
"distancebetseedandmaxcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
808 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE", [
809 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
812 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH", [
813 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
816 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH", [
817 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
821 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE", [
822 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
825 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH", [
826 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
829 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH", [
830 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
834 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE", [
835 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
838 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH", [
839 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
842 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH", [
843 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
847 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_EE", [
848 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
851 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_FH", [
852 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
855 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_Sci_BH", [
856 Plot(
"distancebetseedandmaxcellvsclusterenergy_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
862 _distancetoseedcell_perthickperlayer_120_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_EE", [
863 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
866 _distancetoseedcell_perthickperlayer_120_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_FH", [
867 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
870 _distancetoseedcell_perthickperlayer_120_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_120_BH", [
871 Plot(
"distancetoseedcell_perthickperlayer_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
875 _distancetoseedcell_perthickperlayer_200_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_EE", [
876 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
879 _distancetoseedcell_perthickperlayer_200_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_FH", [
880 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
883 _distancetoseedcell_perthickperlayer_200_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_200_BH", [
884 Plot(
"distancetoseedcell_perthickperlayer_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
888 _distancetoseedcell_perthickperlayer_300_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_EE", [
889 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
892 _distancetoseedcell_perthickperlayer_300_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_FH", [
893 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
896 _distancetoseedcell_perthickperlayer_300_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_300_BH", [
897 Plot(
"distancetoseedcell_perthickperlayer_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
901 _distancetoseedcell_perthickperlayer_scint_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_EE", [
902 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
905 _distancetoseedcell_perthickperlayer_scint_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_FH", [
906 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
909 _distancetoseedcell_perthickperlayer_scint_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_Sci_BH", [
910 Plot(
"distancetoseedcell_perthickperlayer_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
916 _common = {
"stat":
True,
"drawStyle":
"EP",
"staty": 0.65 }
919 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_EE", [
920 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
923 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_FH", [
924 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
927 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_120_BH", [
928 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
932 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_EE", [
933 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
935 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_FH", [
936 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
939 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_200_BH", [
940 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
944 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_EE", [
945 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
948 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_FH", [
949 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
952 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_300_BH", [
953 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
957 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_EE", [
958 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
961 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_FH", [
962 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
965 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zplus = PlotGroup(
"distancetomaxcell_perthickperlayer_eneweighted_Sci_BH", [
966 Plot(
"distancetomaxcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
971 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_EE", [
972 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
975 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_FH", [
976 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
979 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_120_BH", [
980 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_120_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
984 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_EE", [
985 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
988 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_FH", [
989 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
992 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_200_BH", [
993 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_200_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
997 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_EE", [
998 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1001 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_FH", [
1002 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1005 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_300_BH", [
1006 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_300_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1010 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_EE", [
1011 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1014 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_FH", [
1015 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1018 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zplus = PlotGroup(
"distancetoseedcell_perthickperlayer_eneweighted_Sci_BH", [
1019 Plot(
"distancetoseedcell_perthickperlayer_eneweighted_-1_{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1022 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1028 _common_score = {
"title":
"Score CaloParticle to LayerClusters in z-",
1034 "drawStyle":
"hist",
1038 _common_score.update(_legend_common)
1039 _score_caloparticle_to_layerclusters_zminus = PlotGroup(
"score_caloparticle_to_layercluster", [
1040 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)
1043 _common_score = {
"title":
"Score LayerCluster to CaloParticles in z-",
1049 "drawStyle":
"hist",
1053 _common_score.update(_legend_common)
1054 _score_layercluster_to_caloparticles_zminus = PlotGroup(
"score_layercluster_to_caloparticle", [
1055 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)
1058 _common_shared= {
"title":
"Shared Energy CaloParticle To Layer Cluster in z-",
1062 _common_shared.update(_legend_common)
1063 _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)]
1064 _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)])
1065 _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)])
1066 _sharedEnergy_caloparticle_to_layercluster_zminus = PlotGroup(
"sharedEnergy_caloparticle_to_layercluster", _shared_plots_zminus, ncols=8)
1068 _common_shared= {
"title":
"Shared Energy Layer Cluster To CaloParticle in z-",
1072 _common_shared.update(_legend_common)
1073 _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)]
1074 _common_shared= {
"title":
"Shared Energy Layer Cluster To Best CaloParticle in z-",
1080 _common_shared.update(_legend_common)
1081 _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)])
1082 _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)])
1083 _sharedEnergy_layercluster_to_caloparticle_zminus = PlotGroup(
"sharedEnergy_layercluster_to_caloparticle", _shared_plots2_zminus, ncols=8)
1089 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1090 "xbinlabeloption":
"h",
1091 "drawStyle":
"hist",
1095 _common_assoc.update(_legend_common)
1096 _cell_association_table_zminus = PlotGroup(
"cellAssociation_table", [
1097 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)
1102 _xtitle =
"Layer Numbers in z-"
1103 _common_eff = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1,
"xbinlabeloption":
"d"}
1104 _effplots_zminus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1105 _effplots_zminus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1106 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1107 _common_eff[
"xmin"] = _bin_count
1108 _common_eff[
"xmax"] = maxlayerzm
1109 _bin_count += 4*maxlayerzm
1110 _effplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Efficiency", **_common_eff)]
1111 _efficiencies_zminus_eta = PlotGroup(
"Efficiencies_vs_eta", _effplots_zminus_eta, ncols=10)
1112 _efficiencies_zminus_phi = PlotGroup(
"Efficiencies_vs_phi", _effplots_zminus_phi, ncols=10)
1113 _efficiencies_zminus = PlotGroup(
"Efficiencies_vs_layer", _effplots_zminus, ncols=1)
1115 _common_dup = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1116 _dupplots_zminus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1117 _dupplots_zminus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1118 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1119 _common_dup[
"xmin"] = _bin_count
1120 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1121 _bin_count += 4*maxlayerzm
1122 _dupplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Duplicates", **_common_dup)]
1123 _duplicates_zminus_eta = PlotGroup(
"Duplicates_vs_eta", _dupplots_zminus_eta, ncols=10)
1124 _duplicates_zminus_phi = PlotGroup(
"Duplicates_vs_phi", _dupplots_zminus_phi, ncols=10)
1125 _duplicates_zminus = PlotGroup(
"Duplicates_vs_layer", _dupplots_zminus, ncols=1)
1127 _common_fake = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1128 _fakeplots_zminus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1129 _fakeplots_zminus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1130 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1131 _common_fake[
"xmin"] = _bin_count
1132 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1133 _bin_count += 4*maxlayerzm
1134 _common_fake[
"xbinlabelsize"] = 10.
1135 _fakeplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Fake Rate", **_common_fake)]
1136 _fakes_zminus_eta = PlotGroup(
"FakeRate_vs_eta", _fakeplots_zminus_eta, ncols=10)
1137 _fakes_zminus_phi = PlotGroup(
"FakeRate_vs_phi", _fakeplots_zminus_phi, ncols=10)
1138 _fakes_zminus = PlotGroup(
"FakeRate_vs_layer", _fakeplots_zminus, ncols=1)
1140 _common_merge = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1141 _mergeplots_zminus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1142 _mergeplots_zminus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1143 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1144 _common_merge[
"xmin"] = _bin_count
1145 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1146 _bin_count += 4*maxlayerzm
1147 _common_merge[
"xbinlabelsize"] = 10.
1148 _mergeplots_zminus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Merge Rate", **_common_merge)]
1149 _merges_zminus_eta = PlotGroup(
"MergeRate_vs_eta", _mergeplots_zminus_eta, ncols=10)
1150 _merges_zminus_phi = PlotGroup(
"MergeRate_vs_phi", _mergeplots_zminus_phi, ncols=10)
1151 _merges_zminus = PlotGroup(
"MergeRate_vs_layer", _mergeplots_zminus, ncols=1)
1154 _common_energy_score = dict(removeEmptyBins=
False, xbinlabelsize=10,
1156 xbinlabeloption=
"d",
1162 _energyscore_cp2lc_zminus = PlotGroup(
"Energy_vs_Score_CP2LC", [Plot(
"Energy_vs_Score_caloparticle2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_CP2LC",
1163 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1166 _energyscore_cp2lc_zplus = 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(maxlayerzm,maxlayerzp)
1169 _common_energy_score[
"xmin"]=-0.1
1170 _energyscore_lc2cp_zminus = PlotGroup(
"Energy_vs_Score_LC2CP", [Plot(
"Energy_vs_Score_layer2caloparticle_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2CP",
1171 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1173 _energyscore_lc2cp_zplus = PlotGroup(
"Energy_vs_Score_LC2CP", [Plot(
"Energy_vs_Score_layer2caloparticle_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2CP",
1174 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1180 _common_score = {
"title":
"Score CaloParticle to LayerClusters in z+",
1186 "drawStyle":
"hist",
1190 _common_score.update(_legend_common)
1191 _score_caloparticle_to_layerclusters_zplus = PlotGroup(
"score_caloparticle_to_layercluster", [
1192 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)
1195 _common_score = {
"title":
"Score LayerCluster to CaloParticles in z+",
1201 "drawStyle":
"hist",
1205 _common_score.update(_legend_common)
1206 _score_layercluster_to_caloparticles_zplus = PlotGroup(
"score_layercluster_to_caloparticle", [
1207 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)
1210 _common_shared= {
"title":
"Shared Energy CaloParticle To Layer Cluster in z+",
1214 _common_shared.update(_legend_common)
1215 _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)]
1216 _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)])
1217 _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)])
1218 _sharedEnergy_caloparticle_to_layercluster_zplus = PlotGroup(
"sharedEnergy_caloparticle_to_layercluster", _shared_plots_zplus, ncols=8)
1220 _common_shared= {
"title":
"Shared Energy Layer Cluster To CaloParticle in z+",
1224 _common_shared.update(_legend_common)
1225 _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)]
1226 _common_shared= {
"title":
"Shared Energy Layer Cluster To Best CaloParticle in z+",
1232 _common_shared.update(_legend_common)
1233 _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)])
1234 _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)])
1235 _sharedEnergy_layercluster_to_caloparticle_zplus = PlotGroup(
"sharedEnergy_layercluster_to_caloparticle", _shared_plots2_zplus, ncols=8)
1241 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1242 "xbinlabeloption":
"h",
1243 "drawStyle":
"hist",
1247 _common_assoc.update(_legend_common)
1248 _cell_association_table_zplus = PlotGroup(
"cellAssociation_table", [
1249 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)
1254 _xtitle =
"Layer Numbers in z+"
1255 _common_eff = {
"stat":
False,
"legend":
False,
"ymin":0.0,
"ymax":1.1}
1256 _effplots_zplus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1257 _effplots_zplus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1258 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1259 _common_eff[
"xmin"] = _bin_count
1260 _common_eff[
"xmax"] = _common_eff[
"xmin"] + maxlayerzm
1261 _bin_count += 4*maxlayerzm
1262 _effplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Efficiency", **_common_eff)]
1263 _efficiencies_zplus_eta = PlotGroup(
"Efficiencies_vs_eta", _effplots_zplus_eta, ncols=10)
1264 _efficiencies_zplus_phi = PlotGroup(
"Efficiencies_vs_phi", _effplots_zplus_phi, ncols=10)
1265 _efficiencies_zplus = PlotGroup(
"Efficiencies_vs_layer", _effplots_zplus, ncols=1)
1267 _common_dup = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1268 _dupplots_zplus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1269 _dupplots_zplus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1270 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1271 _common_dup[
"xmin"] = _bin_count
1272 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1273 _bin_count += 4*maxlayerzm
1274 _dupplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Duplicates", **_common_dup)]
1275 _duplicates_zplus_eta = PlotGroup(
"Duplicates_vs_eta", _dupplots_zplus_eta, ncols=10)
1276 _duplicates_zplus_phi = PlotGroup(
"Duplicates_vs_phi", _dupplots_zplus_phi, ncols=10)
1277 _duplicates_zplus = PlotGroup(
"Duplicates_vs_layer", _dupplots_zplus, ncols=1)
1279 _common_fake = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1280 _fakeplots_zplus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1281 _fakeplots_zplus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1282 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1283 _common_fake[
"xmin"] = _bin_count
1284 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1285 _bin_count += 4*maxlayerzm
1286 _fakeplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Fake Rate", **_common_fake)]
1287 _fakes_zplus_eta = PlotGroup(
"FakeRate_vs_eta", _fakeplots_zplus_eta, ncols=10)
1288 _fakes_zplus_phi = PlotGroup(
"FakeRate_vs_phi", _fakeplots_zplus_phi, ncols=10)
1289 _fakes_zplus = PlotGroup(
"FakeRate_vs_layer", _fakeplots_zplus, ncols=1)
1291 _common_merge = {
"stat":
False,
"legend":
False,
"ymin": 0.0,
"ymax": 1.1}
1292 _mergeplots_zplus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1293 _mergeplots_zplus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1294 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloption":
"v",
"ymin": 0.0,
"ymax": 1.1}
1295 _common_merge[
"xmin"] = _bin_count
1296 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1297 _bin_count += 4*maxlayerzm
1298 _mergeplots_zplus = [Plot(
"globalEfficiencies", xtitle=_xtitle, ytitle=
"Merge Rate", **_common_merge)]
1299 _merges_zplus_eta = PlotGroup(
"MergeRate_vs_eta", _mergeplots_zplus_eta, ncols=10)
1300 _merges_zplus_phi = PlotGroup(
"MergeRate_vs_phi", _mergeplots_zplus_phi, ncols=10)
1301 _merges_zplus = PlotGroup(
"MergeRate_vs_layer", _mergeplots_zplus, ncols=1)
1307 _common_sc_score = {
"title":
"Score SimCluster to LayerClusters in z-",
1313 "drawStyle":
"hist",
1317 _common_sc_score.update(_legend_common)
1318 _score_simcluster_to_layerclusters_zminus = PlotGroup(
"score_simcluster_to_layercluster_zminus", [
1319 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)
1322 _common_sc_score = {
"title":
"Score LayerCluster to SimClusters in z-",
1328 "drawStyle":
"hist",
1332 _common_sc_score.update(_legend_common)
1333 _score_layercluster_to_simclusters_zminus = PlotGroup(
"score_layercluster_to_simcluster_zminus", [
1334 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)
1337 _common_sc_shared= {
"title":
"Shared Energy SimCluster To Layer Cluster in z-",
1341 _common_sc_shared.update(_legend_common)
1342 _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)]
1343 _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)])
1344 _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)])
1345 _sharedEnergy_simcluster_to_layercluster_zminus = PlotGroup(
"sharedEnergy_simcluster_to_layercluster_zminus", _shared_sc_plots_zminus, ncols=8)
1347 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To SimCluster in z-",
1351 _common_sc_shared.update(_legend_common)
1352 _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)]
1353 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To Best SimCluster in z-",
1359 _common_sc_shared.update(_legend_common)
1360 _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)])
1361 _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)])
1362 _sharedEnergy_layercluster_to_simcluster_zminus = PlotGroup(
"sharedEnergy_layercluster_to_simcluster_zminus", _shared_plots2_sc_zminus, ncols=8)
1365 _xbinlabels = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1366 _common_eff = {
"stat":
False,
"legend":
False}
1367 _effplots_sc_zminus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1368 _effplots_sc_zminus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(0,maxlayerzm)]
1369 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1370 _common_eff[
"xmin"] = _bin_count
1371 _common_eff[
"xmax"] = maxlayerzm
1372 _bin_count += 4*maxlayerzm
1373 _effplots_sc_zminus = [Plot(
"globalEfficiencies_zminus", xtitle=
"Global Efficiencies in z-", **_common_eff)]
1374 _efficiencies_sc_zminus_eta = PlotGroup(
"Efficiencies_vs_eta_zminus", _effplots_sc_zminus_eta, ncols=10)
1375 _efficiencies_sc_zminus_phi = PlotGroup(
"Efficiencies_vs_phi_zminus", _effplots_sc_zminus_phi, ncols=10)
1376 _efficiencies_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _effplots_sc_zminus, ncols=4)
1378 _common_dup = {
"stat":
False,
"legend":
False}
1379 _dupplots_sc_zminus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1380 _dupplots_sc_zminus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(0,maxlayerzm)]
1381 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1382 _common_dup[
"xmin"] = _bin_count
1383 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1384 _bin_count += 4*maxlayerzm
1385 _dupplots_sc_zminus = [Plot(
"globalDublicates_zminus", xtitle=
"Global Duplicates in z-", **_common_dup)]
1386 _duplicates_sc_zminus_eta = PlotGroup(
"Duplicates_vs_eta_zminus", _dupplots_sc_zminus_eta, ncols=10)
1387 _duplicates_sc_zminus_phi = PlotGroup(
"Duplicates_vs_phi_zminus", _dupplots_sc_zminus_phi, ncols=10)
1388 _duplicates_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _dupplots_sc_zminus, ncols=4)
1390 _common_fake = {
"stat":
False,
"legend":
False}
1391 _fakeplots_sc_zminus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1392 _fakeplots_sc_zminus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(0,maxlayerzm)]
1393 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1394 _common_fake[
"xmin"] = _bin_count
1395 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1396 _bin_count += 4*maxlayerzm
1397 _common_fake[
"xbinlabels"] = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1398 _common_fake[
"xbinlabelsize"] = 10.
1399 _fakeplots_sc_zminus = [Plot(
"globalFakes_zminus", xtitle=
"Global Fake Rate in z-", **_common_fake)]
1400 _fakes_sc_zminus_eta = PlotGroup(
"FakeRate_vs_eta_zminus", _fakeplots_sc_zminus_eta, ncols=10)
1401 _fakes_sc_zminus_phi = PlotGroup(
"FakeRate_vs_phi_zminus", _fakeplots_sc_zminus_phi, ncols=10)
1402 _fakes_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _fakeplots_sc_zminus, ncols=4)
1404 _common_merge = {
"stat":
False,
"legend":
False}
1405 _mergeplots_sc_zminus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1406 _mergeplots_sc_zminus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(0,maxlayerzm)]
1407 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z-",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1408 _common_merge[
"xmin"] = _bin_count
1409 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1410 _bin_count += 4*maxlayerzm
1411 _common_merge[
"xbinlabels"] = [
"L{:02d}".
format(i+1)
for i
in range(0,maxlayerzm) ]
1412 _common_merge[
"xbinlabelsize"] = 10.
1413 _mergeplots_sc_zminus = [Plot(
"globalMergeRate_zminus", xtitle=
"Global merge Rate in z-", **_common_merge)]
1414 _merges_sc_zminus_eta = PlotGroup(
"MergeRate_vs_eta_zminus", _mergeplots_sc_zminus_eta, ncols=10)
1415 _merges_sc_zminus_phi = PlotGroup(
"MergeRate_vs_phi_zminus", _mergeplots_sc_zminus_phi, ncols=10)
1416 _merges_sc_zminus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zminus", _mergeplots_sc_zminus, ncols=4)
1418 _common_energy_score = dict(removeEmptyBins=
False, xbinlabelsize=10,
1420 xbinlabeloption=
"d",
1428 _energyscore_sc2lc_zminus = PlotGroup(
"Energy_vs_Score_SC2LC_zminus", [Plot(
"Energy_vs_Score_simcluster2layer_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_SC2LC",
1429 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1432 _energyscore_sc2lc_zplus = PlotGroup(
"Energy_vs_Score_SC2LC_zplus", [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(maxlayerzm,maxlayerzp)
1436 _common_energy_score[
"xlog"]=
False
1437 _common_energy_score[
"ylog"]=
False
1438 _common_energy_score[
"xmin"]=-0.1
1439 _energyscore_lc2sc_zminus = PlotGroup(
"Energy_vs_Score_LC2SC_zminus", [Plot(
"Energy_vs_Score_layer2simcluster_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2SC",
1440 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(0, maxlayerzm)
1442 _energyscore_lc2sc_zplus = PlotGroup(
"Energy_vs_Score_LC2SC_zplus", [Plot(
"Energy_vs_Score_layer2simcluster_perlayer{:02d}".
format(i), title=
"Energy_vs_Score_LC2SC",
1443 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score)
for i
in range(maxlayerzm,maxlayerzp)
1449 _common_sc_score = {
"title":
"Score SimCluster to LayerClusters in z+",
1455 "drawStyle":
"hist",
1459 _common_sc_score.update(_legend_common)
1460 _score_simcluster_to_layerclusters_zplus = PlotGroup(
"score_simcluster_to_layercluster_zplus", [
1461 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)
1464 _common_sc_score = {
"title":
"Score LayerCluster to SimClusters in z+",
1470 "drawStyle":
"hist",
1474 _common_sc_score.update(_legend_common)
1475 _score_layercluster_to_simclusters_zplus = PlotGroup(
"score_layercluster_to_simcluster_zplus", [
1476 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)
1479 _common_sc_shared= {
"title":
"Shared Energy SimCluster To Layer Cluster in z+",
1483 _common_sc_shared.update(_legend_common)
1484 _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)]
1485 _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)])
1486 _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)])
1487 _sharedEnergy_simcluster_to_layercluster_zplus = PlotGroup(
"sharedEnergy_simcluster_to_layercluster_zplus", _shared_sc_plots_zplus, ncols=8)
1489 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To SimCluster in z+",
1493 _common_sc_shared.update(_legend_common)
1494 _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)]
1495 _common_sc_shared= {
"title":
"Shared Energy Layer Cluster To Best SimCluster in z+",
1501 _common_sc_shared.update(_legend_common)
1502 _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)])
1503 _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)])
1504 _sharedEnergy_layercluster_to_simcluster_zplus = PlotGroup(
"sharedEnergy_layercluster_to_simcluster_zplus", _shared_plots2_sc_zplus, ncols=8)
1508 _common_eff = {
"stat":
False,
"legend":
False}
1509 _effplots_sc_zplus_eta = [Plot(
"effic_eta_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1510 _effplots_sc_zplus_phi = [Plot(
"effic_phi_layer{:02d}".
format(i), xtitle=
"", **_common_eff)
for i
in range(maxlayerzm,maxlayerzp)]
1511 _common_eff = {
"stat":
False,
"legend":
False,
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1512 _common_eff[
"xmin"] = _bin_count
1513 _common_eff[
"xmax"] = _common_eff[
"xmin"] + maxlayerzm
1514 _bin_count += 4*maxlayerzm
1515 _effplots_sc_zplus = [Plot(
"globalEfficiencies_zplus", xtitle=
"Global Efficiencies in z+", **_common_eff)]
1516 _efficiencies_sc_zplus_eta = PlotGroup(
"Efficiencies_vs_eta_zplus", _effplots_sc_zplus_eta, ncols=10)
1517 _efficiencies_sc_zplus_phi = PlotGroup(
"Efficiencies_vs_phi_zplus", _effplots_sc_zplus_phi, ncols=10)
1518 _efficiencies_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _effplots_sc_zplus, ncols=4)
1520 _common_dup = {
"stat":
False,
"legend":
False}
1521 _dupplots_sc_zplus_eta = [Plot(
"duplicate_eta_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1522 _dupplots_sc_zplus_phi = [Plot(
"duplicate_phi_layer{:02d}".
format(i), xtitle=
"", **_common_dup)
for i
in range(maxlayerzm,maxlayerzp)]
1523 _common_dup = {
"stat":
False,
"legend":
False,
"title":
"Global Duplicates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1524 _common_dup[
"xmin"] = _bin_count
1525 _common_dup[
"xmax"] = _common_dup[
"xmin"] + maxlayerzm
1526 _bin_count += 4*maxlayerzm
1527 _dupplots_sc_zplus = [Plot(
"globalDuplicates_zplus", xtitle=
"Global Duplicates in z+", **_common_dup)]
1528 _duplicates_sc_zplus_eta = PlotGroup(
"Duplicates_vs_eta_zplus", _dupplots_sc_zplus_eta, ncols=10)
1529 _duplicates_sc_zplus_phi = PlotGroup(
"Duplicates_vs_phi_zplus", _dupplots_sc_zplus_phi, ncols=10)
1530 _duplicates_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _dupplots_sc_zplus, ncols=4)
1532 _common_fake = {
"stat":
False,
"legend":
False}
1533 _fakeplots_sc_zplus_eta = [Plot(
"fake_eta_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1534 _fakeplots_sc_zplus_phi = [Plot(
"fake_phi_layer{:02d}".
format(i), xtitle=
"", **_common_fake)
for i
in range(maxlayerzm,maxlayerzp)]
1535 _common_fake = {
"stat":
False,
"legend":
False,
"title":
"Global Fake Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1536 _common_fake[
"xmin"] = _bin_count
1537 _common_fake[
"xmax"] = _common_fake[
"xmin"] + maxlayerzm
1538 _bin_count += 4*maxlayerzm
1539 _fakeplots_sc_zplus = [Plot(
"globalFakeRate_zplus", xtitle=
"Global Fake Rate in z+", **_common_fake)]
1540 _fakes_sc_zplus_eta = PlotGroup(
"FakeRate_vs_eta_zplus", _fakeplots_sc_zplus_eta, ncols=10)
1541 _fakes_sc_zplus_phi = PlotGroup(
"FakeRate_vs_phi_zplus", _fakeplots_sc_zplus_phi, ncols=10)
1542 _fakes_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _fakeplots_sc_zplus, ncols=4)
1544 _common_merge = {
"stat":
False,
"legend":
False}
1545 _mergeplots_sc_zplus_eta = [Plot(
"merge_eta_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1546 _mergeplots_sc_zplus_phi = [Plot(
"merge_phi_layer{:02d}".
format(i), xtitle=
"", **_common_merge)
for i
in range(maxlayerzm,maxlayerzp)]
1547 _common_merge = {
"stat":
False,
"legend":
False,
"title":
"Global Merge Rates in z+",
"xbinlabels": _xbinlabels,
"xbinlabelsize": 12,
"xbinlabeloptions":
"v"}
1548 _common_merge[
"xmin"] = _bin_count
1549 _common_merge[
"xmax"] = _common_merge[
"xmin"] + maxlayerzm
1550 _bin_count += 4*maxlayerzm
1551 _mergeplots_sc_zplus = [Plot(
"globalMergeRate_zplus", xtitle=
"Global merge Rate in z+", **_common_merge)]
1552 _merges_sc_zplus_eta = PlotGroup(
"MergeRate_vs_eta_zplus", _mergeplots_sc_zplus_eta, ncols=10)
1553 _merges_sc_zplus_phi = PlotGroup(
"MergeRate_vs_phi_zplus", _mergeplots_sc_zplus_phi, ncols=10)
1554 _merges_sc_zplus = PlotGroup(
"Eff_Dup_Fake_Merge_Global_zplus", _mergeplots_sc_zplus, ncols=4)
1557 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1568 "drawStyle":
"hist",
1572 _common_score.update(_legend_common)
1573 _score_caloparticle_to_multiclusters = PlotGroup(
"ScoreCaloParticlesToMultiClusters", [
1574 Plot(
"Score_caloparticle2multicl", **_common_score)
1583 "drawStyle":
"hist",
1587 _common_score.update(_legend_common)
1588 _score_multicluster_to_caloparticles = PlotGroup(
"ScoreMultiClustersToCaloParticles", [
1589 Plot(
"Score_multicl2caloparticle", **_common_score)
1592 _common_shared= {
"title":
"Shared Energy CaloParticle To Multi Cluster ",
1598 _common_shared.update(_legend_common)
1599 _shared_plots = [ Plot(
"SharedEnergy_caloparticle2multicl", **_common_shared) ]
1600 _common_shared[
"xmin"] = -4.0
1601 _common_shared[
"xmax"] = 4.0
1602 _shared_plots.extend([Plot(
"SharedEnergy_caloparticle2multicl_vs_eta", xtitle=
"CaloParticle #eta", **_common_shared)])
1603 _shared_plots.extend([Plot(
"SharedEnergy_caloparticle2multicl_vs_phi", xtitle=
"CaloParticle #phi", **_common_shared)])
1604 _sharedEnergy_caloparticle_to_multicluster = PlotGroup(
"SharedEnergy_CaloParticleToMultiCluster", _shared_plots, ncols=3)
1606 _common_shared= {
"title":
"Shared Energy Multi Cluster To CaloParticle ",
1612 _common_shared.update(_legend_common)
1613 _shared_plots2 = [Plot(
"SharedEnergy_multicluster2caloparticle", **_common_shared)]
1614 _common_shared[
"xmin"] = -4.0
1615 _common_shared[
"xmax"] = 4.0
1616 _shared_plots2.extend([Plot(
"SharedEnergy_multicl2caloparticle_vs_eta", xtitle=
"MultiCluster #eta", **_common_shared)])
1617 _shared_plots2.extend([Plot(
"SharedEnergy_multicl2caloparticle_vs_phi", xtitle=
"MultiCluster #phi", **_common_shared)])
1618 _sharedEnergy_multicluster_to_caloparticle = PlotGroup(
"SharedEnergy_MultiClusterToCaloParticle", _shared_plots2, ncols=3)
1624 "xbinlabels": [
"",
"TN(pur)",
"FN(ineff.)",
"FP(fake)",
"TP(eff)"],
1625 "xbinlabeloption":
"h",
1626 "drawStyle":
"hist",
1630 _common_assoc.update(_legend_common)
1631 _cell_association_table = PlotGroup(
"cellAssociation_table", [
1632 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_eff = {
"stat":
False,
"legend":
False,
"xbinlabelsize": 14,
"xbinlabeloption":
"d",
"ymin": 0.0,
"ymax": 1.1}
1636 _effplots = [Plot(
"effic_eta", xtitle=
"", **_common_eff)]
1637 _effplots.extend([Plot(
"effic_phi", xtitle=
"", **_common_eff)])
1638 _effplots.extend([Plot(
"globalEfficiencies", xtitle=
"", **_common_eff)])
1639 _efficiencies = PlotGroup(
"Efficiencies", _effplots, ncols=3)
1642 _common_dup = {
"stat":
False,
"legend":
False,
"xbinlabelsize": 14,
"xbinlabeloption":
"d",
"ymin": 0.0,
"ymax": 1.1}
1643 _dupplots = [Plot(
"duplicate_eta", xtitle=
"", **_common_dup)]
1644 _dupplots.extend([Plot(
"duplicate_phi", xtitle=
"", **_common_dup)])
1645 _dupplots.extend([Plot(
"globalEfficiencies", xtitle=
"", **_common_dup)])
1646 _duplicates = PlotGroup(
"Duplicates", _dupplots, ncols=3)
1648 _common_fake = {
"stat":
False,
"legend":
False,
"xbinlabelsize": 14,
"xbinlabeloption":
"d",
"ymin": 0.0,
"ymax": 1.1}
1649 _fakeplots = [Plot(
"fake_eta", xtitle=
"", **_common_fake)]
1650 _fakeplots.extend([Plot(
"fake_phi", xtitle=
"", **_common_fake)])
1651 _fakeplots.extend([Plot(
"globalEfficiencies", xtitle=
"", **_common_fake)])
1652 _fakes = PlotGroup(
"FakeRate", _fakeplots, ncols=3)
1654 _common_merge = {
"stat":
False,
"legend":
False,
"xbinlabelsize": 14,
"xbinlabeloption":
"d",
"ymin": 0.0,
"ymax": 1.1}
1655 _mergeplots = [Plot(
"merge_eta", xtitle=
"", **_common_merge)]
1656 _mergeplots.extend([Plot(
"merge_phi", xtitle=
"", **_common_merge)])
1657 _mergeplots.extend([Plot(
"globalEfficiencies", xtitle=
"", **_common_merge)])
1658 _merges = PlotGroup(
"MergeRate", _mergeplots, ncols=3)
1660 _common_energy_score = dict(removeEmptyBins=
True, xbinlabelsize=10, xbinlabeloption=
"d")
1661 _common_energy_score[
"ymax"] = 1.
1662 _common_energy_score[
"xmax"] = 1.0
1663 _energyscore_cp2mcl = PlotOnSideGroup(
"Energy_vs_Score_CaloParticlesToMultiClusters", Plot(
"Energy_vs_Score_caloparticle2multi", drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score), ncols=1)
1664 _common_energy_score[
"ymax"] = 1.
1665 _common_energy_score[
"xmax"] = 1.0
1666 _energyscore_mcl2cp = PlotOnSideGroup(
"Energy_vs_Score_MultiClustersToCaloParticles", Plot(
"Energy_vs_Score_multi2caloparticle", drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_energy_score), ncols=1)
1669 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1671 _totmulticlusternum = PlotGroup(
"TotalNumberofMultiClusters", [
1672 Plot(
"totmulticlusternum", xtitle=
"", **_common)
1675 _multicluster_layernum_plots = [Plot(
"multicluster_firstlayer", xtitle=
"MultiCluster First Layer", **_common)]
1676 _multicluster_layernum_plots.extend([Plot(
"multicluster_lastlayer", xtitle=
"MultiCluster Last Layer", **_common)])
1677 _multicluster_layernum_plots.extend([Plot(
"multicluster_layersnum", xtitle=
"MultiCluster Number of Layers", **_common)])
1678 _multicluster_layernum = PlotGroup(
"LayerNumbersOfMultiCluster", _multicluster_layernum_plots, ncols=3)
1680 _common[
"xmax"] = 50
1681 _clusternum_in_multicluster = PlotGroup(
"NumberofLayerClustersinMultiCluster",[
1682 Plot(
"clusternum_in_multicluster", xtitle=
"", **_common)
1685 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1686 _common = {
"stat":
True,
"drawStyle":
"pcolz",
"staty": 0.65}
1688 _clusternum_in_multicluster_vs_layer = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer",[
1689 Plot(
"clusternum_in_multicluster_vs_layer", xtitle=
"Layer number", ytitle =
"<2d Layer Clusters in Multicluster>", **_common)
1692 _common[
"scale"] = 100.
1694 _multiplicity_numberOfEventsHistogram =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/ticlMultiClustersFromTrackstersEM/multiplicity_numberOfEventsHistogram"
1695 _multiplicity_zminus_numberOfEventsHistogram =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/ticlMultiClustersFromTrackstersEM/multiplicity_zminus_numberOfEventsHistogram"
1696 _multiplicity_zplus_numberOfEventsHistogram =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/ticlMultiClustersFromTrackstersEM/multiplicity_zplus_numberOfEventsHistogram"
1698 _multiplicityOfLCinMCL_plots = [Plot(
"multiplicityOfLCinMCL", xtitle=
"Layer Cluster multiplicity in Multiclusters", ytitle =
"Cluster size (n_{hit})",
1699 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)]
1700 _multiplicityOfLCinMCL_plots.extend([Plot(
"multiplicityOfLCinMCL_vs_layerclusterenergy", xtitle=
"Layer Cluster multiplicity in Multiclusters", ytitle =
"Cluster Energy (GeV)",
1701 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1702 _multiplicityOfLCinMCL_plots.extend([Plot(
"multiplicityOfLCinMCL_vs_layercluster_zplus", xtitle=
"Layer Cluster multiplicity in Multiclusters", ytitle =
"Layer Number",
1703 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1704 _multiplicityOfLCinMCL_plots.extend([Plot(
"multiplicityOfLCinMCL_vs_layercluster_zminus", xtitle=
"Layer Cluster multiplicity in Multiclusters", ytitle =
"Layer Number",
1705 drawCommand =
"colz text45", normalizeToNumberOfEvents =
True, **_common)])
1706 _multiplicityOfLCinMCL = PlotGroup(
"MultiplcityofLCinMLC", _multiplicityOfLCinMCL_plots, ncols=2)
1708 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1712 _clusternum_in_multicluster_perlayer_zminus_EE = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zminus_EE", [
1713 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm)
1716 _clusternum_in_multicluster_perlayer_zminus_FH = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zminus_FH", [
1717 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzm,lastLayerFHzm)
1720 _clusternum_in_multicluster_perlayer_zminus_BH = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zminus_BH", [
1721 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzm,maxlayerzm)
1727 _clusternum_in_multicluster_perlayer_zplus_EE = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zplus_EE", [
1728 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(maxlayerzm,lastLayerEEzp)
1731 _clusternum_in_multicluster_perlayer_zplus_FH = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zplus_FH", [
1732 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerEEzp,lastLayerFHzp)
1735 _clusternum_in_multicluster_perlayer_zplus_BH = PlotGroup(
"NumberofLayerClustersinMultiClusterPerLayer_zplus_BH", [
1736 Plot(
"clusternum_in_multicluster_perlayer{:02d}".
format(i), xtitle=
"", **_common)
for i
in range(lastLayerFHzp,maxlayerzp)
1740 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65 }
1743 _multicluster_eppe_plots = [Plot(
"multicluster_eta", xtitle=
"MultiCluster #eta", **_common)]
1744 _multicluster_eppe_plots.extend([Plot(
"multicluster_phi", xtitle=
"MultiCluster #phi", **_common)])
1745 _multicluster_eppe_plots.extend([Plot(
"multicluster_pt", xtitle=
"MultiCluster p_{T}", **_common)])
1746 _multicluster_eppe_plots.extend([Plot(
"multicluster_energy", xtitle=
"MultiCluster Energy", **_common)])
1747 _multicluster_eppe = PlotGroup(
"EtaPhiPtEnergy", _multicluster_eppe_plots, ncols=2)
1749 _multicluster_xyz_plots = [Plot(
"multicluster_x", xtitle=
"MultiCluster x", **_common)]
1750 _multicluster_xyz_plots.extend([Plot(
"multicluster_y", xtitle=
"MultiCluster y", **_common)])
1751 _multicluster_xyz_plots.extend([Plot(
"multicluster_z", xtitle=
"MultiCluster z", **_common)])
1752 _multicluster_xyz = PlotGroup(
"XYZ", _multicluster_xyz_plots, ncols=3)
1758 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1760 _HitValidation = PlotGroup(
"HitValidation", [
1761 Plot(
"heeEnSim", title=
"SimHits_EE_Energy", **_common),
1762 Plot(
"hebEnSim", title=
"SimHits_HE_Silicon_Energy", **_common),
1763 Plot(
"hefEnSim", title=
"SimHits_HE_Scintillator_Energy", **_common),
1766 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1768 _Occupancy_EE_zplus = PlotGroup(
"Occupancy_EE_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_EE_zplus",
1769 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1772 _Occupancy_HE_Silicon_zplus = PlotGroup(
"Occupancy_HE_Silicon_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_HE_zplus",
1773 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1776 _Occupancy_HE_Scintillator_zplus = PlotGroup(
"Occupancy_HE_Scintillator_zplus", [Plot(
"HitOccupancy_Plus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Scintillator_zplus",
1777 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1780 _Occupancy_EE_zminus = PlotGroup(
"Occupancy_EE_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_EE_zminus",
1781 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1784 _Occupancy_HE_Silicon_zminus = PlotGroup(
"Occupancy_HE_Silicon_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Silicon_zminus",
1785 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1788 _Occupancy_HE_Scintillator_zminus = PlotGroup(
"Occupancy_HE_Scintillator_zminus", [Plot(
"HitOccupancy_Minus_layer_{:02d}".
format(i), title=
"Occupancy_HE_Scintillator_zminus",
1789 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1792 _common_etaphi = dict(removeEmptyBins=
False, xbinlabelsize=10, xbinlabeloption=
"d", ymin=
None)
1794 _EtaPhi_EE_zplus = PlotGroup(
"EtaPhi_EE_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_EE_zplus",
1795 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(EE_min,EE_max+1)
1798 _EtaPhi_HE_Silicon_zplus = PlotGroup(
"EtaPhi_HE_Silicon_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Silicon_zplus",
1799 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HESilicon_min,HESilicon_max+1)
1802 _EtaPhi_HE_Scintillator_zplus = PlotGroup(
"EtaPhi_HE_Scintillator_zplus", [Plot(
"EtaPhi_Plus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Scintillator_zplus",
1803 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1806 _EtaPhi_EE_zminus = PlotGroup(
"EtaPhi_EE_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_EE_zminus",
1807 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(EE_min,EE_max+1)
1810 _EtaPhi_HE_Silicon_zminus = PlotGroup(
"EtaPhi_HE_Silicon_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Silicon_zminus",
1811 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HESilicon_min,HESilicon_max+1)
1814 _EtaPhi_HE_Scintillator_zminus = PlotGroup(
"EtaPhi_HE_Scintillator_zminus", [Plot(
"EtaPhi_Minus_layer_{:02d}".
format(i), title=
"EtaPhi_HE_Scintillator_zminus",
1815 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_etaphi)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1818 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1820 _Energy_EE_0 = PlotGroup(
"Energy_Time_0_EE", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_EE",
1821 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1824 _Energy_HE_Silicon_0 = PlotGroup(
"Energy_Time_0_HE_Silicon", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_HE_Silicon",
1825 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1828 _Energy_HE_Scintillator_0 = PlotGroup(
"Energy_Time_0_HE_Scintillator", [Plot(
"energy_time_0_layer_{:02d}".
format(i), title=
"Energy_Time_0_HE_Scintillator",
1829 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1832 _Energy_EE_1 = PlotGroup(
"Energy_Time_1_EE", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_EE",
1833 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1836 _Energy_HE_Silicon_1 = PlotGroup(
"Energy_Time_1_HE_Silicon", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_HE_Silicon",
1837 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1840 _Energy_HE_Scintillator_1 = PlotGroup(
"Energy_Time_1_HE_Scintillator", [Plot(
"energy_time_1_layer_{:02d}".
format(i), title=
"Energy_Time_1_HE_Scintillator",
1841 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1844 _Energy_EE = PlotGroup(
"Energy_EE", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_EE",
1845 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1848 _Energy_HE_Silicon = PlotGroup(
"Energy_HE_Silicon", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_HE_Silicon",
1849 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1852 _Energy_HE_Scintillator = PlotGroup(
"Energy_HE_Scintillator", [Plot(
"energy_layer_{:02d}".
format(i), title=
"Energy_HE_Scintillator",
1853 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1856 _DigiHits_ADC_EE = PlotGroup(
"ADC_EE", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_EE",
1857 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1860 _DigiHits_ADC_HE_Silicon = PlotGroup(
"ADC_HE_Silicon", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_HE_Silicon",
1861 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1864 _DigiHits_ADC_HE_Scintillator = PlotGroup(
"ADC_HE_Scintillator", [Plot(
"ADC_layer_{:02d}".
format(i), title=
"DigiHits_ADC_HE_Scintillator",
1865 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1868 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65}
1870 _DigiHits_Occupancy_EE_zplus = PlotGroup(
"Occupancy_EE_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_EE_zplus",
1871 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1874 _DigiHits_Occupancy_HE_Silicon_zplus = PlotGroup(
"Occupancy_HE_Silicon_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Silicon_zplus",
1875 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1878 _DigiHits_Occupancy_HE_Scintillator_zplus = PlotGroup(
"Occupancy_HE_Scintillator_zplus", [Plot(
"DigiOccupancy_Plus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Scintillator_zplus",
1879 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1882 _DigiHits_Occupancy_EE_zminus = PlotGroup(
"Occupancy_EE_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_EE_zminus",
1883 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1886 _DigiHits_Occupancy_HE_Silicon_zminus = PlotGroup(
"Occupancy_HE_Silicon_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Silicon_zminus",
1887 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1890 _DigiHits_Occupancy_HE_Scintillator_zminus = PlotGroup(
"Occupancy_HE_Scintillator_zminus", [Plot(
"DigiOccupancy_Minus_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_HE_Scintillator_zminus",
1891 xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1894 _common_XY = dict(removeEmptyBins=
True, xbinlabelsize=10, xbinlabeloption=
"d", ymin=
None)
1896 _DigiHits_Occupancy_XY_EE = PlotGroup(
"Occupancy_XY_EE", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_EE",
1897 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(EE_min,EE_max+1)
1900 _DigiHits_Occupancy_XY_HE_Silicon = PlotGroup(
"Occupancy_XY_HE_Silicon", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_HE_Silicon",
1901 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(HESilicon_min,HESilicon_max+1)
1904 _DigiHits_Occupancy_XY_HE_Scintillator = PlotGroup(
"Occupancy_XY_HE_Scintillator", [Plot(
"DigiOccupancy_XY_layer_{:02d}".
format(i), title=
"DigiHits_Occupancy_XY_HE_Scintillator",
1905 xtitle=
"Layer {}".
format(i), drawStyle=
"COLZ", adjustMarginRight=0.1, **_common_XY)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1908 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
True}
1910 _DigiHits_TOA_EE = PlotGroup(
"TOA_EE", [
1911 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_EE", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1914 _DigiHits_TOA_HE_Silicon = PlotGroup(
"TOA_HE_Silicon", [
1915 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_HE_Silicon", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1918 _DigiHits_TOA_HE_Scintillator = PlotGroup(
"TOA_HE_Scintillator", [
1919 Plot(
"TOA_layer_{:02d}".
format(i), title=
"TOA_HE_Scintillator", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1922 _DigiHits_TOT_EE = PlotGroup(
"TOT_EE", [
1923 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_EE", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(EE_min,EE_max+1)
1926 _DigiHits_TOT_HE_Silicon = PlotGroup(
"TOT_HE_Silicon", [
1927 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_HE_Silicon", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HESilicon_min,HESilicon_max+1)
1930 _DigiHits_TOT_HE_Scintillator = PlotGroup(
"TOT_HE_Scintillator", [
1931 Plot(
"TOT_layer_{:02d}".
format(i), title=
"TOT_HE_Scintillator", xtitle=
"Layer {}".
format(i), **_common)
for i
in range(HEScintillator_min,HEScintillator_max+1)
1936 _common = {
"stat":
True,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.1,
"ylog":
False}
1938 _LayerOccupancy = PlotGroup(
"LayerOccupancy", [
1939 Plot(
"LayerOccupancy", title=
"LayerOccupancy", **_common)], ncols=1)
1941 _ReconstructableEnergyOverCPenergy = PlotGroup(
"ReconstructableEnergyOverCPenergy", [
1942 Plot(
"h_EoP_CPene_100_calib_fraction", title=
"EoP_CPene_100_calib_fraction", **_common),
1943 Plot(
"h_EoP_CPene_200_calib_fraction", title=
"EoP_CPene_200_calib_fraction", **_common),
1944 Plot(
"h_EoP_CPene_300_calib_fraction", title=
"EoP_CPene_300_calib_fraction", **_common),
1945 Plot(
"h_EoP_CPene_scint_calib_fraction", title=
"EoP_CPene_scint_calib_fraction", **_common),
1948 _ParticleFlowClusterHGCalFromMultiCl_Closest_EoverCPenergy = PlotGroup(
"ParticleFlowClusterHGCalFromMultiCl", [
1949 Plot(
"hgcal_EoP_CPene_100_calib_fraction", title=
"hgcal_EoP_CPene_100_calib_fraction", **_common),
1950 Plot(
"hgcal_EoP_CPene_200_calib_fraction", title=
"hgcal_EoP_CPene_200_calib_fraction", **_common),
1951 Plot(
"hgcal_EoP_CPene_300_calib_fraction", title=
"hgcal_EoP_CPene_300_calib_fraction", **_common),
1952 Plot(
"hgcal_EoP_CPene_scint_calib_fraction", title=
"hgcal_EoP_CPene_scint_calib_fraction", **_common),
1955 _EcalDrivenGsfElectronsFromMultiCl_Closest_EoverCPenergy = PlotGroup(
"EcalDrivenGsfElectronsFromMultiCl", [
1956 Plot(
"hgcal_ele_EoP_CPene_100_calib_fraction", title=
"hgcal_ele_EoP_CPene_100_calib_fraction", **_common),
1957 Plot(
"hgcal_ele_EoP_CPene_200_calib_fraction", title=
"hgcal_ele_EoP_CPene_200_calib_fraction", **_common),
1958 Plot(
"hgcal_ele_EoP_CPene_300_calib_fraction", title=
"hgcal_ele_EoP_CPene_300_calib_fraction", **_common),
1959 Plot(
"hgcal_ele_EoP_CPene_scint_calib_fraction", title=
"hgcal_ele_EoP_CPene_scint_calib_fraction", **_common),
1962 _PhotonsFromMultiCl_Closest_EoverCPenergy = PlotGroup(
"PhotonsFromMultiCl", [
1963 Plot(
"hgcal_photon_EoP_CPene_100_calib_fraction", title=
"hgcal_photon_EoP_CPene_100_calib_fraction", **_common),
1964 Plot(
"hgcal_photon_EoP_CPene_200_calib_fraction", title=
"hgcal_photon_EoP_CPene_200_calib_fraction", **_common),
1965 Plot(
"hgcal_photon_EoP_CPene_300_calib_fraction", title=
"hgcal_photon_EoP_CPene_300_calib_fraction", **_common),
1966 Plot(
"hgcal_photon_EoP_CPene_scint_calib_fraction", title=
"hgcal_photon_EoP_CPene_scint_calib_fraction", **_common),
1970 hgcalLayerClustersPlotter = Plotter()
1971 layerClustersLabel =
'Layer Clusters'
1973 lc_general_clusterlevel = [
1976 _totclusternum_thick,
1981 _num_reco_cluster_eta,
1984 _longdepthbarycentre,
1990 lc_clusterlevel_zminus = [
1992 _totclusternum_layer_EE_zminus,
1993 _totclusternum_layer_FH_zminus,
1994 _totclusternum_layer_BH_zminus,
1996 _energyclustered_perlayer_EE_zminus,
1997 _energyclustered_perlayer_FH_zminus,
1998 _energyclustered_perlayer_BH_zminus
2001 lc_cellevel_zminus = [
2006 _cellsnum_perthick_perlayer_120_EE_zminus,
2007 _cellsnum_perthick_perlayer_120_FH_zminus,
2008 _cellsnum_perthick_perlayer_120_BH_zminus,
2009 _cellsnum_perthick_perlayer_200_EE_zminus,
2010 _cellsnum_perthick_perlayer_200_FH_zminus,
2011 _cellsnum_perthick_perlayer_200_BH_zminus,
2012 _cellsnum_perthick_perlayer_300_EE_zminus,
2013 _cellsnum_perthick_perlayer_300_FH_zminus,
2014 _cellsnum_perthick_perlayer_300_BH_zminus,
2015 _cellsnum_perthick_perlayer_scint_EE_zminus,
2016 _cellsnum_perthick_perlayer_scint_FH_zminus,
2017 _cellsnum_perthick_perlayer_scint_BH_zminus,
2019 _cell_association_table_zminus
2022 lc_cp_association_zminus = [
2024 _efficiencies_zminus,
2025 _efficiencies_zminus_eta,
2026 _efficiencies_zminus_phi,
2029 _duplicates_zminus_eta,
2030 _duplicates_zminus_phi,
2040 _score_caloparticle_to_layerclusters_zminus,
2042 _score_layercluster_to_caloparticles_zminus,
2044 _sharedEnergy_caloparticle_to_layercluster_zminus,
2046 _sharedEnergy_layercluster_to_caloparticle_zminus,
2048 _energyscore_cp2lc_zminus,
2050 _energyscore_lc2cp_zminus
2053 lc_zminus_extended = [
2059 _distancetomaxcell_perthickperlayer_120_EE_zminus,
2060 _distancetomaxcell_perthickperlayer_120_FH_zminus,
2061 _distancetomaxcell_perthickperlayer_120_BH_zminus,
2062 _distancetomaxcell_perthickperlayer_200_EE_zminus,
2063 _distancetomaxcell_perthickperlayer_200_FH_zminus,
2064 _distancetomaxcell_perthickperlayer_200_BH_zminus,
2065 _distancetomaxcell_perthickperlayer_300_EE_zminus,
2066 _distancetomaxcell_perthickperlayer_300_FH_zminus,
2067 _distancetomaxcell_perthickperlayer_300_BH_zminus,
2068 _distancetomaxcell_perthickperlayer_scint_EE_zminus,
2069 _distancetomaxcell_perthickperlayer_scint_FH_zminus,
2070 _distancetomaxcell_perthickperlayer_scint_BH_zminus,
2071 _distancetoseedcell_perthickperlayer_120_EE_zminus,
2072 _distancetoseedcell_perthickperlayer_120_FH_zminus,
2073 _distancetoseedcell_perthickperlayer_120_BH_zminus,
2074 _distancetoseedcell_perthickperlayer_200_EE_zminus,
2075 _distancetoseedcell_perthickperlayer_200_FH_zminus,
2076 _distancetoseedcell_perthickperlayer_200_BH_zminus,
2077 _distancetoseedcell_perthickperlayer_300_EE_zminus,
2078 _distancetoseedcell_perthickperlayer_300_FH_zminus,
2079 _distancetoseedcell_perthickperlayer_300_BH_zminus,
2080 _distancetoseedcell_perthickperlayer_scint_EE_zminus,
2081 _distancetoseedcell_perthickperlayer_scint_FH_zminus,
2082 _distancetoseedcell_perthickperlayer_scint_BH_zminus,
2083 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zminus,
2084 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zminus,
2085 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zminus,
2086 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zminus,
2087 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zminus,
2088 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zminus,
2089 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zminus,
2090 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zminus,
2091 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zminus,
2092 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zminus,
2093 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zminus,
2094 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zminus,
2095 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zminus,
2096 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zminus,
2097 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zminus,
2098 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zminus,
2099 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zminus,
2100 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zminus,
2101 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zminus,
2102 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zminus,
2103 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zminus,
2104 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zminus,
2105 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zminus,
2106 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zminus,
2107 _distancebetseedandmaxcell_perthickperlayer_120_EE_zminus,
2108 _distancebetseedandmaxcell_perthickperlayer_120_FH_zminus,
2109 _distancebetseedandmaxcell_perthickperlayer_120_BH_zminus,
2110 _distancebetseedandmaxcell_perthickperlayer_200_EE_zminus,
2111 _distancebetseedandmaxcell_perthickperlayer_200_FH_zminus,
2112 _distancebetseedandmaxcell_perthickperlayer_200_BH_zminus,
2113 _distancebetseedandmaxcell_perthickperlayer_300_EE_zminus,
2114 _distancebetseedandmaxcell_perthickperlayer_300_FH_zminus,
2115 _distancebetseedandmaxcell_perthickperlayer_300_BH_zminus,
2116 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zminus,
2117 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zminus,
2118 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zminus,
2119 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zminus,
2120 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zminus,
2121 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zminus,
2122 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zminus,
2123 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zminus,
2124 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zminus,
2125 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zminus,
2126 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zminus,
2127 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zminus,
2128 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zminus,
2129 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zminus,
2130 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zminus
2133 lc_clusterlevel_zplus = [
2135 _totclusternum_layer_EE_zplus,
2136 _totclusternum_layer_FH_zplus,
2137 _totclusternum_layer_BH_zplus,
2139 _energyclustered_perlayer_EE_zplus,
2140 _energyclustered_perlayer_FH_zplus,
2141 _energyclustered_perlayer_BH_zplus
2144 lc_cellevel_zplus = [
2146 _cellsnum_perthick_perlayer_120_EE_zplus,
2147 _cellsnum_perthick_perlayer_120_FH_zplus,
2148 _cellsnum_perthick_perlayer_120_BH_zplus,
2149 _cellsnum_perthick_perlayer_200_EE_zplus,
2150 _cellsnum_perthick_perlayer_200_FH_zplus,
2151 _cellsnum_perthick_perlayer_200_BH_zplus,
2152 _cellsnum_perthick_perlayer_300_EE_zplus,
2153 _cellsnum_perthick_perlayer_300_FH_zplus,
2154 _cellsnum_perthick_perlayer_300_BH_zplus,
2155 _cellsnum_perthick_perlayer_scint_EE_zplus,
2156 _cellsnum_perthick_perlayer_scint_FH_zplus,
2157 _cellsnum_perthick_perlayer_scint_BH_zplus,
2159 _cell_association_table_zplus
2162 lc_cp_association_zplus = [
2164 _efficiencies_zplus,
2165 _efficiencies_zplus_eta,
2166 _efficiencies_zplus_phi,
2169 _duplicates_zplus_eta,
2170 _duplicates_zplus_phi,
2180 _score_caloparticle_to_layerclusters_zplus,
2182 _score_layercluster_to_caloparticles_zplus,
2184 _sharedEnergy_caloparticle_to_layercluster_zplus,
2186 _sharedEnergy_layercluster_to_caloparticle_zplus,
2187 _energyscore_cp2lc_zplus,
2188 _energyscore_lc2cp_zplus
2191 lc_zplus_extended = [
2193 _distancetomaxcell_perthickperlayer_120_EE_zplus,
2194 _distancetomaxcell_perthickperlayer_120_FH_zplus,
2195 _distancetomaxcell_perthickperlayer_120_BH_zplus,
2196 _distancetomaxcell_perthickperlayer_200_EE_zplus,
2197 _distancetomaxcell_perthickperlayer_200_FH_zplus,
2198 _distancetomaxcell_perthickperlayer_200_BH_zplus,
2199 _distancetomaxcell_perthickperlayer_300_EE_zplus,
2200 _distancetomaxcell_perthickperlayer_300_FH_zplus,
2201 _distancetomaxcell_perthickperlayer_300_BH_zplus,
2202 _distancetomaxcell_perthickperlayer_scint_EE_zplus,
2203 _distancetomaxcell_perthickperlayer_scint_FH_zplus,
2204 _distancetomaxcell_perthickperlayer_scint_BH_zplus,
2205 _distancetoseedcell_perthickperlayer_120_EE_zplus,
2206 _distancetoseedcell_perthickperlayer_120_FH_zplus,
2207 _distancetoseedcell_perthickperlayer_120_BH_zplus,
2208 _distancetoseedcell_perthickperlayer_200_EE_zplus,
2209 _distancetoseedcell_perthickperlayer_200_FH_zplus,
2210 _distancetoseedcell_perthickperlayer_200_BH_zplus,
2211 _distancetoseedcell_perthickperlayer_300_EE_zplus,
2212 _distancetoseedcell_perthickperlayer_300_FH_zplus,
2213 _distancetoseedcell_perthickperlayer_300_BH_zplus,
2214 _distancetoseedcell_perthickperlayer_scint_EE_zplus,
2215 _distancetoseedcell_perthickperlayer_scint_FH_zplus,
2216 _distancetoseedcell_perthickperlayer_scint_BH_zplus,
2217 _distancetomaxcell_perthickperlayer_eneweighted_120_EE_zplus,
2218 _distancetomaxcell_perthickperlayer_eneweighted_120_FH_zplus,
2219 _distancetomaxcell_perthickperlayer_eneweighted_120_BH_zplus,
2220 _distancetomaxcell_perthickperlayer_eneweighted_200_EE_zplus,
2221 _distancetomaxcell_perthickperlayer_eneweighted_200_FH_zplus,
2222 _distancetomaxcell_perthickperlayer_eneweighted_200_BH_zplus,
2223 _distancetomaxcell_perthickperlayer_eneweighted_300_EE_zplus,
2224 _distancetomaxcell_perthickperlayer_eneweighted_300_FH_zplus,
2225 _distancetomaxcell_perthickperlayer_eneweighted_300_BH_zplus,
2226 _distancetomaxcell_perthickperlayer_eneweighted_scint_EE_zplus,
2227 _distancetomaxcell_perthickperlayer_eneweighted_scint_FH_zplus,
2228 _distancetomaxcell_perthickperlayer_eneweighted_scint_BH_zplus,
2229 _distancetoseedcell_perthickperlayer_eneweighted_120_EE_zplus,
2230 _distancetoseedcell_perthickperlayer_eneweighted_120_FH_zplus,
2231 _distancetoseedcell_perthickperlayer_eneweighted_120_BH_zplus,
2232 _distancetoseedcell_perthickperlayer_eneweighted_200_EE_zplus,
2233 _distancetoseedcell_perthickperlayer_eneweighted_200_FH_zplus,
2234 _distancetoseedcell_perthickperlayer_eneweighted_200_BH_zplus,
2235 _distancetoseedcell_perthickperlayer_eneweighted_300_EE_zplus,
2236 _distancetoseedcell_perthickperlayer_eneweighted_300_FH_zplus,
2237 _distancetoseedcell_perthickperlayer_eneweighted_300_BH_zplus,
2238 _distancetoseedcell_perthickperlayer_eneweighted_scint_EE_zplus,
2239 _distancetoseedcell_perthickperlayer_eneweighted_scint_FH_zplus,
2240 _distancetoseedcell_perthickperlayer_eneweighted_scint_BH_zplus,
2241 _distancebetseedandmaxcell_perthickperlayer_120_EE_zplus,
2242 _distancebetseedandmaxcell_perthickperlayer_120_FH_zplus,
2243 _distancebetseedandmaxcell_perthickperlayer_120_BH_zplus,
2244 _distancebetseedandmaxcell_perthickperlayer_200_EE_zplus,
2245 _distancebetseedandmaxcell_perthickperlayer_200_FH_zplus,
2246 _distancebetseedandmaxcell_perthickperlayer_200_BH_zplus,
2247 _distancebetseedandmaxcell_perthickperlayer_300_EE_zplus,
2248 _distancebetseedandmaxcell_perthickperlayer_300_FH_zplus,
2249 _distancebetseedandmaxcell_perthickperlayer_300_BH_zplus,
2250 _distancebetseedandmaxcell_perthickperlayer_scint_EE_zplus,
2251 _distancebetseedandmaxcell_perthickperlayer_scint_FH_zplus,
2252 _distancebetseedandmaxcell_perthickperlayer_scint_BH_zplus,
2253 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_EE_zplus,
2254 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_FH_zplus,
2255 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_120_BH_zplus,
2256 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_EE_zplus,
2257 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_FH_zplus,
2258 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_200_BH_zplus,
2259 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_EE_zplus,
2260 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_FH_zplus,
2261 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_300_BH_zplus,
2262 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_EE_zplus,
2263 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_FH_zplus,
2264 _distancebetseedandmaxcellvsclusterenergy_perthickperlayer_scint_BH_zplus
2268 print(
'extended : ',extended)
2269 regions_ClusterLevel = [
"General: Cluster Level",
"Z-minus: Cluster Level",
"Z-plus: Cluster Level"]
2270 regions_CellLevel = [
"Z-minus: Cell Level",
"Z-plus: Cell Level"]
2271 regions_LCtoCP_association = [
"Z-minus: LC_CP association",
"Z-plus: LC_CP association"]
2273 plots_lc_general_clusterlevel = lc_general_clusterlevel
2274 plots_lc_clusterlevel_zminus = lc_clusterlevel_zminus
2275 plots_lc_cellevel_zminus = lc_cellevel_zminus
2276 plots_lc_clusterlevel_zplus = lc_clusterlevel_zplus
2277 plots_lc_cellevel_zplus = lc_cellevel_zplus
2278 plots_lc_cp_association_zminus = lc_cp_association_zminus
2279 plots_lc_cp_association_zplus = lc_cp_association_zplus
2284 plots_lc_cellevel_zminus = lc_cellevel_zminus + lc_zminus_extended
2285 plots_lc_cellevel_zplus = lc_cellevel_zplus + lc_zplus_extended
2289 setPlots_ClusterLevel = [plots_lc_general_clusterlevel, plots_lc_clusterlevel_zminus, plots_lc_clusterlevel_zplus]
2290 setPlots_CellLevel = [plots_lc_cellevel_zminus, plots_lc_cellevel_zplus]
2291 setPlots_LCtoCP_association = [plots_lc_cp_association_zminus, plots_lc_cp_association_zplus]
2292 for reg, setPlot
in zip(regions_ClusterLevel, setPlots_ClusterLevel):
2293 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2297 loopSubFolders=
False,
2298 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2299 for reg, setPlot
in zip(regions_CellLevel, setPlots_CellLevel):
2300 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2304 loopSubFolders=
False,
2305 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2306 for reg, setPlot
in zip(regions_LCtoCP_association, setPlots_LCtoCP_association):
2307 hgcalLayerClustersPlotter.append(collection+
"_"+reg, [
2311 loopSubFolders=
False,
2312 purpose=PlotPurpose.Timing, page=layerClustersLabel, section=reg))
2316 return "DQMData/Run 1/HGCAL/Run summary/HGCalValidator/simClusters/"+lastDirName
2321 _totsimclusternum_thick,
2324 _totsimclusternum_layer_EE_zminus,
2325 _totsimclusternum_layer_FH_zminus,
2326 _totsimclusternum_layer_BH_zminus,
2328 _totsimclusternum_layer_EE_zplus,
2329 _totsimclusternum_layer_FH_zplus,
2330 _totsimclusternum_layer_BH_zplus,
2333 _mixedhitssimclusters,
2336 sc_ticltracksters = [
2339 _score_simcluster_to_layerclusters_zminus,
2341 _score_simcluster_to_layerclusters_zplus,
2344 _score_layercluster_to_simclusters_zminus,
2346 _score_layercluster_to_simclusters_zplus,
2349 _sharedEnergy_simcluster_to_layercluster_zminus,
2351 _sharedEnergy_simcluster_to_layercluster_zplus,
2354 _sharedEnergy_layercluster_to_simcluster_zminus,
2356 _sharedEnergy_layercluster_to_simcluster_zplus,
2359 _efficiencies_sc_zminus,
2360 _duplicates_sc_zminus,
2363 _efficiencies_sc_zminus_eta,
2364 _efficiencies_sc_zminus_phi,
2366 _efficiencies_sc_zplus,
2367 _duplicates_sc_zplus,
2370 _efficiencies_sc_zplus_eta,
2371 _efficiencies_sc_zplus_phi,
2374 _duplicates_sc_zminus_eta,
2375 _duplicates_sc_zminus_phi,
2377 _duplicates_sc_zplus_eta,
2378 _duplicates_sc_zplus_phi,
2381 _fakes_sc_zminus_eta,
2382 _fakes_sc_zminus_phi,
2384 _fakes_sc_zplus_eta,
2385 _fakes_sc_zplus_phi,
2388 _merges_sc_zminus_eta,
2389 _merges_sc_zminus_phi,
2391 _merges_sc_zplus_eta,
2392 _merges_sc_zplus_phi,
2395 _energyscore_sc2lc_zminus,
2397 _energyscore_sc2lc_zplus,
2400 _energyscore_lc2sc_zminus,
2402 _energyscore_lc2sc_zplus
2405 hgcalSimClustersPlotter = Plotter()
2408 if collection ==
"ClusterLevel":
2409 hgcalSimClustersPlotter.append(collection, [
2413 loopSubFolders=
False,
2414 purpose=PlotPurpose.Timing, page=
"SimClusters", section=name_collection))
2416 hgcalSimClustersPlotter.append(collection, [
2420 loopSubFolders=
False,
2421 purpose=PlotPurpose.Timing, page=
"SimClusters", section=name_collection))
2426 return "DQMData/Run 1/HGCAL/Run summary/HGCalValidator/"+lastDirName
2428 _multiclustersAllPlots = [
2435 _totmulticlusternum,
2436 _score_caloparticle_to_multiclusters,
2437 _score_multicluster_to_caloparticles,
2438 _sharedEnergy_caloparticle_to_multicluster,
2439 _sharedEnergy_multicluster_to_caloparticle,
2441 _energyscore_cp2mcl,
2442 _energyscore_mcl2cp,
2443 _clusternum_in_multicluster,
2444 _clusternum_in_multicluster_vs_layer,
2445 _clusternum_in_multicluster_perlayer_zminus_EE,
2446 _clusternum_in_multicluster_perlayer_zminus_FH,
2447 _clusternum_in_multicluster_perlayer_zminus_BH,
2448 _clusternum_in_multicluster_perlayer_zplus_EE,
2449 _clusternum_in_multicluster_perlayer_zplus_FH,
2450 _clusternum_in_multicluster_perlayer_zplus_BH,
2451 _multicluster_layernum,
2452 _multiplicityOfLCinMCL,
2455 hgcalMultiClustersPlotter = Plotter()
2458 hgcalMultiClustersPlotter.append(collection, [
2461 *_multiclustersAllPlots,
2462 loopSubFolders=
False,
2463 purpose=PlotPurpose.Timing, page=
"MultiClusters", section=name_collection))
2486 _common_Calo = {
"stat":
False,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.0,
"ylog":
False}
2488 hgcalCaloParticlesPlotter = Plotter()
2491 list_2D_histos = [
"Energy of Rec-matched Hits vs layer",
2492 "Energy of Rec-matched Hits vs layer (1SC)",
2493 "Rec-matched Hits Sum Energy vs layer"]
2495 dqmfolder =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/SelectedCaloParticles/" + collection
2496 templateFile = ROOT.TFile.Open(files[0])
2497 if not gDirectory.GetDirectory(dqmfolder):
2498 print(
"Error: GeneralInfo directory %s not found in DQM file, exit"%dqmfolder)
2499 return hgcalTrackstersPlotter
2501 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2505 name = obj.GetName()
2506 fileName = TString(name)
2507 fileName.ReplaceAll(
" ",
"_")
2508 pg= PlotGroup(fileName.Data(),[
2510 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2512 normalizeToNumberOfEvents =
True, **_common_Calo)
2516 if name
in list_2D_histos :
2517 pg= PlotOnSideGroup(plotName.Data(),
2519 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2520 drawCommand =
"COLZ",
2521 normalizeToNumberOfEvents =
True, **_common_Calo)
2525 hgcalCaloParticlesPlotter.append(
"CaloParticles_"+name_collection, [
2529 loopSubFolders=
False,
2530 purpose=PlotPurpose.Timing, page=
"CaloParticles", section=name_collection)
2533 key = keys.After(key)
2535 templateFile.Close()
2537 return hgcalCaloParticlesPlotter
2541 grouped = {
"cosAngle Beta": PlotGroup(
"cosAngle_Beta_per_layer",[],ncols=10),
"cosAngle Beta Weighted": PlotGroup(
"cosAngle_Beta_Weighted_per_layer",[],ncols=10)}
2542 groupingFlag =
" on Layer "
2544 hgcalTrackstersPlotter = Plotter()
2545 dqmfolder =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/" + collection
2548 _common[
"ymin"] = 0.0
2549 _common[
"staty"] = 0.85
2550 templateFile = ROOT.TFile.Open(files[0])
2551 if not gDirectory.GetDirectory(dqmfolder):
2552 print(
"Error: GeneralInfo directory %s not found in DQM file, exit"%dqmfolder)
2553 return hgcalTrackstersPlotter
2555 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2559 name = obj.GetName()
2560 plotName = TString(name)
2561 plotName.ReplaceAll(
" ",
"_")
2563 if groupingFlag
in name:
2564 for group
in grouped:
2565 if group+groupingFlag
in name:
2566 grouped[group].
append(Plot(name,
2567 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2572 if obj.InheritsFrom(
"TH2"):
2573 pg = PlotOnSideGroup(plotName.Data(),
2575 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2576 drawCommand =
"COLZ",
2580 pg = PlotGroup(plotName.Data(),
2582 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2583 drawCommand =
"COLZ",
2586 ncols=1, legendDh=-0.03 * len(files))
2588 hgcalTrackstersPlotter.append(name_collection+
"_TICLDebugger",
2589 [dqmfolder], PlotFolder(pg,
2590 loopSubFolders=
False,
2591 purpose=PlotPurpose.Timing, page=
"MultiClusters", section=name_collection)
2595 key = keys.After(key)
2597 for group
in grouped:
2598 hgcalTrackstersPlotter.append(name_collection+
"_TICLDebugger",
2599 [dqmfolder], PlotFolder(grouped[group],
2600 loopSubFolders=
False,
2601 purpose=PlotPurpose.Timing, page=
"MultiClusters", section=name_collection)
2605 templateFile.Close()
2607 return hgcalTrackstersPlotter
2610 _common_Calo = {
"stat":
False,
"drawStyle":
"hist",
"staty": 0.65,
"ymin": 0.0,
"ylog":
False}
2612 hgcalCaloParticlesPlotter = Plotter()
2615 dqmfolder =
"DQMData/Run 1/HGCAL/Run summary/HGCalValidator/SelectedCaloParticles/" + collection
2618 templateFile = ROOT.TFile.Open(files[0])
2619 keys = gDirectory.GetDirectory(dqmfolder,
True).GetListOfKeys()
2623 name = obj.GetName()
2624 plotName = TString(name)
2625 plotName.ReplaceAll(
" ",
"_")
2626 pg= PlotGroup(plotName.Data(),[
2628 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2630 normalizeToNumberOfEvents =
True, **_common_Calo)
2634 if obj.InheritsFrom(
"TH2"):
2635 pg= PlotOnSideGroup(plotName.Data(),
2637 xtitle=obj.GetXaxis().GetTitle(), ytitle=obj.GetYaxis().GetTitle(),
2638 drawCommand =
"COLZ",
2639 normalizeToNumberOfEvents =
True, **_common_Calo),
2642 hgcalCaloParticlesPlotter.append(
"CaloParticles_"+name_collection, [
2646 loopSubFolders=
False,
2647 purpose=PlotPurpose.Timing, page=
"CaloParticles", section=name_collection)
2650 key = keys.After(key)
2652 templateFile.Close()
2654 return hgcalCaloParticlesPlotter
2659 return "DQMData/Run 1/HGCAL/Run summary/"+dirName
2661 hgcalHitPlotter = Plotter()
2663 simHitsLabel =
'Simulated Hits'
2665 hgcalHitPlotter.append(
"SimHits_Validation", [
2666 "DQMData/Run 1/HGCAL/Run summary/HGCalSimHitsV/HitValidation",
2669 loopSubFolders=
False,
2670 purpose=PlotPurpose.Timing, page=hitsLabel, section=simHitsLabel
2674 _hitsCommonPlots_EE = [
2675 _Occupancy_EE_zplus,
2676 _Occupancy_EE_zminus,
2680 _hitsCommonPlots_HE_Sil = [
2681 _Occupancy_HE_Silicon_zplus,
2682 _Occupancy_HE_Silicon_zminus,
2683 _EtaPhi_HE_Silicon_zminus,
2684 _EtaPhi_HE_Silicon_zplus
2686 _hitsCommonPlots_HE_Sci = [
2687 _Occupancy_HE_Scintillator_zplus,
2688 _Occupancy_HE_Scintillator_zminus,
2689 _EtaPhi_HE_Scintillator_zminus,
2690 _EtaPhi_HE_Scintillator_zplus
2693 regions = [
"HGCalEESensitive",
"HGCalHESiliconSensitive",
"HGCalHEScintillatorSensitive"]
2694 setPlots = [_hitsCommonPlots_EE, _hitsCommonPlots_HE_Sil, _hitsCommonPlots_HE_Sci]
2695 if "SimHits" in collection :
2696 _hitsCommonPlots_EE.append(_Energy_EE_0)
2697 _hitsCommonPlots_EE.append(_Energy_EE_1)
2698 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Silicon_0)
2699 _hitsCommonPlots_HE_Sil.append( _Energy_HE_Silicon_1)
2700 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator_0)
2701 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator_1)
2702 if "RecHits" in collection :
2703 _hitsCommonPlots_EE.append(_Energy_EE)
2704 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Silicon)
2705 _hitsCommonPlots_HE_Sil.append(_Energy_HE_Scintillator)
2707 for reg, setPlot
in zip(regions, setPlots):
2708 dirName = collection+
"/"+reg
2710 hgcalHitPlotter.append(collection, [
2714 loopSubFolders=
False,
2715 purpose=PlotPurpose.Timing, page=hitsLabel, section=name_collection))
2717 _digisCommonPlots_EE = [
2718 _DigiHits_Occupancy_EE_zplus,
2719 _DigiHits_Occupancy_EE_zminus,
2720 _DigiHits_Occupancy_XY_EE,
2725 _digisCommonPlots_HE_Sil = [
2726 _DigiHits_Occupancy_HE_Silicon_zplus,
2727 _DigiHits_Occupancy_HE_Silicon_zminus,
2728 _DigiHits_Occupancy_XY_HE_Silicon,
2729 _DigiHits_ADC_HE_Silicon,
2730 _DigiHits_TOA_HE_Silicon,
2731 _DigiHits_TOT_HE_Silicon,
2733 _digisCommonPlots_HE_Sci = [
2734 _DigiHits_Occupancy_HE_Scintillator_zplus,
2735 _DigiHits_Occupancy_HE_Scintillator_zminus,
2736 _DigiHits_Occupancy_XY_HE_Scintillator,
2737 _DigiHits_ADC_HE_Scintillator,
2738 _DigiHits_TOA_HE_Scintillator,
2739 _DigiHits_TOT_HE_Scintillator,
2743 regions = [
"HGCalEESensitive",
"HGCalHESiliconSensitive",
"HGCalHEScintillatorSensitive"]
2744 setPlots = [_digisCommonPlots_EE, _digisCommonPlots_HE_Sil, _digisCommonPlots_HE_Sci]
2745 for reg, setPlot
in zip(regions, setPlots):
2746 dirName = collection+
"/"+reg
2748 hgcalHitPlotter.append(name_collection, [
2752 loopSubFolders=
False,
2753 purpose=PlotPurpose.Timing, page=hitsLabel, section=name_collection))
2757 hgcalHitCalibPlotter = Plotter()
2758 hitCalibrationLabel =
'Calibrated RecHits'
2760 hgcalHitCalibPlotter.append(
"Layer_Occupancy", [
2761 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2764 loopSubFolders=
False,
2765 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2767 hgcalHitCalibPlotter.append(
"ReconstructableEnergyOverCPenergy", [
2768 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2770 _ReconstructableEnergyOverCPenergy,
2771 loopSubFolders=
False,
2772 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2775 hgcalHitCalibPlotter.append(
"ParticleFlowClusterHGCalFromMultiCl_Closest_EoverCPenergy", [
2776 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2778 _ParticleFlowClusterHGCalFromMultiCl_Closest_EoverCPenergy,
2779 loopSubFolders=
False,
2780 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2783 hgcalHitCalibPlotter.append(
"PhotonsFromMultiCl_Closest_EoverCPenergy", [
2784 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2786 _PhotonsFromMultiCl_Closest_EoverCPenergy,
2787 loopSubFolders=
False,
2788 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel
2791 hgcalHitCalibPlotter.append(
"EcalDrivenGsfElectronsFromMultiCl_Closest_EoverCPenergy", [
2792 "DQMData/Run 1/HGCalHitCalibration/Run summary",
2794 _EcalDrivenGsfElectronsFromMultiCl_Closest_EoverCPenergy,
2795 loopSubFolders=
False,
2796 purpose=PlotPurpose.Timing, page=hitCalibrationLabel, section=hitCalibrationLabel