17from ROOT
import TFile, gROOT
23File =
"py-hsimple.root"
25 ROOT.Info(
"hist015_TH1_read_and_draw.py", File +
" does not exist")
38info_text = f
"Entries = {entries}\nMean = {mean:.5f}\nStd Dev = {std_dev:.3f}"
42hep.histplot(hpx, ax=ax1, histtype=
"fill", color=
"#EEAC91", alpha=0.5, edgecolor=
"blue", linewidth=1.5)
48 verticalalignment=
"top",
50 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
62ax2.bar3d(x, y, z, dx, dy, dz, color=
"#EEAC91", edgecolor=
"darkblue", alpha=0.85)
69 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
75hep.histplot(hpx, ax=ax3, histtype=
"errorbar", color=
"darkblue")
82 verticalalignment=
"top",
84 bbox=dict(boxstyle=
"round,pad=0.3", facecolor=
"white", alpha=0.7),
87mpl_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...