[ROOT] Drawing tree "array" variables

From: Sabine Crepe-Renaudin (crepe@in2p3.fr)
Date: Fri Nov 24 2000 - 17:03:01 MET


	Hello,

	I'm using a column ntuple from PAW of the form : event
			  		                 ntrack
					                 var1(ntrack)
					                 var2(ntrack)
						         var3(ntrack,2)
							 ...

The variable var3 is thus splitted in 2 variables.
This ntuple has its equivalent in ROOT.
In the browser if I click on var3, I see in the last line : var3[ntrack][2].

If there is 10 events and ntrack=3 for each event, 
		if I do : t->Draw("var1");  I see 30 entries in my plot
			  t->Draw("var3");  I see 60 entries in my plot     

How can I do the equivalent of nt/plo 2.var3(ntrack,1) and  
nt/plo 2.var3(ntrack,2), to see only the 30 entries corresponding to my
splitted variables.
	

			Thanks,

				Sabine.



                                                                               



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET