class inherited from TClonesArray

From: Jan Hartmann <hartmann_at_hiskp.uni-bonn.de>
Date: Tue, 26 Jan 2010 18:38:06 +0100


Hi,

I am trying to write a class which is basically a TClonesArray with some additional public member functions. Unfortunately, if I create a branch containing an object of this class, it is not split. If I use TClonesArray instead, a subbranch for each member is created. Is there any way to get that behavior with my own class (inherited from TClonesArray)? I have attached a minimal version of my class and a macro (my_clonesarray.C) that shows the different behavior.

Thanks in advance for any help,
Jan

-- 
Jan Hartmann
Helmholtz-Institut fuer Strahlen- und Kernphysik
Nussallee 14-16
D - 53115 Bonn / Germany
Tel.: +49 228 73 3895
Fax.: +49 228 73 2547

Received on Tue Jan 26 2010 - 18:38:18 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 26 2010 - 23:50:01 CET