Yes it is a message about TH2Poly::Add(…), but
since in the scale method there is a call to Add, and also
looks like the addition is also not implemented, therefore
Scale was not working also.
//======From Reference guide===============
Bool_t TH2Poly::Add(const TH1 *, const TH1 *, Double_t, Double_t)
{
// Replace contents of this histogram by the addition of h1 and h2.
Warning("Add","Not implement for TH2Poly");
return kFALSE;
}
Depending on the particular task there might be a need for Scale,
particularly in my case I needed to scale it by a Luminosity to estimate rates
for a particular process.
Yes, that particular method is implemented,
but there are 3 Add methods. Other two are not implemented according
to the documentation( lines 330 and 340) of the same link root.cern.ch/root/html534/src/TH … tml#XdastB.