Reading Histogram, Histogram drawing Empty

Hi,

How ws created the bin with Sumw2() ? If you just call TH1::Sumw2() and then TH1::SetBinContent without calling also TH1::SetBinError, all the errors of the histograms are zero. In this case the histogram cannot be fitted and you get that error message, “Warning in : Fit data is empty”.

Lorenzo