GetUserInfo() for TChain

From: Hovhannes Khandanyan <khandan_at_cern.ch>
Date: Wed, 2 Mar 2011 13:08:45 +0100


Dear ROOTers,

I have a TChain of TTrees each of which has UserInfo object with a TH1F in it. Things are OK when I operate with individual tree. Anyhow, as soon as I ask for :

TH1F* h = (TH1F*)chain->GetUserInfo()->At(0);

I get a NULL pointer. Please let me know what I am doing wrong.

Thanks,
Hovhannes Received on Wed Mar 02 2011 - 13:08:51 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 02 2011 - 17:50:01 CET