TFolder vs TDirectory?

From: Konstantin Olchanski <olchansk_at_triumf.ca>
Date: Tue, 1 Feb 2011 09:34:09 -0800

Hi, rooters, while I am in the mood for asking questions - I was always puzzled myself and other people ask me about once every year - what is the difference between a TFolder and a TDirectory? Why does TFolder exist at all - what does it do that TDirectory & etc does not do? When should users use TFolder, when should they use TDirectory?

To muddy up the issue, the ROOT user guide has section 10 "Folders and Tasks", where it introduces TFolder and shows how it does everything that TDirectory already seems to do, then proceeds to confuse the issue with some crazy talk about producer and consumer classes and about accessing objects using ascii names instead of good old C++ pointers.

The best I can tell, it seems as if some person for reasons unknown did not like TDirectory and wrote a replacement called TFolder, complete with it's own chapter in the user guide and some beautiful online documentation.

Obviously something more has to be going on here, so what am I missing?

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Received on Tue Feb 01 2011 - 18:34:16 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 07 2011 - 17:50:01 CET