aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/likelihood.c')
-rw-r--r--src/likelihood.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/likelihood.c b/src/likelihood.c
index a7902c1..45274b7 100644
--- a/src/likelihood.c
+++ b/src/likelihood.c
@@ -1084,10 +1084,7 @@ double nll(event *ev, vertex *v, size_t n, double dx, double dx_shower, int fast
mu_indirect_total = 0.0;
for (j = 0; j < n; j++) {
- if (v[j].id == IDP_E_MINUS || v[j].id == IDP_E_PLUS)
- mu_indirect_total += mu_indirect[j]*CHARGE_FRACTION_ELECTRON/10000.0;
- else
- mu_indirect_total += mu_indirect[j]*CHARGE_FRACTION_MUON/10000.0;
+ mu_indirect_total += mu_indirect[j]*CHARGE_FRACTION/10000.0;
}
/* Compute the expected number of photons reaching each PMT by adding up