From 4178680c74627d6490b44ae6b59b4332700d952f Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 16 Jul 2019 11:18:09 -0500 Subject: use QLX if QHS is railed --- src/test-find-peaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test-find-peaks.c') 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"); -- cgit