I am using RooFit to fit two sub-ranges (i.e. sidebands) of a distribution and I’d like to get the residual plots. I am using the function:
RooHist* hresid = frame->residHist(“data”,“sidebandfun”);
However, I only got the residuals for one sub-range and the other one is somehow missing.
Anyone know how to solve this?
Thanks a lot.