Hi @jonas,
thanks for the reply. Your comment definetively helped. I also did the exercise to do it with RooRealSumPdf normalizing by hand each pdf before summing them as in this forum question. Anyway with RooWrapperPdf with the self normalization its more straightfoward. I used it after every PiecewiseInterpolation and now the model has the right shape.
Cheers,
Elia