Dear experts,
I’d like to ask you if there is any method (or if you can point me to some documentation) to implement a PDF whose parameters are function of the same variable it depends on, namely a function f(x,g(x)). Practically speaking I want to extract a lifetime by fitting the time distribution with a RooDecay PDF where the parameters of the RooGaussModel I use to parametrize the resolution depend on the time itself.
I’ve seen that this is easily done in the most general case of a function f(x,g(y)), but I couldn’t manage to make it working by naively setting y=x.
Thanks a lot in advance
Regards,
Alessandro