Re: [ROOT] Compiling

From: Farahnaaz Nauyock (farah@pc56.hep.man.ac.uk)
Date: Wed Jul 17 2002 - 17:33:18 MEST


Hi Rene,

Many thanks for your help. I finally realised that the reason I wasn't
getting the required plots was because I only had a few events to work
with. These were generated by someone else and I made the mistake of
assuming that just like previously, 1000 events were generated for
me. But now I've generated more events myself and my plots seem fine!

Cheers,
Farah


On Wed, 17 Jul 2002, Rene Brun wrote:

> Hi Farah,
>
> You had many many C++ coding errors in your files h99.h and h99.C
> I have corrected many of them and I can execute. I get the following
> result when executing the session
> root [0] .L h99.C
> root [1] h99 t
> root [2] t.Loop()
> Event 3: b*b < 4ac
> Event 4: b*b < 4ac
> Event 5: b*b < 4ac
>
> If you are new to C++ and ROOT, I suggest to use the C++ compiler directly
> to spot the error messages in your code. You can use the compiler directly
> by doing
>   .L h99.C++
> instead of
>   .L h99.C
>
> See my modified files in the attachements and make the diff with
> your original code.
>
> Rene Brun
>
>
> On Tue, 16 Jul 2002, Farahnaaz Nauyock wrote:
>
> > Hi there,
> >
> > I'm trying to compile some C++ code using ROOT and for some reason ROOT
> > compiles only 5 of the 1000 existing entries. I don't get any plots.
> >
> > The programs together with the root file can be found on my web page at:
> >
> > http://www.hep.man.ac.uk/~farah/physics.html
> >
> > Can someone please tell me what's wrong?
> >
> > Cheers,
> > Farah
> >
> >
> >
> >
> >
>



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