Hello!

I have a problem with function convolution. I used Breit-Wigner function for fitting TH1:

```
TF1 *core3 = new TF1("core3","[0]*TMath::BreitWigner(x,[1],[2])", inf, sup);
```

But now i need describe TH1 with convolution by BW and Gausn. I tried:

```
TF1Convolution *core3_conv = new TF1Convolution("[0]*TMath::BreitWigner(x,[1],[2])", "gausn(3)", inf, sup);
TF1 *core3 = new TF1("core3", *core3_conv, inf, sup, core3_conv->GetNpar());
```

and

```
TF1 *core3 = new TF1("core3", "NSUM(*[0]*TMath::BreitWigner(x,[1],[2]), gausn(3))", inf, sup);
```

but thay don’t work.

What is the correct way to convolve functions with parameters for fitting?

*Please read tips for efficient and successful posting and posting code*

*ROOT Version:* 6.22/02

*Platform:* Debian GNU/Linux

*Compiler:* Not Provided