RE: [ROOT] TLorentzVector

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Sep 06 2002 - 19:56:40 MEST


Hi,

In order to use TLorentzVector you __first__ need to include the physics
library (which implements the lorentz vector):

	root [] gSystem->Load("libPhysics");

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jyothsna Rani
Sent: Monday, September 02, 2002 12:03 PM
To: roottalk
Subject: [ROOT] TLorentzVector



I wasn't successful using TLorentzVector with v3_02_07c or v3_03_07d on
Linux-2-4 using KCC-4.

I get errors like:
Warning: Re-initialization ignored const kMaxInt
FILE:/fnal/ups/root/Linux-2-4/v3_03_07dKCC_4_0-exception-opt-thread/include/
Rtypes.h
LINE:90
Warning: Re-initialization ignored const kMaxShort
FILE:/fnal/ups/root/Linux-2-4/v3_03_07dKCC_4_0-exception-opt-thread/include/
Rtypes.h
LINE:91
Warning: Re-initialization ignored const kBitsPerByte
FILE:/fnal/ups/root/Linux-2-4/v3_03_07dKCC_4_0-exception-opt-thread/include/
Rtypes.h
LINE:92
Warning: Re-initialization ignored const kNPOS
FILE:/fnal/ups/root/Linux-2-4/v3_03_07dKCC_4_0-exception-opt-thread/include/
Rtypes.h
LINE:93
Limitation: Reference member not supported. Please use pointer
FILE:/fnal/ups/root/Linux-2-4/v3_03_07dKCC_4_0-exception-opt-thread/include/
TGenericClassInfo.h
LINE:28
*** Interpreter error recovered ***

When I load my macro in root session.

I just want to get the invariant mass of two jets using the M() method. My
macro works just fine if I don't make use of LorentzVectors.

Thanks for any help.
Jyothsna

   -------------------------------------------------------------
        K. Jyothsna Rani,       Phone Number:
        Tata Institute,                 630-840-3590 (Office)
        DZero Experiment,               630-840-4236 (Residence)
        Mail Station : 352,     FAX:
        P.O.Box : 500,                  630-840-8481
        Fermilab,               E-mail:
        Batavia, IL - 60510             jyothsna@fnal.gov
  ---------------------------------------------------------------



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