[ROOT] Write/Read Trees with objects as variables

From: Pascal PERRODO (perrodo@lapp.in2p3.fr)
Date: Mon Sep 29 2003 - 15:38:20 MEST


Hi rooters,

I try to create and read Trees containing not only Int_t and Float_t, 
but also objects (TH1F).
I have tried to follow the recipies in the documentation (p202, Adding a 
TBranch to Hold an Object).

I have written a simple example in the directory
/afs/cern.ch/user/p/pperrodo/public/tree/
tree-read.C : creates the tree tree.root and seems to work
tree-write.C : reads the tree and failed. Could you help me to read such 
a tree.

I use the Version   3.05/05        8 May 2003 on redhat.

Many thanks in advance.
Regards.
Pascal Perrodo.

  



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