Please don't use 'TH1F xCov[]' with new statement. It is illegal in C++.
You should use 'TH1F *xCov = new TH1F[nHisto];' instead.
Masaharu Goto
>Int_t nHisto = 3;
>TH1F xCov[] = new TH1F[nHisto];
>
>Root exits with the following error message,
>
>root [7] .L foo.C
>root [8] main()
>Run-time error, libC:
> 'delete[]' does not correspond to any 'new[]'
>
>any suggestions are appreciated