[ROOT] How to access two leaves with same name inside diferent branches?

From: Luiz Martins Mundim Filho (mundim@uerj.br)
Date: Wed Mar 26 2003 - 18:24:51 MET


Hello

I have a Tree with several branches and inside them, also several 
leaves. I generated a skeleton code (using both MakeClass and 
MakeSelector), but I could not access the data I want with the code root 
gave me.

Do I need to add more (accessing) code to be able to read the data? I 
mean, apart from the the code particular to the my analysis? I guessed 
that MakeClass should write a skeleton ready to access the data.

I took a look on the root pages and found nothing conclusive, since all 
the instruction seems to be related to unamed macro.

Other information:

Root version: 3.05/03
OS          : Linux Red Hat 8.0


One of the branches is described below.

*............................................................................*
*Br    9 :ELE_LOOSE_VTX_p_off : 
n/I:CalCpsD[n]/F:CalCpsDPhi[n]/F:            *
*         | 
CalEfr1[n]/F:CalEfr2[n]/F:CalEfr3[n]/F:CalEfr4[n]/F:CalEfr5[n]/F:*
*         | 
CalEmfr[n]/F:CalEt[n]/F:CalEta[n]/F:CalIso[n]/F:CalPhi[n]/F:     *
*         | 
CalTrD[n]/F:CalTrDPhi[n]/F:CalWPhi[n]/F:CalWR[n]/F:CalWZ[n]/F:   *
*         | 
CalWidth1[n]/F:CalWidth2[n]/F:CalWidth3[n]/F:CpsChi2[n]/F:       *
*         | 
CpsE[n]/F:CpsE1[n]/F:CpsE2[n]/F:CpsE3[n]/F:CpsN1[n]/I:CpsN2[n]/I:*
*         | 
CpsN3[n]/I:CpsPhi[n]/F:CpsRes[n]/F:CpsTrD[n]/F:CpsTrDPhi[n]/F:   *
*         | 
CpsZ[n]/F:ET[n]/F:Eta[n]/F:TrDca[n]/F:TrPhi[n]/F:TrPhiR[n]/F:    *
*         | 
TrPtinv[n]/F:TrRinv[n]/F:TrTanl[n]/F:TrZ[n]/F:TrZR[n]/F:         *
*         | 
chi2[n]/F:kineT[n]/F:kineX[n]/F:kineY[n]/F:kineZ[n]/F:vtxX[n]/F: *
*         | 
vtxY[n]/F:vtxZ[n]/F                                              *
*Entries :       68 : Total  Size=      64010 bytes  File Size  =      
13575 *
*Baskets :        1 : Basket Size=      32000 bytes  Compression=   
2.30     *
*............................................................................*



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