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