From 9777b92d16cb3a3434c43b084d88f59321567e2d Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 26 Nov 2018 09:53:28 -0600 Subject: 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. --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile') 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 -- cgit