[ROOT] Overlapping TObjects?

From: Simon Dean (sdean@hep.man.ac.uk)
Date: Wed Apr 03 2002 - 23:37:11 MEST


Hi there,

I have a class that inherits from TObject. If I destroy one instance of
this class and make a new one, is there any possibility that some of the
member variables from the first instance are somehow kept in the ROOT
system and re-used in the next instance?

Specifically, I have a class called 'SDAQ' (inherited from TObject) which
has a member variable 'numHDI'. When I make a new SDAQ, I set numHDI to
0. However, when I print numHDI out after the constructor has occurred, it
still has the old value from the previous SDAQ. Puzzling...........

cheers,

Simon 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET