Example to illustrate deconvolution function (class TSpectrum).
void Deconvolution_wide_boost() {
TH1F *h =
new TH1F(
"h",
"Deconvolution",nbins,xmin,xmax);
TH1F *d =
new TH1F(
"d",
"",nbins,xmin,xmax);
TString file = dir+
"/spectrum/TSpectrum.root";
h->
SetTitle(
"Deconvolution of closely positioned overlapping peaks using boosted Gold deconvolution method");
d = (
TH1F*) f->
Get(
"decon_response_wide");
for (i = 0; i < nbins; i++) source[i]=h->GetBinContent(i + 1);
h->SetMaximum(200000);
}
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file Deconvolution_wide_boost.C.