Hi Marek,
In your script, replace
Float_t pt;
Float_t rap;
by
Double_t pt;
Double_t rap;
Rene Brun
Marek Kowalski wrote:
>
> Hi,
> This simple macro produces only zeros, while the histogram is not empty and
> looks reasonable. Both macro and a file with histogram are attached. This
> happens for root 3.03/07 and 3.05/02. I did not check for the others.
> Cheers, Marek Kowalski
>
> --------------------------------------------------------------------------------
> Name: rand.C
> rand.C Type: text/x-c++src
> Encoding: 7bit
>
> Name: k_rap-pt.root
> k_rap-pt.root Type: unspecified type (application/octet-stream)
> Encoding: base64
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET