[ROOT] TDirectory and TFolder

From: Clark McGrew (clark.mcgrew@sunysb.edu)
Date: Tue Feb 26 2002 - 16:47:11 MET


Hello all,

I'm puzzling over the difference between TFolder and TDirectory.  They
both seem to do similar things, and I'm having trouble figuring out when
to use one versus the other, or even if a general rule can be stated.
Are the strengths and weaknesses of the two classes compared anywhere?  

In my situation, I am saving an MC event where different types of
information will be saved as my analysis continues.  I want to be able
to save the information in a "tree" where it can be accessed as
blah->Get("/event/subcatagory/info").  I can do that with either a
TDirectory or TFolder.  Is there any collected wisdom on which path to
follow, or do I need to write a test implementation for both?

Thanks,
Clark
-- 
Clark McGrew	                State University of New York, Stony Brook
(clark.mcgrew@sunysb.edu)	631-632-8299 (office)



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET