bachelor_thesis/prog/runcards/qqgg/makefile

14 lines
785 B
Makefile
Raw Normal View History

2020-03-28 09:18:06 +01:00
sherpa_xs: Sherpa.yaml
Sherpa 'EVENTS: 0' "ANALYSIS: None" 'GENERATE_RESULT_DIRECTORY: false' | sed 's/\x1b\[[0-9;]*m//g' | sed -n 's/2_2__d__db__P__P\s:\s\([0-9]*\.[0-9]*\)\spb\s+-\s(\s\([0-9]*\.[0-9]*e-*[0-9]*\).*/\\(\\\sigma = \\\SI{\1\\\pm \2}{\\\pico\\\barn}\\)/p' > sherpa_xs
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
analysis: Sherpa.yaml
RIVET_ANALYSIS_PATH="$(ROOT_DIR)/../../analysis/qqgg_simple/" mpirun --use-hwthread-cpus --use-hwthread-cpus Sherpa "OUTPUT: 0"
2020-04-26 19:58:38 +02:00
yodamerge *.yoda -o Analysis_all.yoda
rivet-mkhtml Analysis_all.yoda -o analysis
mv Analysis_all.yoda analysis/Analysis.yoda
2020-04-28 18:06:20 +02:00
.PHONY: clean
clean:
find * ! -name 'qqgg_simple' ! -name 'analysis' ! -name 'Sherpa.yaml' ! -name 'sherpa_xs' ! -name 'makefile' -exec rm -rf {} +