Hi Luiz, Do something like: const int N=10, M=20; TH1F *h[N][M]; for (int i=0;i<N;i++) { for int j=0;j<M;j++) { h[i][j] = new TH1F(.... } } Rene Brun On Wed, 13 Nov 2002, Luiz Martins Mundim Filho wrote:Hi rooters In my analysis program, I need a two dimension array of histograms. I found how to define and fill an one dimension array, but could not define one the way I really need. I searched the root site also and found nothing like this. Could you help me? Thanks Luiz
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET