Re: [ROOT] TTree, TLorentzVector and splitting

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Jun 23 2001 - 15:22:18 MEST


Hi Volker,

I am currently working on this problem. I hope to have a fix
in the coming days.

Rene Brun

On Sat, 23 Jun 2001, Volker Hejny wrote:

> Hi all,
> 
> I´m currently using version 3.01 and observed the following behaviour
> when upgrading from previous versions. I store a class A in a tree,
> which contains a TClonesArray of class B. Two member variables of
> class B are of type TLorentzVector. The branch has been set using
> tree->Branch("name","A",&pA).
> 
> When reading data written with this code, the 3-vector component
> of TLorentzVector is always zero. Setting the split level explicitly
> to 1, the data are valid again. 
> 
> Is this a wanted "feature"?
> 
> Best regards,
> Volker
> 
> -- 
> Dr. Volker Hejny                Tel: 02461/616853                      ** 
> Institut f. Kernphysik          Fax: 02461/613930                     **
> ---------------------------------------------------------------- **  ** ---  
> Forschungszentrum Juelich GmbH, D-52425 Juelich                    **
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET