I create a complex pdf as RooAddPdf and fit it to data.
When I plot its component top_spot, is there any difference between RooFit::Components and RooFit::Normalization?
sum.plotOn(frame, RooFit::Components(top_spot)); // or top_spot.plotOn( frame, // fraction value from fit RooFit::Normalization(f_top_spot.getVal(), RooAbsReal::Relative), );
Which one should I use?
Should one of the options become obsolete? I looked through the forum, there are many questions on these topics, but I didn’t find the answer to this one.
UPD: initially I created this post about an error, but it seems I found that in my code, so I edited the post.