diff options
| author | tlatorre <tlatorre@uchicago.edu> | 2018-09-06 10:13:52 -0500 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2018-09-06 10:13:52 -0500 |
| commit | ae90fe0e0c47e39a803c453e565e0eebea2ecd65 (patch) | |
| tree | b04af76a4b273047da99a9ca595fc018e2caa8ff /src/path.h | |
| parent | 19fc5bf79f207d2c1d7c7e9a540802249de8163e (diff) | |
| download | sddm-ae90fe0e0c47e39a803c453e565e0eebea2ecd65.tar.gz sddm-ae90fe0e0c47e39a803c453e565e0eebea2ecd65.tar.bz2 sddm-ae90fe0e0c47e39a803c453e565e0eebea2ecd65.zip | |
introduce a minimum value for the scattering RMS theta0
Diffstat (limited to 'src/path.h')
| -rw-r--r-- | src/path.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3,6 +3,16 @@ #include <gsl/gsl_spline.h> +/* Minimum value for the scattering RMS `theta0`. + * + * This is a bit of a hack to correct for the fact that we assume the + * probability of a photon hitting a PMT is uniform across the face of a PMT. + * By introducing a minimum value for the scattering RMS we broaden the angular + * distribution such that it effectively averages across the face of a PMT. + * + * FIXME: Should do some tests to figure out what is the best value. */ +#define MIN_THETA0 0.01 + typedef double getKineticEnergyFunc(double x, double T0); typedef struct path { |
