diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-22 12:44:15 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-22 12:44:15 -0400 |
commit | b0c6382a80ef9704858c3a77511fa58f7949d7a3 (patch) | |
tree | 5ed08656d2724594ef85b4fde6566416b167a002 /src/muon.h | |
parent | 04dd1f0c2369980fd474853bacf8047b3d2be074 (diff) | |
download | sddm-b0c6382a80ef9704858c3a77511fa58f7949d7a3.tar.gz sddm-b0c6382a80ef9704858c3a77511fa58f7949d7a3.tar.bz2 sddm-b0c6382a80ef9704858c3a77511fa58f7949d7a3.zip |
add a function to compute the number of shower photons for muons
Similarly to electrons, I fit an analytic form to the ratio of the number of
photons produced via shower particles over the radiative energy loss. In this
case, I chose the functional form:
ratio = a*(1-exp(-T/b))
since the ratio seemed to reach a constant value after a certain energy. I then
simulated a 10 GeV muon and it appears that the ratio might actually decrease
after that, so for higher energies I may have to come up with a different fit
function.
Diffstat (limited to 'src/muon.h')
-rw-r--r-- | src/muon.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ * FIXME: Actually determine what this is. */ #define MUON_PHOTONS_PER_MEV 7368.0 +double muon_get_shower_photons(double T0, double rad); void muon_get_position_distribution_parameters(double T0, double *a, double *b); double muon_get_angular_distribution_alpha(double T0); double muon_get_angular_distribution_beta(double T0); |