Re: [ROOT] Error in TParticle

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 06 2000 - 15:08:47 MEST


Hi Boris,
Thanks for reporting this type in Momentum. Now fixed in 2.24/06

Rene Brun

Boris Polishchuk wrote:
> 
>         Dear Rooters,
> 
> I found an error in TParticle::Momentum(TLorentzVector &v):
> 
>         void Momentum(TLorentzVector &v) { v.SetPxPyPzE(fPx,fPy,fPx,fE);},
> 
> I think, it must be
>         void Momentum(TLorentzVector &v) { v.SetPxPyPzE(fPx,fPy,fPz,fE);} !
> 
>                                 Best regards,
>                                                 Boris Polishchuk



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET