I am just beginning to use fitting functions in C and looked at some of the tutorials in the distribution. I am a little confused about fitting a trignometric function to a 2d histogram. Can anyone advice me on how to fit a trignometric function to this data using root?
2D histogram attached.
sum.C (883 KB)