Fitting height of a gaussian in roofit


I have a question concerning the flexibility of Roofit to fit actual data.

What I want to do is fit a signal function (e.g. gaussian) to an experimental peak and return the height of the fitted gaussian. Is it possible to do this in roofit? I have tried building a generic pdf that is just a gaussian multiplied by the height but can’t seem to get a sensible fit parameter for the height. I guess this is because the gaussian is normalised internally in some way but I’m not sure how to avoid this.

Can anyone help?

Thanks in advance,