I tried to use weighting method in histogram.
I did the following:
histo->Sumw2();
histo->Fill( value, weight)
and to get bin content and error;
histoname(pointer)->GetBincontent(bin) and ->GetBinError(bin)
to get total entries,
->GetSumOfWeights().
I didn’t find the numbers of bin content exactly same what I get manually, even not closer. Is there a rounding off issue ? or is there a separate way to deal the weighted histogram to get bin content, error and so on?
Thanks
Pramod