aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/likelihood.c')
-rw-r--r--src/likelihood.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/likelihood.c b/src/likelihood.c
index 245c20c..3b37bd5 100644
--- a/src/likelihood.c
+++ b/src/likelihood.c
@@ -188,8 +188,7 @@ particle *particle_init(int id, double T0, size_t n)
* range here using the dE/dx table instead of reading in the range. */
p->T[n-1] = 0;
- /* FIXME: add shower photons for muons. */
- p->shower_photons = 0.0;
+ p->shower_photons = muon_get_shower_photons(T0, rad);
/* Calculate the normalization constant for the angular distribution. */
norm = electron_get_angular_pdf_norm(p->delta_ray_a, p->delta_ray_b, 1/avg_index_d2o);