How can I get the error bar when I divide Histogram like that :
hist1->Divide(hist2);
hist1->Draw();
because if I use hist1->Draw(“e”); I ve got large error bar
thx
Cédric
How can I get the error bar when I divide Histogram like that :
hist1->Divide(hist2);
hist1->Draw();
because if I use hist1->Draw(“e”); I ve got large error bar
thx
Cédric
Before calling TH1::Divide, call
hist1->Sumw2();
or
hist2->Sumw2();
see doc of TH1::Divide at:
root.cern.ch/root/htmldoc/TH1.html#TH1:Divide
Rene
thx a lot