Re: TGraphErrors::GetError

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Mar 03 2000 - 16:54:21 MET


Hi Norbert,

I do not see anything wrong. Both
TGraph::GetPoint(i,&x,&y)
and
TGraphErrors::GetErrorX(i)

are consistent. i is the index of the point starting at 0

Rene Brun

Norbert Danneberg wrote:
> 
> Hi ,
> 
> is it correct that in TGraph::GetPoint(i,&x,&y) i is the index of the
> point,
> starting at 0 and in TGraphErrors::GetErrorX(n) n is the bin number of
> the corresponding Histo, starting at 1.
> 
> So n=i+1 ?
> 
> Norbert
> 
> --
> 
> Norbert Danneberg
> 
> ETH Zurich - Institute for Particle Physics
>   Laboratory for Nuclear Physics          Phone.: +41-1-633-2034
>   Hoenggerberg                            Fax.:   +41-1-633-1067
>   CH-8093 Zurich
> 
> ETH Zurich - Institute for Particle Physics
>   Paul Scherrer Institute                 Phone.: +41-56-310-3284
>   CH-5232 Villigen PSI                    Fax.:   +41-56-310-4362
> 
> email: Norbert.Danneberg@psi.ch



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET