From c363c3f7e396fedfd0e4ef05f777d78fb72aacb3 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Wed, 22 Jun 2011 15:16:11 -0400 Subject: Start jittering the PMT times in the DAQ simulation. --- src/daq.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daq.cu b/src/daq.cu index c79401c..99490bd 100644 --- a/src/daq.cu +++ b/src/daq.cu @@ -57,7 +57,7 @@ extern "C" { if (triangle_id > -1) { int solid_id = solid_map[triangle_id]; int state = photon_states[id]; - float time = photon_times[id];// + curand_normal(&rng) * time_rms; + float time = photon_times[id] + curand_normal(&rng) * time_rms; unsigned int time_int = float_to_sortable_int(time); if (solid_id < nsolids && state == detection_state) atomicMin(earliest_time_int + solid_id, time_int); -- cgit