32 RooRealVar mean(
"mean",
"mean of g1 and g2", 0, -10, 10);
33 RooRealVar sigma_g1(
"sigma_g1",
"width of g1", 3);
36 RooRealVar sigma_g2(
"sigma_g2",
"width of g2", 4, 3.0, 6.0);
39 RooRealVar frac(
"frac",
"frac", 0.5, 0.0, 1.0);
49 std::unique_ptr<RooAbsReal> nll{model.createNLL(*
data,
NumCPU(2))};
92 TCanvas *
c =
new TCanvas(
"rf605_profilell",
"rf605_profilell", 800, 400);
95 gPad->SetLeftMargin(0.15);
99 gPad->SetLeftMargin(0.15);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Create a RooProfileLL object that eliminates all nuisance parameters in the present function.
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg(), const RooCmdArg &arg9=RooCmdArg(), const RooCmdArg &arg10=RooCmdArg()) const
Plot (project) PDF on specified frame.
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
int migrad()
Execute MIGRAD.
A RooPlot is a 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.
virtual void SetMinimum(double minimum=-1111)
Set minimum value of Y axis.
virtual void SetMaximum(double maximum=-1111)
Set maximum value of Y axis.
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
RooRealVar represents a variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
RooCmdArg Bins(Int_t nbin)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg LineColor(Color_t color)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...