Re: [ROOT] Histogram

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 18 2002 - 19:18:51 MEST


Hi Giuseppe,

On Thu, 18 Jul 2002, [iso-8859-1] giuseppe.foggi@libero.it wrote:

> Hi, 
> in the script "hlabels1.c" there is the statement:
>       h->Fill(people[r],1)
> where:
>   h is TH1F object
>   people is a vector of char*
> 
> so, people[r] is x-value of histogram, but y-value?
> 

y-value is 1. See prototype in TH1
    virtual Int_t    Fill(const char *name, Stat_t w);

> In this script, LabelsDeflate() function is used, in which class was 
> defined it?

Also defined in TH1

    virtual void     LabelsDeflate(Option_t *axis="X");

Rene Brun

> 
> What is the mean of "bin" in TH1F class?
> Thanks.
> Giuseppe.
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET