I think the last tow errors are due to a missing ;
in the last line.
and maybe try to add an { before the second for
and a } after the hd2->SetBinContent(i,j,z);
Have a look at the post below for the file question.
I think the last tow errors are due to a missing ;
in the last line.
and maybe try to add an { before the second for
and a } after the hd2->SetBinContent(i,j,z);
Have a look at the post below for the file question.