11 void DeconvolutionRL_wide() {
13 const Int_t nbins = 256;
24 h->SetTitle(
"Deconvolution of closely positioned overlapping peaks using Richardson-Lucy deconvolution method");
27 for (i = 0; i < nbins; i++) source[i]=h->GetBinContent(i + 1);
28 for (i = 0; i < nbins; i++) response[i]=d->
GetBinContent(i + 1);
35 for (i = 0; i < nbins; i++) d->
SetBinContent(i + 1,source[i]);
const char * DeconvolutionRL(Double_t *source, const Double_t *response, Int_t ssize, Int_t numberIterations, Int_t numberRepetitions, Double_t boost)
One-dimensional deconvolution function.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
static constexpr double s
Advanced Spectra Processing.
const char * Data() const