11void Deconvolution_wide_boost()
14 const Int_t nbins = 256;
25 TString file = dir +
"/legacy/spectrum/TSpectrum.root";
27 h = (
TH1F *)
f->Get(
"decon3");
28 h->SetTitle(
"Deconvolution of closely positioned overlapping peaks using boosted Gold deconvolution method");
29 d = (
TH1F *)
f->Get(
"decon_response_wide");
31 for (i = 0; i < nbins; i++)
32 source[i] =
h->GetBinContent(i + 1);
33 for (i = 0; i < nbins; i++)
34 response[i] =
d->GetBinContent(i + 1);
36 h->SetMaximum(200000);
41 for (i = 0; i < nbins; i++)
42 d->SetBinContent(i + 1, source[i]);
43 d->SetLineColor(
kRed);
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
1-D histogram with a float per channel (see TH1 documentation)
Advanced Spectra Processing.
const char * Deconvolution(Double_t *source, const Double_t *response, Int_t ssize, Int_t numberIterations, Int_t numberRepetitions, Double_t boost)
One-dimensional deconvolution function.
const char * Data() const