aboutsummaryrefslogtreecommitdiff
path: root/src/test-find-peaks.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-07-16 11:18:09 -0500
committertlatorre <tlatorre@uchicago.edu>2019-07-16 11:18:09 -0500
commit4178680c74627d6490b44ae6b59b4332700d952f (patch)
tree0593579ce29eeacb20d265c7933cbdaab3f0d821 /src/test-find-peaks.c
parent9f63d7eae7d8be9b599955644aa4c7a92ccb640f (diff)
downloadsddm-4178680c74627d6490b44ae6b59b4332700d952f.tar.gz
sddm-4178680c74627d6490b44ae6b59b4332700d952f.tar.bz2
sddm-4178680c74627d6490b44ae6b59b4332700d952f.zip
use QLX if QHS is railed
Diffstat (limited to 'src/test-find-peaks.c')
-rw-r--r--src/test-find-peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-find-peaks.c b/src/test-find-peaks.c
index f9b7fa4..11fa4b4 100644
--- a/src/test-find-peaks.c
+++ b/src/test-find-peaks.c
@@ -106,7 +106,7 @@ void plot_find_peaks(event *ev, double *pos, double *peak_theta, double *peak_ph
theta = acos(pmts[i].pos[2]/r);
phi = atan2(pmts[i].pos[1],pmts[i].pos[0]);
phi = (phi < 0) ? phi + 2*M_PI: phi;
- fprintf(pipe, "%.10g %.10g %.10g %.10g\n", phi, theta, 0.01, ev->pmt_hits[i].qhs);
+ fprintf(pipe, "%.10g %.10g %.10g %.10g\n", phi, theta, 0.01, ev->pmt_hits[i].q);
}
}
fprintf(pipe,"e\n");