Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-28 | update sno_charge.c | tlatorre | |
This commit adds lots of comments to sno_charge.c and makes a couple of other changes: - use interp1d() instead of the GSL interpolation routines - increase MAX_PE to 100 I increased MAX_PE because I determined that it had a rather large impact on the likelihood function for 500 MeV electrons. This unfortunately slows down the initialization by a lot. I think I could speed this up by convolving the single PE charge distribution with a gaussian *before* convolving the charge distributions to compute the charge distributions for multiple PE. | |||
2018-11-27 | a bunch of small changes to speed things up | tlatorre | |
2018-09-18 | add free_charge() to free memory used to interpolate the charge distributions | tlatorre | |
2018-09-10 | add a fast likelihood function | tlatorre | |
This commit adds a fast function to calculate the expected number of PE at a PMT without numerically integrating over the track. This calculation is *much* faster than integrating over the track (~30 ms compared to several seconds) and so we use it during the "quick" minimization phase of the fit to quickly find the best position. | |||
2018-08-14 | move everything to src directory | tlatorre | |