17from ROOT
import TFile, gROOT
24example =
TFile(
"py-hsimple.root")
34info_text = f
"Entries = {entries}\nMean = {mean:.5f}\nStd Dev = {std_dev:.3f}"
38hep.histplot(hpx, ax=ax1, histtype=
"fill", color=
"#EEAC91", alpha=0.5, edgecolor=
"blue", linewidth=1.5)
44 verticalalignment=
"top",
46 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
58ax2.bar3d(x, y, z, dx, dy, dz, color=
"#EEAC91", edgecolor=
"darkblue", alpha=0.85)
65 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
71hep.histplot(hpx, ax=ax3, histtype=
"errorbar", color=
"darkblue")
78 verticalalignment=
"top",
80 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
83mpl_fig.suptitle(
"Drawing options for one dimensional histograms", fontsize=14, fontweight=
"bold")
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...