Re: same problem read TArrayX

From: Fons Rademakers (rdm@pcsalo.cern.ch)
Date: Tue Oct 26 1999 - 14:58:35 MEST


Hi Maria,

  you still have the problem with the split=0 version? Make sure
split=0, split=1 will still not work.

Cheers, Fons.


> 
> I had a problem with TTree lecture and I sent a mail to this list:
> 
> hi,
> I am working with my class which contains some pointers to TArrayX.
> When I write it on a TTree I create a TBranch and I have two
> possibilities with the branch's split level .
> * with split level = 1. In this case I fill my TTree without problems
> but after that I can not read the TArrayX of my create TTree. (With ROOT
> 
> 2.21/08 et 2.22/10).
> * with split level= 0. I can read the TArrayX with the old version
> (2.21/08) but with the new one (2.22/10) I have an error message
> 
> Error in <TExMap::Add>: key 2 is not unique
> 
> What could be the solution to work with the new version?
> Thanks in advance
> 
> The answer was:
> 
> Hi Maria,
> 
> the split level=0 problem wih TArrayX has been fixed in our development
> version, which we hope to release real soon now.
> 
> Cheers, Fons.
> 
> (Thanks you for your help)
> 
> Now I'm working with the new ROOT version 2.23/06 in HP and LINUX (I
> recompile my program, classes, dictionary and library) but, in fact I
> have the same error... May be I'm doing something wrong??...
> 
> 
> 
> Maria MORA
> 
> --------------B5C68ADA565DE07FD8175179
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> <HTML>
> 
> 
> <P>I had a problem with TTree lecture and I sent a mail to this list:
> 
> <P><I>hi,</I>
> <BR><I>I am working with my class which contains some pointers to TArrayX.</I>
> <BR><I>When I write it on a TTree I create a TBranch and I have two</I>
> <BR><I>possibilities with the branch's split level .</I>
> <BR><I>* with split level = 1. In this case I fill my TTree without problems</I>
> <BR><I>but after that I can not read the TArrayX of my create TTree. (With
> ROOT</I>
> <BR><I>2.21/08 et 2.22/10).</I>
> <BR><I>* with split level= 0. I can read the TArrayX with the old version</I>
> <BR><I>(2.21/08) but with the new one (2.22/10) I have an error message</I><I></I>
> 
> <P><I>Error in &lt;TExMap::Add>: key 2 is not unique</I><I></I>
> 
> <P><I>What could be the solution to work with the new version?</I>
> <BR><I>Thanks in advance</I>
> 
> <P>The answer was:
> 
> <P><I>Hi Maria,</I><I></I>
> 
> <P><I>the split level=0 problem wih TArrayX has been fixed in our development</I>
> <BR><I>version, which we hope to release real soon now.</I><I></I>
> 
> <P><I>Cheers, Fons.</I><I></I>
> 
> <P>(Thanks you for your help)
> 
> <P>Now I'm working with the new ROOT version 2.23/06 in HP and LINUX (I
> recompile my program, classes, dictionary and library) but, in fact I have
> the same error... May be I'm doing something wrong??...
> <BR>&nbsp;
> <BR>&nbsp;
> 
> <P>Maria MORA</HTML>
> 
> --------------B5C68ADA565DE07FD8175179--
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET