From d7fd6f21f511e3e518c1a3b79bda3333d0e1edc7 Mon Sep 17 00:00:00 2001
From: Maria Zurek <zurek@anl.gov>
Date: Wed, 21 Jul 2021 17:24:38 +0000
Subject: [PATCH] Take sampling fraction from the json file

---
 benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx b/benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
index b60a0eed..8eb03a50 100644
--- a/benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
+++ b/benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
@@ -117,8 +117,6 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
   auto hpid   = d1.Histo1D({"hpid",   "PID; PID; Count",                                   100,  -220,   220}, "pid");
   auto hdau   = d1.Histo1D({"hdau",   "Number of Daughters; Number of Daughters; Count",   10,   0,      10},  "dau");
 
-  // Gather Sampling fraction and mean Energy, ideally this will be taken from a json file 
-  samp_frac = hfsam->GetMean();
   const double meanE     = hEthr->GetMean(); 
 
   // Event Counts
-- 
GitLab