2020-07-12 11:31:26 +00:00
|
|
|
|
|
|
|
|
PARSER = epipe
|
|
|
|
|
include ../irena/libirena.make
|
|
|
|
|
|
2013-01-08 20:38:03 +00:00
|
|
|
|
|
|
|
|
%.E: %.dat epipe
|
|
|
|
|
./epipe < $< | grep ^E > $@
|
|
|
|
|
|
|
|
|
|
%.ES: %.dat epipe
|
|
|
|
|
./epipe < $< > $@
|
|
|
|
|
|
2013-09-03 08:28:49 +00:00
|
|
|
%.S: %.dat epipe
|
|
|
|
|
./epipe < $< | grep ^S > $@
|
|
|
|
|
|
|
|
|
|
.PRECIOUS: %.E %.ES %.S
|
2013-01-08 20:38:03 +00:00
|
|
|
|
2018-01-23 07:04:57 +00:00
|
|
|
%.hist: %.ES
|
|
|
|
|
awk '/^E/ && $$5>0 && $$6>50 && $$5<80000 && $$4>800 { print $$5 }' $< | hist.py -s 1./16 > $@
|
|
|
|
|
|
|
|
|
|
%.2dhist: %.ES
|
|
|
|
|
awk '/^E/ && $$5>0 && $$6>-50 && $$5<64000 && $$6<64000 { print $$5, $$6 }' $< | hist.py -s 1./16 -S 1.0/16 > $@
|
|
|
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
GNUPLOT = /home/asterix/stephan/src/gnuplot
|
|
|
|
|
specfit.so: specfit.o
|
|
|
|
|
$(CC) -rdynamic -fPIC -g -O2 -shared -o $@ $< -ldl -lm
|
|
|
|
|
specfit.o: specfit.c
|
|
|
|
|
gcc -rdynamic -fPIC -g -O2 -DHAVE_CONFIG_H -I$(GNUPLOT)/demo/plugin -I$(GNUPLOT)/src -I$(GNUPLOT) -o $@ -c $<
|