12void Background_width2() {
14 const Int_t nbins = 4096;
30 back->
SetTitle(
"Influence of clipping window width on the estimated background");
37 for (i = 0; i < nbins; i++) source[i]=back->
GetBinContent(i + 1);
41 for (i = 0; i < nbins; i++) d1->
SetBinContent(i + 1,source[i]);
45 for (i = 0; i < nbins; i++) source[i]=back->
GetBinContent(i + 1);
49 for (i = 0; i < nbins; i++) d2->
SetBinContent(i + 1,source[i]);
53 for (i = 0; i < nbins; i++) source[i]=back->
GetBinContent(i + 1);
57 for (i = 0; i < nbins; i++) d3->
SetBinContent(i + 1,source[i]);
61 for (i = 0; i < nbins; i++) source[i]=back->
GetBinContent(i + 1);
64 for (i = 0; i < nbins; i++) d4->
SetBinContent(i + 1,source[i]);
virtual void SetLineColor(Color_t lcolor)
Set the line color.
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 SetTitle(const char *title)
See GetStatOverflows for more information.
virtual void SetMaximum(Double_t maximum=-1111)
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.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
Advanced Spectra Processing.
static constexpr double s