11void Background_width2()
14 const Int_t nbins = 4096;
26 TString file = dir +
"/legacy/spectrum/TSpectrum.root";
30 back->
SetTitle(
"Influence of clipping window width on the estimated background");
37 for (i = 0; i < nbins; i++)
41 for (i = 0; i < nbins; i++)
46 for (i = 0; i < nbins; i++)
50 for (i = 0; i < nbins; i++)
55 for (i = 0; i < nbins; i++)
59 for (i = 0; i < nbins; i++)
64 for (i = 0; i < nbins; i++)
68 for (i = 0; i < nbins; i++)
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
1-D histogram with a float per channel (see TH1 documentation)
void SetTitle(const char *title) override
Change/set the title.
virtual void SetMaximum(Double_t maximum=-1111)
void Draw(Option_t *option="") override
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...
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.
virtual TH1 * Background(const TH1 *hist, Int_t nIter=20, Option_t *option="")
One-dimensional background estimation function.
const char * Data() const