aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-09-04 15:48:09 -0500
committertlatorre <tlatorre@uchicago.edu>2018-09-04 15:48:09 -0500
commitf06d6c8c5a16f1305a855e640a784983ab2a2474 (patch)
treef37b33b02da5aeec2c0688b383e11a0bd97d9798 /src/misc.c
parent8dacac2a644394ed529204ca9d22a89cce53ae80 (diff)
downloadsddm-f06d6c8c5a16f1305a855e640a784983ab2a2474.tar.gz
sddm-f06d6c8c5a16f1305a855e640a784983ab2a2474.tar.bz2
sddm-f06d6c8c5a16f1305a855e640a784983ab2a2474.zip
update fit to guess energy, direction, and t0
This commit updates the initial guess for the energy using a simple heuristic of ~6 hits/MeV. I also updated the initial phase where we do a bunch of "quick" minimizations to loop over a series of starting positions and automatically calculate the approximate direction and t0 for the event.
Diffstat (limited to 'src/misc.c')
0 files changed, 0 insertions, 0 deletions