Re: [ROOT] TVector3 arithmetic

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Sep 05 2003 - 17:28:38 MEST


Hi Takefumi,

I am not sure to understand fully your request.

You can add the statement
   gSystem->Load("libPhysics");
in your rootlogon.C file if you always use the libPhysics library.

Rene Brun

Takefumi SORA wrote:
> 
> Hi, rooters.
> 
> I have two questions.
> 
> 1. To use TVector3 we must execute "gSystem->Load("libPhysics")".
> And to use my original macro, we execute ".L mymacro.C"
> To use them without writing in my script, Where should we write
> these infomation?
> 
> 2. I can call TVector3 class but I can't do the operations
> (e.g. v1 = v2 - v3, v2 += v1) which are defined in TVector3.
> What file should I load?
> 
> Takefumi



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET