examples/testing/Zee/Makefile

00001 ############## Make tests ###########################
00002 include ../test.inc
00003 
00004 NAME_BENCHMARK=mc-tester.root-Zee-10M-nosym-10MeV
00005 # Or use other benchmarks reference files:
00006 # NAME_BENCHMARK=mc-tester.root-Zee-kkmc-sym-1GeV
00007 # NAME_BENCHMARK=mc-tester.root-Zee-photos-100M-sym-10MeV
00008 
00009 CONF=pythia_Z.conf
00010 NAME=Zee
00011 
00012 PROGRAM=$(PHOTOS_ONLY)
00013 PYTHIA_MODE=$(PP_MODE)
00014 
00015 tester.$(NAME).pdf: mc-tester.$(NAME).root
00016         $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
00017         mv tester.pdf tester.$(NAME).pdf
00018         $(VIEWER) tester.$(NAME).pdf &
00019         @echo
00020         @echo "Error messages redirected to /dev/null due to large output from Pythia"
00021         @echo
00022 
00023 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
00024         $(PROGRAM) $(CONF) $(PYTHIA_MODE) $(EVENTS) 2>/dev/null
00025         mv mc-tester.root mc-tester.$(NAME).root
00026 
00027 clean:
00028         rm -rf *~ booklet* tester* mc-results* 
00029         rm -rf MC-TESTER.DAT *_C.so *_C.d
00030 
00031 clobber: clean
00032         rm -f mc-tester.$(NAME).root 
Generated on Sun Oct 20 20:23:56 2013 for C++InterfacetoPHOTOS by  doxygen 1.6.3