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