Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-31 | add epsrel argument to likelihood function | tlatorre | |
2018-08-31 | update the lower bound for the energy in the fit | tlatorre | |
2018-08-31 | update the criterion for the fit convergence | tlatorre | |
2018-08-31 | update likelihood check to 1e-5 since that's what we pass to nlopt | tlatorre | |
2018-08-31 | fit in a do while loop until the fit converges to the same likelihood value | tlatorre | |
2018-08-31 | add option to save fit results to a text file | tlatorre | |
2018-08-31 | update printf arguments to keep output aligned | tlatorre | |
2018-08-31 | print out how long the likelihood function takes | tlatorre | |
2018-08-28 | add path to the likelihood fit | tlatorre | |
This commit updates the likelihood fit to use the KL path expansion. Currently, I'm just using one coefficient for the path in both x and y. | |||
2018-08-14 | fix ev pointer bug | tlatorre | |
2018-08-14 | update pmt hit array in event struct to be MAX_PMTS long | tlatorre | |
2018-08-14 | add lower and upper bounds for the fit parameters | tlatorre | |
2018-08-14 | add function to fit event and clear event after each fit | tlatorre | |
2018-08-14 | set stopping critera | tlatorre | |
2018-08-14 | update the printf format string for the fit parameters | tlatorre | |
2018-08-14 | update fit to use nlopt for minimization | tlatorre | |
The GSL library only has the Nelder Mead Simplex algorithm for doing multidimensional minimization without gradient information. The nlopt library has lots of different minimization algorithms so it's easier to switch between them to see which one works best. | |||
2018-08-14 | fix how the RMS scattering angle is calculated | tlatorre | |
The RMS scattering angle calculation comes from Equation 33.15 in the PDG article on the passage of particles through matter. It's not entirely obvious if this equation is correct for a long track. It seems like it should be integrated along the track to add up the contributions at different energies, but it's not obvious how to do that with the log term. In any case, the way I was previously calculating it (by using the momentum and velocity at each point along the track) was definitely wrong. I will try this out and perhaps try to integrate it later. | |||
2018-08-14 | move everything to src directory | tlatorre | |