[ROOT] quick question

From: Daniel Holmes (Daniel.Holmes@cern.ch)
Date: Thu Nov 28 2002 - 17:11:18 MET


thanks Rene,

How do i change the code below so i can read a 2-D, array.. i can plot :
t->Draw("phioffset[3]"); using the "phioffset" leaf.

cheers,

Dan.


> With your example, you can do
>   TLeaf *l_phioffset = t->GetLeaf(("phioffset");
>   l_phioffset->GetBranch()->GetEntry(5); //to read entry 5
>   double phioffset = l_phioffset->GetValue();
> 
> Rene Brun
> 



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