Addition and convolution: one-dimensional numeric convolution
pdf = landau(t) (
x) gauss(t)
This tutorial requires FFT3 to be enabled.
{
t.setBins(10000, "cache");
RooPlot *frame = t.
frame(Title(
"landau (x) gauss convolution"));
lxg.plotOn(frame);
landau.plotOn(frame, LineStyle(
kDashed));
new TCanvas(
"rf208_convolution",
"rf208_convolution", 600, 600);
gPad->SetLeftMargin(0.15);
}
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooDataSet is a container class to hold unbinned 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.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
[#1] INFO:Eval -- RooRealVar::setRange(t) new range named 'refrange_fft_lxg' created with bounds [-10,30]
[#1] INFO:Caching -- RooAbsCachedPdf::getCache(lxg) creating new cache 0x55ce05216aa0 with pdf lx_CONV_gauss_CACHE_Obs[t]_NORM_t for nset (t) with code 0
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: activating const optimization
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: deactivating const optimization
[#1] INFO:Caching -- RooAbsCachedPdf::getCache(lxg) creating new cache 0x55ce06fb28b0 with pdf lx_CONV_gauss_CACHE_Obs[t]_NORM_t for nset (t) with code 0
- Date
- July 2008
- Author
- Wouter Verkerke
Definition in file rf208_convolution.C.