Example to illustrate the background estimator (class TSpectrum) including Compton edges.
void Background_compton() {
back->SetTitle("Estimation of background with Compton edges under peaks");
back->GetXaxis()->SetRange(1,nbins);
for (i = 0; i < nbins; i++) source[i]=back->GetBinContent(i + 1);
}
- Authors
- Miroslav Morhac, Olivier Couet
Definition in file Background_compton.C.