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