[ROOT] how do I find the number of trees in a file?

From: Chris Hayward (cchaywar@umich.edu)
Date: Thu Aug 21 2003 - 16:20:16 MEST


Hello ROOTers,

I am running ROOT 3.05/07 on lxplus.

I would like to create a new tree on each run of my program
and add it as a friend to the first tree. I would like to name them tree0,
tree1, tree2, etc. Is there a simple way to keep a running count of trees
in the file, i.e. some command that returns the number of trees stored?

Thanks,
Chris



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET