Remove error bars

Dear All

i have a histogram and i want to remove error bar from it . i Try diiferent ways but all useless. Plz could someone help me.


Thank you so much. It is working .
but i want a little more improvement in plots . i want a smooth shape of histograms.

as you see in zmass plot there is ups and down i want a smooth curve or plot for it. Thankyou.

Try: z_pt_ee->Draw("HIST C");
or: z_pt_ee->Draw("HIST L");

But maybe you are looking for something like this:

TH1 *z_pt_ee_5 = z_pt_ee->Rebin(5, "z_pt_ee_5"); // merges 5 bins into 1 bin

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.