Hi,
You would need to use a TObjArray instead of an array.
Cheers,
philippe.
On 6/13/11 8:42 AM, Marc Escalier wrote:
> Dear rooters,
>
> would you have an idea on how to store an array of histograms in a TList
>
> i mean, from a given
> TH1F *tab_histo[3]
> and
> TList mylist
>
> i wish to do :
> mylist.Add(tab_histo);
>
> the only thing i found is :
>
> mylist.Add(tab_histo[0]);
> mylist.Add(tab_histo[1]);
> etc...
> (or in a loop)
>
> while my goal is really to store the "array" of the histograms
>
> thanks
>
Received on Mon Jun 13 2011 - 17:05:07 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 13 2011 - 17:50:01 CEST