bachelor_thesis/prog/runcards/pp/makefile

16 lines
700 B
Makefile
Raw Normal View History

sherpa: Sherpa.yaml
Sherpa
.PHONY: clean
clean:
find * ! -name 'qqgg_simple' ! -name 'analysis' ! -name 'Sherpa.yaml' ! -name 'sherpa_xs' ! -name 'makefile' -exec rm -rf {} +
sherpa_xs: Sherpa.yaml
Sherpa -e 0 -a "" '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_proton" mpirun --use-hwthread-cpus --use-hwthread-cpus Sherpa
rivet-mkhtml *.yoda -o analysis
2020-04-26 18:07:08 +02:00
cp *.yoda analysis