From 57c3b31fafb642b429edb324d85bc021452084c9 Mon Sep 17 00:00:00 2001 From: Marshall Scott <mbscott@anl.gov> Date: Tue, 27 Apr 2021 09:56:11 -0400 Subject: [PATCH] commented out fitting resolution parameters --- .../barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx b/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx index 55114ccc..02409e67 100644 --- a/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx +++ b/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx @@ -181,7 +181,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal auto hdE = d1.Histo1D({"hdE", "dE; dE[GeV]; Events", 20, -7.5, 7.5}, "dE");//changed from 100 auto hdE_rel = d1.Histo1D({"hdE_rel", "dE Relative; dE Relative; Events", 20, -7.5, 7.5}, "dE_rel");//changed from 100 hdE_rel->Fit("gaus", "", "", -7.5, 7.5); - double* res = hdE_rel->GetFunction("gaus")->GetParameters(); + //double* res = hdE_rel->GetFunction("gaus")->GetParameters(); //Pass/Fail /* @@ -191,7 +191,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal pion0_energy_resolution.fail(res[2]); } */ - std::printf("Energy Resolution is %f\n", res[2]); + //std::printf("Energy Resolution is %f\n", res[2]); //Energy Resolution Histogram Plotting auto *cdE = new TCanvas("cdE", "cdE", 700, 500); -- GitLab