examples/testing/WmunuNLO/Makefile
1############## Make tests ###########################
2include ../test.inc
3
4NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-1-phot-NLO
5# Or use other benchmark reference files:
6#NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-1-phot
7#NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-nosym-10MeV-1-phot-NLO
8#NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-sym-10MeV
9
10#WARNING! Comparison with this benchmark file requires:
11# - uncommenting few lines at the end of SETUP.C file
12# - usage of pythia_W_resonance_peak.conf -
13# comment out line 'CONF' below.
14#NAME_BENCHMARK=mc-tester.root-Wmunu-photos-F77-100M-1-phot-5MeV-NLO
15
16CONF=pythia_W.conf
17#CONF=pythia_W_resonance_peak.conf
18NAME=WmunuNLO
19
20PROGRAM=$(PHOTOS_ONLY)
21SPECIAL_MODE=$(NLO_MODE)
22ONE_PHOTON_MODE=1
23
24tester.$(NAME).pdf: mc-tester.$(NAME).root
25 $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
26 mv tester.pdf tester.$(NAME).pdf
27 $(VIEWER) tester.$(NAME).pdf &
28
29mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
30 $(PROGRAM) $(CONF) $(EVENTS) $(SPECIAL_MODE) $(ONE_PHOTON_MODE)
31 mv mc-tester.root mc-tester.$(NAME).root
32
33clean:
34 rm -rf *~ booklet* tester* mc-results*
35 rm -rf MC-TESTER.DAT *_C.so *_C.d
36
37clobber: clean
38 rm -f mc-tester.$(NAME).root