[ROOT] Automatic detection of custom Streamer ?

From: Laurent Aphecetche (aphecetc@in2p3.fr)
Date: Tue Oct 16 2001 - 17:15:23 MEST


Hi,

Is there any way (using the ROOT Dictionnary, I guess) to know if a
given class has a "home-made" streamer (vs automatic one) ?

The idea is to be able to loop over some objects in memory (all deriving
from TObject) and create TBranches for them, in order to put them in a
TTree later on. 
My wondering is about the split level to put in the TBranch ctor. If I
understand correctly the documentation
(http://root.cern.ch/root/html/TTree.html#TTree:Branch), a special split
number (split<0) must be given if a class has a custom streamer, hence
the question above.

Thanks for your help,

Best regards,
-- 
Dr. Laurent APHECETCHE (mailto:aphecetc@in2p3.fr) (IN2P3-CNRS) 
SUBATECH-EMN-4 rue Alfred Kastler-BP 20722-44307 NANTES cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24 (France)
Collaborations PHENIX http://www.phenix.bnl.gov/~aphecetc et MEGAPIE.



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