Dear RooFit Experts,
Is it possible to convolute two RooFormulaVar?
I have one RooFormulaVar which is created from the RooProfileLL, and another Gaussian RooFormulaVar, like this:
RooNLLVar nll("nll", "", *fitFunction, *data);
RooProfileLL profile("profile", "", nll, RooArgSet(ratio));
RooFormulaVar pll("pll", "exp(-0.5*@0)", RooArgSet(profile));
RooRealVar mean("mean", "", 0.0);
RooRealVar sigma("sigma", "", sig);
RooFormulaVar gaus("gaus", "exp(-0.5*((@0-@1)/@2)**2)", RooArgSet(ratio, mean, sigma));
So, is there any simple way that I can convolute the two RooFormulaVar, nll and gaus?
Thanks a lot for the helps!