Hello Rene,
> TH1F* h = (TH1F*)chain->GetTree()->GetUserInfo()->At(0);
This approach did not work causing segmentation violation, and that's probably due to the fact that I use the chain only to;
chain->Draw("Leaf >> Histo","","goff")
dump a leaf into a histo. Since the content of UserInfo is exactly the same for all of the trees in chain, I could do smth like
> TH1F* h = (TH1F*)chain->GetTree(0)->GetUserInfo()->At(0);
but GetTree() does not seem to take a tree index as an argument. What would be the best work around?
Thanks,
Hovhannes
> > > Rene > > > On 02/03/2011 13:08, Hovhannes Khandanyan wrote:
This archive was generated by hypermail 2.2.0 : Wed Mar 02 2011 - 17:50:01 CET