aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-11-27 16:07:56 -0600
committertlatorre <tlatorre@uchicago.edu>2018-11-27 16:07:56 -0600
commita0c1f4560325311558eedf39bd191ddaad182367 (patch)
tree90b4cf850ce5f0f3f8436cf3f8a6cc03103826f2 /src/Makefile
parent44a346b9137cb26e5b54a7e77f4d2fc0d594774d (diff)
downloadsddm-a0c1f4560325311558eedf39bd191ddaad182367.tar.gz
sddm-a0c1f4560325311558eedf39bd191ddaad182367.tar.bz2
sddm-a0c1f4560325311558eedf39bd191ddaad182367.zip
add rayleigh scattering
This commit adds Rayleigh scattering to the likelihood function. The Rayleigh scattering lengths come from rsp_rayleigh.dat from SNOMAN which only includes photons which scattered +/- 10 ns around the prompt peak. The fraction of light which scatters is treated the same in the likelihood as reflected light, i.e. it is uniform across all the PMTs in the detector and the time PDF is assumed to be a constant for a fixed amount of time after the prompt peak.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 80eef49..c44c172 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@ release_hdr := $(shell sh -c './mkreleasehdr.sh')
CFLAGS=-O2 -Wall -g -DSWAP_BYTES
LDLIBS=-lm -lgsl -lgslcblas -lnlopt_cxx -lstdc++
-all: test test-vector test-likelihood fit test-charge test-path calculate-csda-range
+all: test test-vector test-likelihood fit test-charge test-path calculate-csda-range test-time-pdf
Makefile.dep:
-$(CC) -MM *.c > Makefile.dep
@@ -24,6 +24,8 @@ test-path: test-path.o mt19937ar.o vector.o path.o random.o misc.o
test-charge: test-charge.o sno_charge.o misc.o vector.o
+test-time-pdf: test-time-pdf.o zebra.o likelihood.o pmt.o vector.o misc.o muon.o optics.o quantum_efficiency.o solid_angle.o pdg.o scattering.o zdab_utils.o pack2b.o sno_charge.o db.o dqxx.o dict.o siphash.o path.o pmt_response.o release.o electron.o proton.o
+
test-zebra: test-zebra.o zebra.o pack2b.o
fit: fit.o zebra.o likelihood.o pmt.o vector.o misc.o muon.o optics.o quantum_efficiency.o solid_angle.o pdg.o scattering.o zdab_utils.o pack2b.o sno_charge.o db.o dqxx.o dict.o siphash.o path.o pmt_response.o release.o electron.o proton.o