Normal distribution along a line

I need a pdf which I would describe as “normal distribution along a given line in x-y space”. In other words, if the (shortest) distance between some point (ax,ay) and the given line is r, than the value of my pdf in that point should be N[x=r|mu, sigma]; I could write a new pdf, but was wondering if there is some elegant way of doing this in RooFit.
Thanks,
Jelena

HI,

I am not sure exactly what you need, but in RooFit you can write a Normal pdf as a RooGaussian( r, mu, sigma), where r is a whatever function you like of other variables (observables)

Best Regards

Lorenzo