From 9062896deeb9c4a6d08e0355c508e8120159e02a Mon Sep 17 00:00:00 2001
From: Chao Peng <cpeng@anl.gov>
Date: Mon, 14 Nov 2022 08:49:13 -0600
Subject: [PATCH] fix a typo that overestimate epcut uncertainty

---
 benchmarks/imaging_shower_ML/scripts/epcut_scan.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/benchmarks/imaging_shower_ML/scripts/epcut_scan.py b/benchmarks/imaging_shower_ML/scripts/epcut_scan.py
index 611fe55e..6250aebd 100644
--- a/benchmarks/imaging_shower_ML/scripts/epcut_scan.py
+++ b/benchmarks/imaging_shower_ML/scripts/epcut_scan.py
@@ -255,8 +255,7 @@ if __name__ == '__main__':
 
     # rejection power
     rej_pow = npi/nres
-    # NOTE: assumed half of them are pions, so need a factor of sqrt(2)
-    rej_err = ((rej_pow - npi/nres_hi)*np.sqrt(2), (npi/nres_lo - rej_pow)*np.sqrt(2))
+    rej_err = ((rej_pow - npi/nres_hi), (npi/nres_lo - rej_pow))
 
     fig, ax1 = plt.subplots(figsize=(8, 8))
     ax2 = ax1.twinx()
-- 
GitLab