Hello, I have problem fitting in sidebands with RooBernstein. I don’t have the problem with other pdf (e.g. exponential).
What I do it:
- generate in the full range
- fit in the full range and plot: ok
- plot in the sidebands: ok
- fit and plot in the sidebands: bad result
I attach a script to reproduce the problemproblem_berntein.py (1.4 KB)
I attach the result with exponential and RooBernstein
Am I doing anything wrong? Similar: RooFit Trouble With Drawing Fits of Subranges