Hi Benjamin, Could you provide Rene and me access to your original ROOT file, the class header that where used to build it (yes the old ones) and the class headers that you are using to try to read it with root 3.02? Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Benjamin E. Norman Sent: Tuesday, March 25, 2003 5:52 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] Reading old TTrees 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