Changed API: RooAbsPdf::fitTo() after 5.22


I am trying to revive the RooRarFit package, and it relies on what is apparently obsolete interface:

RooAbsPdf::fitTo(RooAbsData&, RooArgSet&, TString&)

I see that this interface was taken away after ROOT 5.22. In favor of

RooAbsPdf::fitTo(RooAbsData&, const RooLinkedList&)

Does anyone know how to convert to the new interface in some generic way? Something like

const RooLinkedList myHelperClass::getRooLinkedList(RooArgSet&, TString&);



P.S. What is especially annoying is that the new interface does build the damned RooArgSet inside anyway. Why or why not to allow user supply it directly?

Post questions about Roofit to the “Stats and Math Tolls” thread