[RooFit] Normalization factor for a fit in subrange

Dear Experts,

The task is to estimate the total amount of background by simultaneously fitting two sidebands with RooKeysPdf determined from separate dataset and expanded to RooExtendPdf. Is it possible to extract the fitted number of events corresponding to the normalization which is given by NormRange(“SideBand”) when plotting and not to the full range of RooRealVar?

Reducing dataset range to “SideBand” obviously gives the yield normalized to the number of events in the new range and not to the expected number of BG events in the full range.

The signal shape for the variable in question is not standard therefore I would not want to use RooAddPdf with BG and Signal pdfs added with unknown coefficients.

Thank you!