From dadefacf6fc333f7fcd56a8ff814520c8c696fdb Mon Sep 17 00:00:00 2001 From: Marshall Scott <mbscott@anl.gov> Date: Tue, 27 Apr 2021 10:04:23 -0400 Subject: [PATCH] commented out fitting resolution parameters 3 --- benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx b/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx index e54c43c3..02409e67 100644 --- a/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx +++ b/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx @@ -180,7 +180,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal //Energy Resolution Work 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); + hdE_rel->Fit("gaus", "", "", -7.5, 7.5); //double* res = hdE_rel->GetFunction("gaus")->GetParameters(); //Pass/Fail -- GitLab