From 7c04702359766d35ce01f093c843308d13ea853f Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 18 Sep 2018 09:45:23 -0500 Subject: update CHARGE_FRACTION This commit updates the CHARGE_FRACTION value to now represent approximately the fraction of light reflected from each PMT. It also updates the value to be closer to the true value based on a couple of fits. --- src/likelihood.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/likelihood.c') diff --git a/src/likelihood.c b/src/likelihood.c index 6cc990c..2b686f8 100644 --- a/src/likelihood.c +++ b/src/likelihood.c @@ -403,7 +403,7 @@ double nll_muon(event *ev, double T0, double *pos, double *dir, double t0, doubl gsl_integration_cquad_workspace_free(w); mu_noise = DARK_RATE*GTVALID*1e-9; - mu_indirect = total_charge/CHARGE_FRACTION; + mu_indirect = total_charge*CHARGE_FRACTION/10000.0; for (i = 0; i < MAX_PMTS; i++) { if (ev->pmt_hits[i].flags || (pmts[i].pmt_type != PMT_NORMAL && pmts[i].pmt_type != PMT_OWL)) continue; -- cgit