examples/testing/Wmunu/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_BENCHMARK=mc-tester.root-Wmunu-photos-100M-sym-10MeV
5 # Or use other benchmark reference files:
6 
7 #WARNING! Comparison with this benchmark file requires:
8 # - uncommenting few lines at the end of SETUP.C file
9 # - usage of pythia_W_resonance_peak.conf -
10 # comment out line 'CONF' below.
11 #NAME_BENCHMARK=mc-tester.root-Wmunu-photos-F77-100M-1-phot-5MeV
12 
13 CONF=pythia_W.conf
14 #CONF=pythia_W_resonance_peak.conf
15 NAME=Wmunu
16 
17 PROGRAM=$(PHOTOS_ONLY)
18 SPECIAL_MODE=0
19 ONE_PHOTON_MODE=0
20 
21 tester.$(NAME).pdf: mc-tester.$(NAME).root
22  $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
23  mv tester.pdf tester.$(NAME).pdf
24  $(VIEWER) tester.$(NAME).pdf &
25 
26 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
27  $(PROGRAM) $(CONF) $(EVENTS) $(SPECIAL_MODE) $(ONE_PHOTON_MODE)
28  mv mc-tester.root mc-tester.$(NAME).root
29 
30 clean:
31  rm -rf *~ booklet* tester* mc-results*
32  rm -rf MC-TESTER.DAT *_C.so *_C.d
33 
34 clobber: clean
35  rm -f mc-tester.$(NAME).root