From 435c2b20f5d71483b0a5efaba60877137e16934c Mon Sep 17 00:00:00 2001
From: Marshall Scott <mbscott@anl.gov>
Date: Mon, 26 Apr 2021 22:27:59 -0400
Subject: [PATCH] Changed number of bins for resolution from 100 to 20

---
 .../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 04b59134..2f710283 100644
--- a/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
+++ b/benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
@@ -178,8 +178,8 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
   c4->SaveAs("results/emcal_barrel_pions_fsam.pdf");
 
   //Energy Resolution Work
-  auto hdE          = d1.Histo1D({"hdE",      "dE; dE[GeV]; Events",              100, -7.5, 7.5}, "dE");
-  auto hdE_rel      = d1.Histo1D({"hdE_rel",  "dE Relative; dE Relative; Events", 100, -7.5, 7.5}, "dE_rel");
+  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
   TFitResultPtr f1  = hdE_rel->Fit("gaus", "S");
   const double* res = f1->GetParams();
   auto tf1          = new TF1("", "TMath::Gaus(x, [0], [1], [2])", -7.5, 7.5);
-- 
GitLab