Hello everybody!
I want to describe my mass distribution in TH1 histogram with help interference two Breit-Wigner function: BW1 + Z * exp(i * phi) * BW2. In code I expect to see something this:
TF1* core = new TF1("core","[0]*TMath::BreitWigner(x, [1], [2]) + [3] * TMath::Exp(i * [4]) * TMath::BreitWigner(x, [5], [6])", inf, sup);
But I haven’t worked with complex numbers in TF1 object. How can I realize my idea?
ROOT Version: 6.22/8
Platform: Ubuntu
Compiler: Not Provided