examples/testing/Zmumu/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_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 
16 CONF=pythia_Z.conf
17 #CONF=pythia_Z_resonance_peak.conf
18 NAME=Zmumu
19 
20 PROGRAM=$(PHOTOS_ONLY)
21 SPECIAL_MODE=0
22 ONE_PHOTON_MODE=0
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