35 RooRealVar mean(
"mean",
"mean of g1 and g2", 0);
36 RooRealVar sigma_g1(
"sigma_g1",
"width of g1", 3);
39 RooRealVar sigma_g2(
"sigma_g2",
"width of g2", 4, 3.0, 6.0);
42 RooRealVar frac(
"frac",
"frac", 0.5, 0.0, 1.0);
49 std::unique_ptr<RooAbsReal> nll{model.createNLL(*
data)};
92 std::unique_ptr<RooFitResult> fitResult{
m.save()};
96 frame->SetTitle(
"Minuit contour plot");
99 fitResult->Print(
"v");
114 sigma_g2.setConstant(
true);
121 new TCanvas(
"rf601_intminuit",
"rf601_intminuit", 600, 600);
122 gPad->SetLeftMargin(0.15);
123 frame->GetYaxis()->SetTitleOffset(1.4);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
Wrapper class around ROOT::Math::Minimizer that provides a seamless interface between the minimizer f...
Plot frame and a container for graphics objects within that frame.
Variable that can be changed from the outside.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...