Re: [ROOT] TVector 3

From: Lucia Masetti (lucia.masetti@cern.ch)
Date: Wed Apr 28 2004 - 17:00:00 MEST


Hi,
to use the class TVector3 you need to load the Physics library with the line

root[0] .L libPhysics.so

then your declaration should work.

Hope this helps.

Cheers,
Lucia

> Hello all,
>
> sorry if I am repeating something that maybe has already been discussed.
> I downloaded the tar-ball of Root 4.00.03, and when I tried to use it
> for some macros, I noticed that the interpreter has some problems in
> interpreting a line where I declare a TVector3 object.
>
> It looks like if it doesn't recognize the TVector3 as a declaration
> type:
>
> -----
> root[0] TVector3 v
> Error: Symbol TVector3v is not defined in current scope  FILE:(tmpfile)
> LINE:1
> *** Interpreter error recovered ***
> -----
>
> what to do to overcome this problem?
>
> Cheers,
> 	Alberto



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET