Example to illustrate boosted Gold deconvolution (class TSpectrum2). 
  
 
void Deconvolution2_HR() {
   for (i=0;i<nbinsx;i++)
   auto decon = (
TH2F*) 
f->Get(
"decon2");
 
   for (i=0;i<nbinsx;i++)
   auto resp=(
TH2F*) 
f->Get(
"resp2");
 
   for (i = 0; i < nbinsx; i++){
      for (j = 0; j < nbinsy; j++){
         source[i][j] = decon->GetBinContent(i + 1,j + 1);
      }
   }
   for (i = 0; i < nbinsx; i++){
      for (j = 0; j < nbinsy; j++){
         response[i][j] = resp->GetBinContent(i + 1,j + 1);
      }
   }
   s->Deconvolution(source,response,nbinsx,nbinsy,1000,1,1);
   for (i = 0; i < nbinsx; i++){
      for (j = 0; j < nbinsy; j++)
         decon->SetBinContent(i + 1,j + 1, source[i][j]);
   }
   decon->Draw("SURF2");
}
R__EXTERN TStyle * gStyle
 
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
 
2-D histogram with a float per channel (see TH1 documentation)}
 
Advanced 2-dimensional spectra processing.
 
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
 
- Authors
 - Miroslav Morhac, Olivier Couet 
 
Definition in file Deconvolution2_HR.C.