bachelor_thesis/prog/runcards/pp/makefile

16 lines
851 B
Makefile
Raw Normal View History

2020-05-08 10:44:43 +02:00
SHERPA:=Sherpa
sherpa_xs: Sherpa.yaml
2020-05-08 10:44:43 +02:00
$(SHERPA) -e 0 -a "" 'GENERATE_RESULT_DIRECTORY: false' | sed 's/\x1b\[[0-9;]*m//g' | perl -ne 'while(/.*\s:\s([0-9]+\.[0-9]+(?:e-?[0-9]+)?)\spb\s\+-\s\(\s([0-9]+\.[0-9]+(?:e-?[0-9]+)?).*$$/g){print "$$1\n$$2\n";}' | tee sherpa_xs
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
analysis: Sherpa.yaml
2020-04-29 14:55:41 +02:00
RIVET_ANALYSIS_PATH="$(ROOT_DIR)/../../analysis/qqgg_proton" mpirun --use-hwthread-cpus --use-hwthread-cpus Sherpa "OUTPUT: 0"
2020-04-26 19:58:38 +02:00
yodamerge *.yoda -o Analysis_all.yoda
2020-05-15 18:36:41 +02:00
RIVET_ANALYSIS_PATH="$(ROOT_DIR)/../../analysis/qqgg_proton" rivet-mkhtml Analysis_all.yoda -o analysis
2020-04-26 19:58:38 +02:00
mv Analysis_all.yoda analysis/Analysis.yoda
2020-04-29 14:55:41 +02:00
.PHONY: clean
clean:
2020-05-03 15:51:49 +02:00
find * ! -name 'flat_pdf.C' ! -name 'qqgg_simple' ! -name 'analysis' ! -name 'Sherpa.yaml' ! -name 'sherpa_xs' ! -name 'makefile' -exec rm -rf {} +