From 2ef4619bb38e02a5a57cacad0759f0a918ded112 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sat, 23 Mar 2019 14:09:17 -0500 Subject: set CHARGE_FRACTION to 0.4 for both electrons and muons --- src/likelihood.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/likelihood.c') 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 -- cgit