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