Here are the error Alerts:
error: no matching member function for call to ‘Fill’
h->Fill(y[i],z[i]);
~^~
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:58:13: note: candidate function not viable: no known conversion from ‘double [9]’ to 'const char ’ for 1st argument
Int_t Fill(const char, Double_t) { return Fill(0);} //MayNotUse
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:75:21: note: candidate function not viable: no known conversion from ‘double [9]’ to ‘Double_t’ (aka ‘double’) for 1st argument
virtual Int_t Fill(Double_t x, Double_t y);
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:57:13: note: candidate function not viable: requires 1 argument, but 2 were provided
Int_t Fill(Double_t); //MayNotUse
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:76:21: note: candidate function not viable: requires 3 arguments, but 2 were provided
virtual Int_t Fill(Double_t x, Double_t y, Double_t w);
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:77:21: note: candidate function not viable: requires 3 arguments, but 2 were provided
virtual Int_t Fill(Double_t x, const char *namey, Double_t w);
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:78:21: note: candidate function not viable: requires 3 arguments, but 2 were provided
virtual Int_t Fill(const char *namex, Double_t y, Double_t w);
^
/builddir/build/BUILD/root-6.22.08/x86_64-redhat-linux-gnu/include/TH2.h:79:21: note: candidate function not viable: requires 3 arguments, but 2 were provided
virtual Int_t Fill(const char *namex, const char *namey, Double_t w);
^