aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-11-26 09:53:28 -0600
committertlatorre <tlatorre@uchicago.edu>2018-11-26 09:53:28 -0600
commit9777b92d16cb3a3434c43b084d88f59321567e2d (patch)
tree6e020a8bf708cad52adcaf3f7e838bac76c6308b /src/Makefile
parent4372a0bb54b374061e1b00bca9da45aa0325e7c5 (diff)
downloadsddm-9777b92d16cb3a3434c43b084d88f59321567e2d.tar.gz
sddm-9777b92d16cb3a3434c43b084d88f59321567e2d.tar.bz2
sddm-9777b92d16cb3a3434c43b084d88f59321567e2d.zip
update electron range tables
This commit also adds a script to calculate the CSDA range for electrons from a table of the stopping power as a function of energy. We need this script since the NIST ESTAR website will only output the stopping power above a certain energy threshold (1 GeV for electrons). See https://physics.nist.gov/PhysRefData/Star/Text/ESTAR.html.
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 62a95af..80eef49 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
+all: test test-vector test-likelihood fit test-charge test-path calculate-csda-range
Makefile.dep:
-$(CC) -MM *.c > Makefile.dep
@@ -28,6 +28,8 @@ 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
+calculate-csda-range: calculate-csda-range.o
+
clean:
rm -f *.o calculate_limits test Makefile.dep