Re: [ROOT] Drawing error bars directly with TChain->Draw method ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 05 2001 - 16:46:45 MEST


Hy Cyril,

If you do:
  chain->Draw("var1","var2","e1")

This will histogram the variable "var1" with weight "var2". The resulting 
histogram will have errors bars correctly computed and drawn.

Rene Brun

Cyril Lachaud wrote:
> 
> Hi all,
> there is no way to actually Draw directly an histo with Error bars coming
> from the same Tree by something like
> TChain->Draw("var1:var2","ErrorVar1:ErrorVar2",...) method ?
> 
> Is there a way to avoid the other way (adressing branch and all that) ?
> 
>         Cyril



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET