43void rf612_recoverFromInvalidParameters() {
 
   55  std::unique_ptr<RooDataSet> 
data(pdf.generate(
x, 10000));
 
   93  std::cout << 
"\n\n\n-------------- Starting second fit ---------------\n\n" << std::endl;
 
  115  std::cout << 
"Without recovery, the fitter encountered " << 
fitWithoutRecovery->numInvalidNLL()
 
  116      << 
" invalid function values. The parameters are unchanged." << std::endl;
 
  119  std::cout << 
"With recovery, the fitter encountered " << 
fitWithRecovery->numInvalidNLL()
 
  120      << 
" invalid function values, but the parameters are fitted." << std::endl;
 
  125  legend->AddEntry(
"data", 
"Data", 
"P");
 
  126  legend->AddEntry(
"noRecovery", 
"Without recovery (cannot be plotted)", 
"L");
 
  127  legend->AddEntry(
"recovery", 
"With recovery", 
"L");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
static RooMsgService & instance()
Return reference to singleton instance.
 
Plot frame and a container for graphics objects within that frame.
 
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
 
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
 
RooPolynomial implements a polynomial p.d.f of the form.
 
Variable that can be changed from the outside.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
RooCmdArg Save(bool flag=true)
 
RooCmdArg PrintEvalErrors(Int_t numErrors)
 
RooCmdArg PrintLevel(Int_t code)
 
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
 
RooCmdArg LineColor(TColorNumber color)
 
RooCmdArg Name(const char *name)