Change for TSpectrum.cxx


First post, relatively new user.

I wanted to optionally disable the call to hin->Draw() in TSpectrum’s Search() function. (I want to do the drawing myself, but still like the polymarker creation code).

I modified TSpectrum’s source code from the pro version (5.28). It seems to function correctly (using it on a Windows XP machine, with Visual Studio 2005).

I apologize for not uploading the change via your SVN, but I don’t really have a bunch of time to make a proper contribution. So, I am attaching the new file here. I added a “nodraw” option and updated the HTML comment.

TSpectrum.cxx (118 KB)


Thanks for your contribution, it has been uploaded in the trunk as revision 41040.