Example to illustrate the influence of the clipping window width on the estimated background.
K␇Äc␅
void Background_width2()
{
const Int_t nbins = 4096;
TString file = dir +
"/legacy/spectrum/TSpectrum.root";
back->
SetTitle(
"Influence of clipping window width on the estimated background");
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
for (i = 0; i < nbins; i++)
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.
1-D histogram with a float per channel (see TH1 documentation)
void SetTitle(const char *title) override
Set the title of the TNamed.
virtual void SetMaximum(Double_t maximum=-1111)
void Draw(Option_t *option="") override
Default Draw method for all objects.
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
virtual Double_t GetBinContent(Int_t bin) const
virtual void SetBinContent(Int_t bin, Double_t content)
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
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file Background_width2.C.