diff options
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1464,7 +1464,7 @@ int test_quad(char *err) for (j = 0; j < LEN(hits); j++) { SUB(pmt_dir,pmts[hits[j]].pos,x0); ev.pmt_hits[hits[j]].hit = 1; - ev.pmt_hits[hits[j]].qhs = genrand_real2(); + ev.pmt_hits[hits[j]].q = genrand_real2(); ev.pmt_hits[hits[j]].t = t0 + NORM(pmt_dir)*n_d2o/SPEED_OF_LIGHT; } @@ -1569,7 +1569,7 @@ int test_quad_noise(char *err) for (j = 0; j < LEN(hits); j++) { SUB(pmt_dir,pmts[hits[j]].pos,x0); ev.pmt_hits[hits[j]].hit = 1; - ev.pmt_hits[hits[j]].qhs = genrand_real2(); + ev.pmt_hits[hits[j]].q = genrand_real2(); ev.pmt_hits[hits[j]].t = t0 + NORM(pmt_dir)*n_d2o/SPEED_OF_LIGHT + randn()*PMT_TTS; } |