examples/testing/WmunuNLO/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_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 
16 CONF=pythia_W.conf
17 #CONF=pythia_W_resonance_peak.conf
18 NAME=WmunuNLO
19 
20 PROGRAM=$(PHOTOS_ONLY)
21 SPECIAL_MODE=$(NLO_MODE)
22 ONE_PHOTON_MODE=1
23 
24 tester.$(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 
29 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
30  $(PROGRAM) $(CONF) $(EVENTS) $(SPECIAL_MODE) $(ONE_PHOTON_MODE)
31  mv mc-tester.root mc-tester.$(NAME).root
32 
33 clean:
34  rm -rf *~ booklet* tester* mc-results*
35  rm -rf MC-TESTER.DAT *_C.so *_C.d
36 
37 clobber: clean
38  rm -f mc-tester.$(NAME).root