void SearchHR3() {
const Int_t nbins = 1024;
h->SetTitle(
"Influence of # of iterations in deconvolution in peak searching");
h->GetXaxis()->SetRange(1,nbins);
for (i = 0; i < nbins; i++) source[i]=
h->GetBinContent(i + 1);
for (i = 0; i < nfound; i++) {
fPositionX[i] =
h->GetBinCenter(bin);
fPositionY[i] =
h->GetBinContent(bin);
}
if (pm) {
h->GetListOfFunctions()->Remove(pm);
delete pm;
}
h->GetListOfFunctions()->Add(pm);
for (i = 0; i < nbins; i++) source[i]=
h->GetBinContent(i + 1);
for (i = 0; i < nbins; i++) source[i]=
h->GetBinContent(i + 1);
for (i = 0; i < nbins; i++) source[i]=
h->GetBinContent(i + 1);
printf("Found %d candidate peaks\n",nfound);
}
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
1-D histogram with a float per channel (see TH1 documentation)}
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...
virtual void Draw(Option_t *option="")
Draw this histogram with options.
A PolyMarker is defined by an array on N points in a 2-D space.
Advanced Spectra Processing.
static constexpr double s
#define dest(otri, vertexptr)