Example to illustrate the influence of the clipping window width on the estimated background.
void Background_width2() {
const Int_t nbins = 4096;
TH1F *d1 =
new TH1F(
"d1",
"",nbins,xmin,xmax);
TH1F *d2 =
new TH1F(
"d2",
"",nbins,xmin,xmax);
TH1F *d3 =
new TH1F(
"d3",
"",nbins,xmin,xmax);
TH1F *d4 =
new TH1F(
"d4",
"",nbins,xmin,xmax);
TString file = dir+
"/spectrum/TSpectrum.root";
back->SetTitle("Influence of clipping window width on the estimated background");
back->SetAxisRange(0,1000);
back->SetMaximum(7000);
for (i = 0; i < nbins; i++) source[i]=back->GetBinContent(i + 1);
for (i = 0; i < nbins; i++) source[i]=back->GetBinContent(i + 1);
for (i = 0; i < nbins; i++) source[i]=back->GetBinContent(i + 1);
for (i = 0; i < nbins; i++) source[i]=back->GetBinContent(i + 1);
}
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file Background_width2.C.