Re: [ROOT] Filling histogram contents and errors with vectors?

From: Marek Kowalski (Marek.Kowalski@cern.ch)
Date: Thu Nov 20 2003 - 17:23:01 MET


Hi,
You can use SetContent and SetError methods of the TH1 class.
Cheers, Marek Kowalski

On Thursday 20 November 2003 18:58, Bernard Andrieu wrote:
> Hello,
>
> what is the simplest way of filling an existing 1d-histogram with the
> values of two vectors, one for the contents, one for the errors?
>
> In other words, I'm looking for a root equivalent to PAW commands
> put/contents and put/errors.
>
> Thanks for help.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET