diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-10-18 09:37:49 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-10-18 09:37:49 -0500 |
commit | ca2a9c2df4eb142f8d4b605e3334ce9bac691521 (patch) | |
tree | 5c9c13ca25f470b7362bbdde6e5eac02c0a98a63 /src/fit.c | |
parent | 643204e807d5e78f883fc30dc7383a209e86dbc5 (diff) | |
download | sddm-ca2a9c2df4eb142f8d4b605e3334ce9bac691521.tar.gz sddm-ca2a9c2df4eb142f8d4b605e3334ce9bac691521.tar.bz2 sddm-ca2a9c2df4eb142f8d4b605e3334ce9bac691521.zip |
update fit to fit for electrons and protons
Diffstat (limited to 'src/fit.c')
-rw-r--r-- | src/fit.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ #include "pmt_response.h" #include <signal.h> /* for signal() */ #include "release.h" +#include "id_particles.h" char *GitSHA1(void); char *GitDirty(void); @@ -4995,7 +4996,7 @@ double nll(unsigned int n, const double *x, double *grad, void *params) z2[0] = x[8]; gettimeofday(&tv_start, NULL); - fval = nll_muon(fpars->ev, T, pos, dir, t0, z1, z2, 1, fpars->epsrel, fpars->fast); + fval = nll_muon(fpars->ev, IDP_MU_MINUS, T, pos, dir, t0, z1, z2, 1, fpars->epsrel, fpars->fast); gettimeofday(&tv_stop, NULL); long long elapsed = (tv_stop.tv_sec - tv_start.tv_sec)*1000 + (tv_stop.tv_usec - tv_start.tv_usec)/1000; |