diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-11-16 10:05:25 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-11-16 10:05:25 -0600 |
commit | 8117ba49eea965eaf736ca869f2f67e0a8e9de6a (patch) | |
tree | bbe7b8312321b24c04636ecbf5ef5a185efc230b /src/test.c | |
parent | 8ddd9009444486479cb54a6f3e3e24eaf2124ca0 (diff) | |
download | sddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.tar.gz sddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.tar.bz2 sddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.zip |
update fit to fit events from the salt phase
This commit updates both the PMT response and optics code to be able to
load constants from the salt phase.
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -147,7 +147,7 @@ int test_proton_get_energy(char *err) double T0, T; particle *p; - optics_init(); + optics_init(10000); /* Assume initial kinetic energy is 1 GeV. */ T0 = 1000.0; @@ -185,7 +185,7 @@ int test_electron_get_energy(char *err) double T0, T; particle *p; - optics_init(); + optics_init(10000); /* Assume initial kinetic energy is 1 GeV. */ T0 = 1000.0; @@ -223,7 +223,7 @@ int test_muon_get_energy(char *err) double T0, T; particle *p; - optics_init(); + optics_init(10000); /* Assume initial kinetic energy is 1 GeV. */ T0 = 1000.0; |