[ROOT] same name in TClonesArray and in class

From: Benoit Revenu (revenu@iap.fr)
Date: Mon May 05 2003 - 15:59:30 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

-------------------------------------------------------------------------------
GReCO / IAP
http://www.iap.fr/users/revenu
(+33) (0) 1 44 32 80 18
-------------------------------------------------------------------------------



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