examples/testing/Ztautau/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_BENCHMARK=mc-tester.root-pispectr-RCall
5 # Or use other benchmark reference files:
6 # NAME_BENCHMARK=mc-tester.root-pispectr-RCtau
7 # NAME_BENCHMARK=mc-tester.root-pispectr-RCno
8 
9 CONF=pythia_Z.conf
10 NAME=Ztautau
11 
12 PROGRAM=$(PHOTOS_TAUOLA)
13 TAUOLA_MODE=$(PIPI_MODE)
14 
15 tester.$(NAME).pdf: mc-tester.$(NAME).root
16  $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
17  mv tester.pdf tester.$(NAME).pdf
18  $(VIEWER) tester.$(NAME).pdf &
19 
20 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
21  $(PROGRAM) $(CONF) $(EVENTS) $(TAUOLA_MODE) 2>/dev/null
22  mv mc-tester.root mc-tester.$(NAME).root
23 
24 clean:
25  rm -rf *~ booklet* tester* mc-results*
26  rm -rf MC-TESTER.DAT *_C.so *_C.d
27 
28 clobber: clean
29  rm -f mc-tester.$(NAME).root