aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/likelihood.h')
-rw-r--r--src/likelihood.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/likelihood.h b/src/likelihood.h
index b326d5d..7622ffe 100644
--- a/src/likelihood.h
+++ b/src/likelihood.h
@@ -4,6 +4,8 @@
#include "event.h"
#include <stddef.h> /* for size_t */
+#define MAX_NPOINTS 1000
+
/* Maximum number of PE to consider if the PMT was hit. */
#define MAX_PE 10000
/* Maximum number of PE to consider if the PMT wasn't hit.
@@ -35,9 +37,17 @@
#define GTVALID 400.0
#define BETA_MIN 0.8
+/* 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. */
+#define PHOTONS_PER_MEV 400.0
+
typedef struct particle {
double mass;
double range;
+ double rad;
double *x;
double *T;
size_t n;