11 void Deconvolution_wide_boost() {
20 TH1F *
h =
new TH1F(
"h",
"Deconvolution",nbins,xmin,xmax);
21 TH1F *d =
new TH1F(
"d",
"",nbins,xmin,xmax);
27 h->
SetTitle(
"Deconvolution of closely positioned overlapping peaks using boosted Gold deconvolution method");
28 d = (
TH1F*) f->
Get(
"decon_response_wide");
30 for (i = 0; i <
nbins; i++) source[i]=h->GetBinContent(i + 1);
33 h->SetMaximum(200000);
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
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.
tomato 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...
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.
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