diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-10-01 16:07:33 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-10-01 16:07:33 -0500 |
commit | 6e3af3bb59c729bbcfa1126a6c05694c52e21616 (patch) | |
tree | 01b4d097c42d45885becd4108014d6fe7ba85bda /src/muon.h | |
parent | efa1929196659ca24eb7d40e9b7532c16fb5e20a (diff) | |
download | sddm-6e3af3bb59c729bbcfa1126a6c05694c52e21616.tar.gz sddm-6e3af3bb59c729bbcfa1126a6c05694c52e21616.tar.bz2 sddm-6e3af3bb59c729bbcfa1126a6c05694c52e21616.zip |
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.
Diffstat (limited to 'src/muon.h')
-rw-r--r-- | src/muon.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |