Bug in h2root

I am working with fedora 43, using ROOT 6.38.00.

The conversion of the histograms has problems I guess with the definition of error bars.

I am attaching one example with an histogram from paw and converted from h2root

I am still doing analyses using fortran/paw and root.

Thanks for your help.

Try: h61->Draw("HIST");
Maybe you also want: h61->Sumw2(kFALSE);

1 Like

The histogram from ROOT is obtained just using TBrowser. I am using h2root since many years and this is a new issue.

It might be you were using an old version of ROOT.
In ROOT, by default, an histogram contaning errors is drawn with error bars if you do
not specify any drawing option. The solutions @Wile_E_Coyote suggested are the right ones.

Problem solved. Thanks.

@couet The interesting question is why the “bin errors” are equal to the “bin content”.