subbranches

From: chiara zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Fri, 18 Mar 2005 18:14:30 +0100


Dear rooters,

     we are trying to create a tree with four levels of subbranches, with the last one made up of histograms (TH1F):

   LEVEL1: sector1 sector2

                                         |                              
                  |
                                    /        \                           
           /         \
   LEVEL 2:           plate1   plate2                           plate1   
 plate2
                                   |
                               /
   LEVEL3:        strip1  ....         .....                         
 .......        ......
                             |
   LEVEL4:      histo1

and so on. Could you suggest me how to create such a tree? Since we are not able to split more than once the tree we have defined. Till now, we have tried using the TClonesArray class and the TTree->Branch(....) method.

      Thank you.
      Cheers,
          ch & nofero
Received on Fri Mar 18 2005 - 18:02:53 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET