[ROOT] Accesing arrays

From: Elena Vataga (vataga@fnal.gov)
Date: Mon Mar 11 2002 - 15:30:21 MET


	Hello rooters!


Sorry for 'naive' question of beginner.

I have TTree with TClonesArray,
one of members in TObject is Array
  Float_t        P[3];
..
*............................................................................*
*Br  117 :MUO.trk.P[3] : P[MUO_]                                             *
*Entries :    95000 : Total  Size=    1293112 bytes  File Size  =     962230 *
*Baskets :       26 : Basket Size=      64000 bytes  Compression=   1.34     *
*............................................................................*

Which is the correct way to draw the  first entrance in this array:
tup->Draw("MUO.trk.P[0]")
or
tup->Draw("MUO.trk.P[][0]")
or
tup->Draw("MUO.trk.P[0][]")
?

Thank you in advance,
			Elena



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