Re: [ROOT] MakeClass leafs

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 29 2001 - 09:20:14 MET


Hi Paul,

My guess is that you removed from the loop the statement calling GetEntry.

Rene Brun

Paul Parazzoli wrote:
> 
>    Part 1.1       Type: Plain Text (text/plain)
>               Encoding: quoted-printable
Hey folks,
I have used make class to generate mine.C and mine.h.
now if I say,  "m.Show(16)", in the command line then it puts out all those leaf
values correctly.  But if I edit the Loop() method to say, "printf( "%f ",
someLeaf[ jentry ] )", I get nothing but zeroes.  So why is that?
if I say myHisto->Fill( "someLeaf[ jentry ]"), it also fills myHisto with a
bunch of zeros

thanks
paul



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