array of histogram in root

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Mon, 13 Jun 2011 15:42:42 +0200


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 - 15:42:48 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 13 2011 - 17:50:01 CEST