TTree::GetEvent without creating new objects?

From: Robert Casties (casties@mail.desy.de)
Date: Thu Oct 30 1997 - 16:21:02 MET


Hello rooties!

I just created a TTree with some of my own objects (non-split). Now I want
to loop through the tree using one object in memory (I generated that
before). 

If I call TTree::GetEvent() first the objects destructor is called and
then it's constructor and Streamer thus deleting and recreating my object
for every event. 

The BranchAddress seems not to change so the object seems to stay in
place. But still there are some new and delete's called (I think).

Is there any other entry point or do I have to design my object (which
contains variable length arrays) such that it does not delete itself? 


Thanks
	Robert



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