examples/testing/Zmumu/Makefile
1############## Make tests ###########################
2include ../test.inc
3
4NAME_BENCHMARK=mc-tester.root-Zmumu-photos-F77-100M-sym-10MeV
5# Or use other benchmark reference files:
6# NAME_BENCHMARK=mc-tester.root-Zmumu-kkmc-F77-10M-sym-1GeV
7# NAME_BENCHMARK=mc-tester.root-Zmumu-CEEX1-100M-nosym-1GeV
8# NAME_BENCHMARK=mc-tester.root-Zmumu-CEEX2-100M-nosym-1GeV
9
10#WARNING! Comparison with this benchmark file requires:
11# - uncommenting few lines at the end of SETUP.C file
12# - usage of pythia_Z_resonance_peak.conf -
13# comment out line 'CONF' below.
14#NAME_BENCHMARK=mc-tester.root-Zmumu-photos-F77-1-phot-EXP-1GeV
15
16CONF=pythia_Z.conf
17#CONF=pythia_Z_resonance_peak.conf
18NAME=Zmumu
19
20PROGRAM=$(PHOTOS_ONLY)
21SPECIAL_MODE=0
22ONE_PHOTON_MODE=0
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