From 23746deb9fbf18ae0fc4937cf78a5abe3f8688bf Mon Sep 17 00:00:00 2001 From: Barak Schmookler Date: Tue, 16 Jul 2024 12:08:21 -0400 Subject: [PATCH] Update --- benchmarks/zdc_lyso/Snakefile | 4 ++-- benchmarks/zdc_lyso/analysis/analysis.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/zdc_lyso/Snakefile b/benchmarks/zdc_lyso/Snakefile index a497137e..a2781b9e 100644 --- a/benchmarks/zdc_lyso/Snakefile +++ b/benchmarks/zdc_lyso/Snakefile @@ -63,7 +63,7 @@ rule zdc_analysis: input: expand("sim_output/zdc_lyso/{{DETECTOR_CONFIG}}_{particle}_{beam_energy}GeV_theta_{theta_min}deg_thru_{theta_max}deg.eicrecon.tree.edm4eic.root", particle=["gamma"], - beam_energy=["0.005", "0.01", "0.05", "0.1", "0.5", "1."], + beam_energy=["0.005", "0.01", "0.05", "0.1", "0.5", "1.0"], theta_min=["0"], theta_max=["0.3"]), script="benchmarks/zdc_lyso/analysis/analysis.py", @@ -81,7 +81,7 @@ rule create_all_hepmc: input: expand("data/{particle}_{beam_energy}GeV_theta_{theta_min}deg_thru_{theta_max}deg.hepmc", particle=["gamma"], - beam_energy=["0.005", "0.01", "0.05", "0.1", "0.5", "1."], + beam_energy=["0.005", "0.01", "0.05", "0.1", "0.5", "1.0"], theta_min=["0"], theta_max=["0.3"]) diff --git a/benchmarks/zdc_lyso/analysis/analysis.py b/benchmarks/zdc_lyso/analysis/analysis.py index 0ef76625..6fe81c9e 100644 --- a/benchmarks/zdc_lyso/analysis/analysis.py +++ b/benchmarks/zdc_lyso/analysis/analysis.py @@ -14,7 +14,7 @@ def gaussian(x, amp, mean, sigma): return amp * np.exp( -(x - mean)**2 / (2*sigma**2) ) -Energy = [0.005, 0.01, 0.05, 0.1, 0.5, 1] +Energy = [0.005, 0.01, 0.05, 0.1, 0.5, 1.0] df = pd.DataFrame({}) for eng in Energy: