11 void DeconvolutionRL_wide() {
24 h->
SetTitle(
"Deconvolution of closely positioned overlapping peaks using Richardson-Lucy deconvolution method");
25 d = (
TH1F*) f->
Get(
"decon_response_wide");
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]);
36 d->SetLineColor(
kRed);
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.
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.
tomato 1-D histogram with a float per channel (see TH1 documentation)}
virtual void Draw(Option_t *option="")
Fill Graphics Structure and Paint.
Advanced Spectra Processing.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * Data() const