aboutsummaryrefslogtreecommitdiff
path: root/src/test-find-peaks.c
diff options
context:
space:
mode:
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");