14void Background_gamma64() {
16 const Int_t nbinsx = 64;
17 const Int_t nbinsy = 64;
23 for (i=0;i<nbinsx;i++)
26 TString file = dir+
"/spectrum/TSpectrum2.root";
28 auto back = (
TH2F*)
f->Get(
"back1");
31 for (i = 0; i < nbinsx; i++){
32 for (j = 0; j < nbinsy; j++){
33 source[i][j] = back->GetBinContent(i + 1,j + 1);
37 for (i = 0; i < nbinsx; i++){
38 for (j = 0; j < nbinsy; j++)
39 back->SetBinContent(i + 1,j + 1, source[i][j]);
R__EXTERN TStyle * gStyle
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
2-D histogram with a float per channel (see TH1 documentation)
Advanced 2-dimensional spectra processing.
@ kBackSuccessiveFiltering
const char * Data() const
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...