Re: Sumw2

Rene Brun (Rene.Brun@cern.ch)
Thu, 11 Mar 1999 17:23:13 +0000


Patrice (Pat) wrote:
>
> Hello,
>
> When TH1F::Sumw2() is used, TH1F objects are
> automatically drawn with error bars.
> But How to draw its without error bars ?
> That seems impossible!
>
> Thanks for your help.
>

Salut Patrice,
You can use the UNDOCUMENTED option "hist" in TH1::Draw.

h->Draw("hist")

will draw only the histo contour (no errors or associated functions).
I have added the option in the comments of TH1::Draw.

Rene