RooFit Class Factory pdf does not plot within fit range

When you use builtin pdf in fitting, default is to only plot part of the pdf that is fitted to a histogram. However, when using a manual pdf made from class factory, it always show the entire range. This affects chi-square calculation, but apparently doesn’t affect the fit itself. The fit was correctly done with defined fit range. Is this expected behavior?

I guess @moneta can help you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.