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");
d = (
TH1F*) f->
Get(
"decon_response_wide");
for (i = 0; i <
nbins; i++) source[i]=h->GetBinContent(i + 1);
h->SetMaximum(30000);
}
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file DeconvolutionRL_wide.C.