[ROOT] Trees, own classes and splitting

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Wed Dec 05 2001 - 17:40:57 MET


Hi all,

as far as I know, the basic situation concerning splitting and
streamers is the following:

When I run in non-split mode, the Streamer method of a class
is processed. In split mode this function is never called, because
all data memebers are branches themselves. Therefore, when I have
to do some initialisation in the Streamer method of an own class,
I should never enable splitting for this class.

If this is correct, then, in principle, whenever I have the need
to define a custom streamer, splitting in general is a bad idea.
So, is there any way to disable splitting of a specific class
by default, e.g. in the LinkDef file, that the user does not need
to care about that? If not, I think that would be a good idea to
have that.

The second question then is following: In accessing the data members,
e.g. in the Draw() command, the behaviour of split and non-split
branches are the same. The only difference I see is again the
behaviour when using the TBrowser. In principle it should be
possible to generate the branch structure taking the information
from TStreamerInfo. Are there any plans to do that?

Best regards,
Volker

-- 
Dr. Volker Hejny                Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:11 MET