Dear Experts,
I found the expression
w.factory(“Gaussian::g(x[-10,10],expr::mx(‘m0+my*y’,y[-10,10],m0[-0.5],m1[3],sx[3]”);
on this document:
inp.demokritos.gr/~kesisoglo … t_3.00.pdf
Is there a different way to make such an expression because
I’m working with the member functions like:
RooGenericPdf* pdfName1 = …
RooAbsPdf* pdfName2 = …
RooRealVar* nameVar …
and I wouldn’t know how to use “factory”.
Basically I would like to implement this pdf:
exp(- ((3*(1-(1/2 + TMath::ATan(FlS) / TMath::Pi()))/(7-3*(1/2 + TMath::ATan(FlS) / TMath::Pi())) * (1/2 + TMath::ATan(FsS) / TMath::Pi()))-mean_FsS) *
((3*(1-(1/2 + TMath::ATan(FlS) / TMath::Pi()))/(7-3*(1/2 + TMath::ATan(FlS) / TMath::Pi())) * (1/2 + TMath::ATan(FsS) /
TMath::Pi()))-mean_FsS) / (2sigma_FsSsigma_FsS))
which is essentially a Gaussian with a non trivial “x” variable.
Many thanks,
- Mauro.