13void Deconvolution2_2() {
15 const Int_t nbinsx = 64;
16 const Int_t nbinsy = 64;
22 for (i=0;i<nbinsx;i++)
27 auto decon=(
TH2F*)
f->Get(
"decon2");
29 for (i=0;i<nbinsx;i++)
31 auto resp=(
TH2F*)
f->Get(
"resp2");
34 for (i = 0; i < nbinsx; i++){
35 for (j = 0; j < nbinsy; j++){
36 source[i][j] = decon->GetBinContent(i + 1,j + 1);
39 for (i = 0; i < nbinsx; i++){
40 for (j = 0; j < nbinsy; j++){
41 response[i][j] = resp->GetBinContent(i + 1,j + 1);
44 s->Deconvolution(source,response,nbinsx,nbinsy,1000,1,1);
45 for (i = 0; i < nbinsx; i++){
46 for (j = 0; j < nbinsy; j++)
47 decon->SetBinContent(i + 1,j + 1, source[i][j]);
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...
static constexpr double s