#include <ElectronPhotonFourMomentumCorrection/egammaEnergyCorrectionTool.h>
#include "TProfile.h"
#include "TCanvas.h"
#include "TH1D.h"
#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 12 of file testMomentumSystematics.cxx.
18 TH1D h2012cNom(
"h2012cNom",
"h2012cNom",500,-5,5);
19 TH1D h2012cUp(
"h2012cUp",
"h2012cUp",500,-5,5);
20 TH1D h2012cDown(
"h2012cDown",
"h2012cDown",500,-5,5);
22 for(
int i=1;
i<=h2012cNom.GetNbinsX();
i++) {
24 double eta = h2012cNom.GetBinCenter(
i);
47 std::cout <<
eta <<
" " << (pNom-pIn)/pIn <<
" " << (pUp-pIn)/pIn <<
" " << (pDown-pIn)/pIn
48 <<
" " << pIn <<
" " << pNom <<
" " << pUp <<
" " << pDown << std::endl;