[ROOT] writing trees

From: Daniel Holmes (Daniel.Holmes@cern.ch)
Date: Thu Jan 09 2003 - 13:58:17 MET


Hi,

I have followed Rene's advice and am trying to write out a root tree from
within some c++ code.. The class i have written can be found under:

/afs/cern.ch/user/d/dholmes/public/rootTree.cc 
/afs/cern.ch/user/d/dholmes/public/rootTree.h

I run my methods in the order:
costructor..opens the tree (successful)
BeamParamsFill ..ok??!
EvtFill ..crashes..

The problem comes at line 28 of the .cc file, in short i don't seem to be
able to message the tree ptr t1 that i set up and tested in a previous
method??  I don't know if my mistake is root or c++ based so apologies if
its the latter..  Any thoughts/advice is much appreciated.

cheers,

Dan.



CMS-Bristol
http://cern.ch/dan.holmes



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