From 6e3af3bb59c729bbcfa1126a6c05694c52e21616 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 1 Oct 2018 16:07:33 -0500 Subject: use the PMT response table to calculate the amount of reflected light To calculate the expected number of photons from reflected light we now integrate over the track and use the PMT response table to calculate what fraction of the light is reflected. Previously we were just using a constant fraction of the total detected light which was faster since we only had to integrate over the track once, but this should be more accurate. --- src/muon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/muon.h') diff --git a/src/muon.h b/src/muon.h index 253a9df..ce3db29 100644 --- a/src/muon.h +++ b/src/muon.h @@ -16,6 +16,7 @@ double muon_get_energy(double x, muon_energy *m); void muon_free_energy(muon_energy *m); double get_range(double T, double rho); double get_dEdx(double T, double rho); +double get_expected_reflected_charge(double x, double T, double theta0, double *pos, double *dir, double *pmt_pos, double *pmt_normal, double r); double get_expected_charge(double x, double T, double T0, double *pos, double *dir, double *pmt_pos, double *pmt_normal, double r); #endif -- cgit