Example to illustrate deconvolution function (class TSpectrum).
void DeconvolutionRL_wide() {
TString file = dir+
"/spectrum/TSpectrum.root";
h->SetTitle("Deconvolution of closely positioned overlapping peaks using Richardson-Lucy deconvolution method");
for (i = 0; i < nbins; i++) source[i]=h->GetBinContent(i + 1);
h->SetMaximum(30000);
h->Draw("L");
}
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file DeconvolutionRL_wide.C.