examples/testing/Zmumu/Makefile
00001 ############## Make tests ###########################
00002 include ../test.inc
00003
00004 NAME_BENCHMARK=mc-tester.root-Zmumu-photos-F77-100M-sym-10MeV
00005 # Or use other benchmark reference files:
00006 # NAME_BENCHMARK=mc-tester.root-Zmumu-kkmc-F77-10M-sym-1GeV
00007 # NAME_BENCHMARK=mc-tester.root-Zmumu-CEEX1-100M-nosym-1GeV
00008 # NAME_BENCHMARK=mc-tester.root-Zmumu-CEEX2-100M-nosym-1GeV
00009
00010 #WARNING! Comparison with this benchmark file requires:
00011 # - uncommenting few lines at the end of SETUP.C file
00012 # - usage of pythia_Z_resonance_peak.conf -
00013 # comment out line 'CONF' below.
00014 #NAME_BENCHMARK=mc-tester.root-Zmumu-photos-F77-1-phot-EXP-1GeV
00015
00016 CONF=pythia_Z.conf
00017 #CONF=pythia_Z_resonance_peak.conf
00018 NAME=Zmumu
00019
00020 PROGRAM=$(PHOTOS_ONLY)
00021 PYTHIA_MODE=$(Z_MU_MODE)
00022 SPECIAL_MODE=0
00023 ONE_PHOTON_MODE=0
00024
00025 tester.$(NAME).pdf: mc-tester.$(NAME).root
00026 $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
00027 mv tester.pdf tester.$(NAME).pdf
00028 $(VIEWER) tester.$(NAME).pdf &
00029
00030 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
00031 $(PROGRAM) $(CONF) $(PYTHIA_MODE) $(EVENTS) $(SPECIAL_MODE) $(ONE_PHOTON_MODE)
00032 mv mc-tester.root mc-tester.$(NAME).root
00033
00034 clean:
00035 rm -rf *~ booklet* tester* mc-results*
00036 rm -rf MC-TESTER.DAT *_C.so *_C.d
00037
00038 clobber: clean
00039 rm -f mc-tester.$(NAME).root