23sqroot =
ROOT.TF1(
"sqroot",
"x*gaus(0) + [3]*form1", rangeMin, rangeMax)
27h1d =
ROOT.TH1D(
"h1d",
"Test random numbers", nBins, rangeMin, rangeMax)
41plt.text(5, 40,
"The sqroot function", fontsize=18, weight=
"bold", bbox=dict(facecolor=
"white", edgecolor=
"black"))
46hep.histplot(h1d, yerr=
False, histtype=
"fill", color=
"brown", alpha=0.7, edgecolor=
"blue", linewidth=1)
55 f
"Entries = {len(random_numbers)}\nMean = {(np.mean(random_numbers)):.3f}\nStd Dev = {(np.std(random_numbers)):.2f}"
57plt.text(0.90, 0.90, stats_text, transform=
plt.gca().transAxes, ha=
"right", va=
"top", bbox=dict(facecolor=
"white"))
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.