'ADDITION AND CONVOLUTION' RooFit tutorial macro #208
One-dimensional numeric convolution (require ROOT to be compiled with –enable-fftw3)
pdf = landau(t) (x) gauss(t)
Processing /mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/tutorials/roofit/rf208_convolution.C...
void rf208_convolution()
{
t.setBins(10000,"cache") ;
lxg.fitTo(*data) ;
RooPlot* frame = t.frame(
Title(
"landau (x) gauss convolution")) ;
lxg.plotOn(frame) ;
new TCanvas(
"rf208_convolution",
"rf208_convolution",600,600) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf208_convolution.C.