Hi, Just a warning (and probably stating the obvious) . If people are going to use these routines to unfold a histogram , say an electron scattering spectrum from which the radiative tail is unfolded, and want to fit the spectrum afterwards, good luck !!!! You started with a spectrum in which the bins were uncorrelated, after the unfolding they are correlated and can not be handled anymore by a standard fit as defined through TH1::Fit . Eddy --- Rene Brun <Rene.Brun@cern.ch> wrote: > Jan, > > Could you send the shortest possible running script showing what you > try to do? > I am ccying your mail to Miroslav Morhac the author of TSpectrum. > > Rene Brun > > Jan Conrad wrote: > > > > Hi, > > > > I have a small macro where I convolute a Gaussian with a flat and > try > > to use the unfolding routines > > Of TSpectrum. > > > > Anyone who has expirience with: > > > > const char *TSpectrum::Deconvolution1HighResolution(float *source, > > const float > *resp, > > int size, > > int > > > > number_of_iterations, > > int > > > > number_of_repetitions, > > double boost) > > > > const char *TSpectrum::Deconvolution1Unfolding(float *source, > > const float **resp, > > int sizex, int > sizey, > > int > number_of_iterations) > > > > and can send me a working example of how these functions are used ? > > > > In my routine only Tspectrum::Dconvolution1 does anything to the > > spectrum. > > > > Thanks a lot in advance, > > Jan > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET