From 1d77bacaae25d40d160f2bcd14ba3a355921213e Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sun, 27 Jan 2019 21:08:25 -0600 Subject: add photons from delta rays to likelihood calculation This commit updates the likelihood function to take into account Cerenkov light produced from delta rays produced by muons. The angular distribution of this light is currently assumed to be constant along the track and parameterized in the same way as the Cerenkov light from an electromagnetic shower. Currently I assume the light is produced uniformly along the track which isn't exactly correct, but should be good enough. --- src/proton.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/proton.h') diff --git a/src/proton.h b/src/proton.h index 008f835..cffeb9f 100644 --- a/src/proton.h +++ b/src/proton.h @@ -3,6 +3,15 @@ #include /* for size_t */ +/* Number of photons in the range 200 nm - 800 nm generated per MeV of energy + * lost to radiation for electrons. + * + * FIXME: This is just a rough estimate, should use an energy dependent + * quantity from simulation. + * + * FIXME: Actually determine what this is. */ +#define PROTON_PHOTONS_PER_MEV 400.0 + double proton_get_range(double T, double rho); double proton_get_dEdx_rad(double T, double rho); double proton_get_dEdx(double T, double rho); -- cgit