diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-31 15:33:45 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-31 15:33:45 -0500 |
commit | 02842a0876f5f39bf8e56ceac8cb9b8ff62b943e (patch) | |
tree | cf9d9eabe56d1bd6ade27288019e30a13967a53d /src/misc.h | |
parent | d16a579bacc9f78038b4d3b7dd7965162cd3703b (diff) | |
download | sddm-02842a0876f5f39bf8e56ceac8cb9b8ff62b943e.tar.gz sddm-02842a0876f5f39bf8e56ceac8cb9b8ff62b943e.tar.bz2 sddm-02842a0876f5f39bf8e56ceac8cb9b8ff62b943e.zip |
update test-find-peaks to plot cerenkov rings
This commit updates the test-find-peaks script to plot Cerenkov rings for each
of the peaks. It also updates the script to use quad to find the position
instead of using the MC information. Finally, I added a -n argument to the
script to specify how many peaks to draw.
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ #define LNFACT_MAX 100 double trapz(const double *y, double dx, size_t n); +int intersect_sphere(double *pos, double *dir, double R, double *l); void get_path_length(double *pos1, double *pos2, double R, double *l1, double *l2); double ln(unsigned int n); double lnfact(unsigned int n); |