#include <ElectronPhotonFourMomentumCorrection/egammaEnergyCorrectionTool.h>
#include "TProfile.h"
#include "TH2D.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TStyle.h"
#include "TPad.h"
#include "TFile.h"
Go to the source code of this file.
◆ main()
Definition at line 15 of file testResolutionParam.cxx.
26 TH2D res2012c(
"res2012c",
"res012c", 48, -2.4, 2.4, 200, 5., 205.);
27 TH2D res2012a(
"res2012a",
"res012a", 48, -2.4, 2.4, 200, 5., 205.);
29 for(
int i=1;
i<=res2012c.GetNbinsX();
i++)
30 for(
int j=1; j<=res2012c.GetNbinsY(); j++) {
32 double eta = res2012c.GetXaxis()->GetBinCenter(
i);
33 double ene = res2012c.GetYaxis()->GetBinCenter(j) * 1000.;
36 res2012c.SetBinError(
i, j, 0.);
39 res2012a.SetBinError(
i, j, 0.);
44 TFile
fOut(
"resoParam.root",
"recreate");