[ROOT] Reading old TTrees

From: Benjamin E. Norman (bnorman@star.physics.kent.edu)
Date: Wed Mar 26 2003 - 00:52:21 MET


Hi,
	I have a TTree written in Root 2.25.03.  The STAR library version 
corresponding to the time this file was written will no longer allow me 
to compile the classes that correspond to the TTree leaves (due to 
incompatibility of the current compiler with the old STAR library source 
code).  So I can open the TTree and draw histograms, but I can't run 
analysis code on it.  What I need is a way to read this file in Root 
3.02.  If I try to do that, I get errors like:

Error in <TObjArray::At>: index 49 out of bounds (size: 18, this: 
0x094b4d00)
Error in <TObjArray::At>: index 781 out of bounds (size: 13, this: 
0x094d8948)
Error in <TBuffer::CheckByteCount>: object of class TNamed read too few 
bytes
Warning in <TBuffer::CheckByteCount>: TNamed::Streamer() not in sync 
with data on file, fix Streamer()

  *** Break *** segmentation violation

Is there any way to read this old (Root 2.25) file with new Root (3.02), 
or convert it, or something?  I've heard these magic words "schema 
evolution"....

Thanks,
Ben

-- 
Benjamin E. Norman            Kent State University Physics Dept
bnorman@kent.edu                                 Kent, OH  44240
330-672-0098                                                 USA



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