[ROOT] TTree::Print problem

From: Susan Kasahara (schubert@physics.umn.edu)
Date: Mon Aug 26 2002 - 05:45:23 MEST


Hi,
I'm creating a main tree branch with a branch name that reflects the templated
class of the objects that are stored there, for example:
  ...
 root [2] TTree* t = new TTree("test","Test Tree");
 root [3] TBranch* b = t -> Branch("RecRecord<RecHeader>","RecRecord<RecHeader>",&record,64000,99);

and am finding that I'm having trouble getting the TTree::Print method to print the tree correctly.
The print seems to quit after printing the tree header only, without printing any of the branch
structure, e.g.:

 root[4] t-> Print();
 ******************************************************************************
*Tree    :test      : Test Tree                                              *
*Entries :        0 : Total =          112475 bytes  File  Size =          0 *
*        :          : Tree compression factor =   1.00                       *
******************************************************************************
root[5]

This seems to be a parse problem with the branch name "RecRecord<RecHeader>".  If I change
the branch name to "RecRecord", for example, the tree prints perfectly.
 Is this fixable?
 I'm using cvs root from today and gcc 2.95.3 on RH linux.
Thanks,
-Sue



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