Dear rooters,
I was trying to change example program peaks.C to force it working with
real spectrum (for example, detector calbration, Gaus fitter should work
with it). I was trying to use the next procedure to find peaks:
.....
TSpectrum *s = new TSpectrum(npeaks);
Int_t nfound = s->Search(h2,1,"");
printf("Found %d candidate peaks to fit\n",nfound);
.....
but i always getting 0. to tell you the truth, i do not know what the
problem, maybe with resolutions of the peaks, maybe with sigma settings,
maybe something more.
I attached source file and test.root with test histogram.
Thank you for the help,
Boris.
-- --------------------------------------Received on Wed Jan 26 2005 - 06:43:09 MET
| Boris Skorodumov, Graduate Student |
| Physics Department |
| University of Notre Dame |
| Indiana 46556, USA |
| WWW: http://www.nd.edu/~bskorodo |
--------------------------------------
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET