Roofit: fitting residuals histogram

Hi,

I am getting residual histogram with RooHist* hresid = xframe->residHist() ;

fitTo method only works on RooAbsData and not on RooHist.

Is it possible to somehow fit the residuals histogram?
do i need to convert RooHist into a RooAbsData?
how?

cheers,
delo