Importance of Streamers


I was trying to write some code for reading TTrees in ROOT files using Java 1.1.8. I just wanted to know whether it is possible to read the information stored in the TTrees without the use of the StreamerInfo? Is StreamerInfo necessary for reading a ROOT file’s TTrees, or are they only there for convenience or efficiency?

T ahir.

If your Tree has been split into branches/leaves containing only basic types, you do not need the TStreamerInfo. All the information about
names and types is in the Tree/TBranch itself.
However, you will be able to process only very simple Trees in this way.

Tony Johnson in the JAS3 project has already interfaced a Java-based
system to Root files and Trees. You may want to look at his implementation before starting from scratch.
For more info about JAS3, see: