Tutorial for convolution of two functions.
Processing /builddir/build/BUILD/root-6.10.02/tutorials/fit/fitConvolution.C...
FCN=298.12 FROM MIGRAD STATUS=CONVERGED 446 CALLS 447 TOTAL
EDM=7.46173e-07 STRATEGY= 1 ERROR MATRIX ACCURATE
EXT PARAMETER STEP FIRST
NO. NAME VALUE ERROR SIZE DERIVATIVE
1 p0 7.32859e+00 3.70657e-02 1.23436e-05 -5.01424e-01
2 p1 7.33043e-02 2.44038e-03 3.62160e-06 -1.15101e+00
3 p2 -2.26420e+00 4.91619e-02 5.24449e-05 -1.41239e-01
4 p3 1.12810e+00 6.28532e-02 1.94710e-05 -3.53890e-01
#include <stdio.h>
#include <iostream>
#include <math.h>
void fitConvolution()
{
TH1F *h_ExpGauss =
new TH1F(
"h_ExpGauss",
"Exponential convoluted by gaussian",100,0.,5.);
for (int i=0;i<1e6;i++)
{
}
}
- Author
- Aurelie Flandi
Definition in file fitConvolution.C.