[ROOT] same name in TClonesArray and in class

From: Benoit Revenu (revenu@iap.fr)
Date: Mon May 12 2003 - 15:19:27 MEST


Dear rooters,

I have a class B containing a TClonesArray of objects A. A has a member 
called status;

B has a member called status too.

In the output root file (using Tree Viewer), I can read the two status 
members BUT the B::status is the same as the B::TClonesArray::status and 
it shouldn't. A solution is to rename B::status in B::status2 and 
everything is correct in the root file but this is not a good solution. 
Any other idea ????

 -- 

                Benoît



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