Likelihood function

Similar to this closed post

How can I extract from Roofit the likelihood function that is being maximised ?

I think @moneta can help you.


If you want the likelihood function you should call instead of RooAbsPdf::fitTo(…) the function RooAbsPdf::createNLL(…) with the same arguments.
createNLL will return for you the likelihood function as a RooAbsReal object.

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