examples/testing/WmunuNLO/Makefile
00001 ############## Make tests ###########################
00002 include ../test.inc
00003
00004 NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-1-phot-NLO
00005 # Or use other benchmark reference files:
00006 #NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-1-phot
00007 #NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-nosym-10MeV-1-phot-NLO
00008 #NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-sym-10MeV
00009
00010 #WARNING! Comparison with this benchmark file requires:
00011 # - uncommenting few lines at the end of SETUP.C file
00012 # - usage of pythia_W_resonance_peak.conf -
00013 # comment out line 'CONF' below.
00014 #NAME_BENCHMARK=mc-tester.root-Wmunu-photos-F77-100M-1-phot-5MeV-NLO
00015
00016 CONF=pythia_W.conf
00017 #CONF=pythia_W_resonance_peak.conf
00018 NAME=WmunuNLO
00019
00020 PROGRAM=$(PHOTOS_ONLY)
00021 PYTHIA_MODE=$(DEFAULT_MODE)
00022 SPECIAL_MODE=$(NLO_MODE)
00023 ONE_PHOTON_MODE=1
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