Problem with TSpectrum: GetPositionX()

So, see the two source code files (peaks.C and SpectrumFit.cxx) given in the old topic from the link in my previous post here.

BTW. When you post “source code” or “output” here, do remember to enclose them into two lines which contain just three characters ``` (see how your post has been edited above).