39 RooRealVar ml(
"ml",
"mean landau", 5., -20, 20);
40 RooRealVar sl(
"sl",
"sigma landau", 1, 0.1, 10);
52 t.setBins(10000,
"cache");
55 RooFFTConvPdf lxg(
"lxg",
"landau (X) gauss", t, landau, gauss);
61 std::unique_ptr<RooDataSet>
data{lxg.generate(t, 10000)};
73 new TCanvas(
"rf208_convolution",
"rf208_convolution", 600, 600);
74 gPad->SetLeftMargin(0.15);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
PDF for the numerical (FFT) convolution of two PDFs.
Landau distribution p.d.f.
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.
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 PrintLevel(Int_t code)
RooCmdArg LineStyle(Style_t style)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...