Thank you very much for the concise answer. I missed that in the reference. Sincerely, Clark On Tue, 2002-02-26 at 17:34, Rene Brun wrote: > Hi Clark, > > TDirectory and TFolder both manage tree like structures. > There are many differences between the two classes. > TDirectory manages hierachical structures in memory AND disk. > TFolder knows only about memory. > TDirectory always owns the objects. This is not the case > with a TFolder. > > Rene Brun > > On 26 Feb 2002, Clark McGrew wrote: > > > 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) > > > -- 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