examples/testing/ttbar/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_BENCHMARK=mc-tester.root-ttbar-10M
5 
6 
7 CONF=pythia_ttbar.conf
8 NAME=ttbar
9 
10 PROGRAM=$(PHOTOS_ONLY)
11 SPECIAL_MODE=$(TOP_MODE)
12 
13 tester.$(NAME).pdf: mc-tester.$(NAME).root
14  $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
15  mv tester.pdf tester.$(NAME).pdf
16  $(VIEWER) tester.$(NAME).pdf &
17  @echo
18  @echo "IMPORTANT:"
19  @echo "Following example is missing hadronization of b b_bar pair."
20  @echo
21  @echo "Error messages redirected to /dev/null due to large output from Pythia"
22  @echo
23 
24 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
25  $(PROGRAM) $(CONF) $(EVENTS) $(SPECIAL_MODE) 2>/dev/null
26  mv mc-tester.root mc-tester.$(NAME).root
27 
28 clean:
29  rm -rf *~ booklet* tester* mc-results*
30  rm -rf MC-TESTER.DAT *_C.so *_C.d
31 
32 clobber: clean
33  rm -f mc-tester.$(NAME).root