diff options
author | Stan Seibert <stan@mtrr.org> | 2011-06-22 15:16:11 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-06-22 15:16:11 -0400 |
commit | c363c3f7e396fedfd0e4ef05f777d78fb72aacb3 (patch) | |
tree | a3dda17c5c0fe682ba05b213e70538d9cd6380fd /src | |
parent | 484d4d574c57f14ca66c8e1c141b58915a1798ae (diff) | |
download | chroma-c363c3f7e396fedfd0e4ef05f777d78fb72aacb3.tar.gz chroma-c363c3f7e396fedfd0e4ef05f777d78fb72aacb3.tar.bz2 chroma-c363c3f7e396fedfd0e4ef05f777d78fb72aacb3.zip |
Start jittering the PMT times in the DAQ simulation.
Diffstat (limited to 'src')
-rw-r--r-- | src/daq.cu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |