TChain::MakeClass and using the methods of its own class

Hello anyone,
in my Tree, I stored members of a class. To reduce storage place, I access several informations via my own methods (comparing with bitmaps for example). If I use MakeClass( ), I get access to all my data->branches, but not to the functions of my class. Is there any clever way of accessing this functions, or do I have to read each class member in the Tree?
Thank you

Hi,

MakeClass by design flatened out your class structure and do not allow you to call member function.
Instead you should use ROOT 4.00/08 ro above and use MakrProxy (See TTree::MakeProxy). This new version perserve the structure and give access to the methods.

Cheers,
Philippe.

PS. Alternatively you would need to use code similar to the one use to produce your TTree