As @alex_HXY said you should create h2
with the same number of bin as h1
.
Also I see that you create h3
with the name "n_energy_p/n"
. That’s not a good idea to have “/” in histograms’ names. See:
As @alex_HXY said you should create h2
with the same number of bin as h1
.
Also I see that you create h3
with the name "n_energy_p/n"
. That’s not a good idea to have “/” in histograms’ names. See: