-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
40 lines (29 loc) · 959 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
HHSTUDENT ?= HHProcessor
HHNTUP ?= ntuples/hadhad/HHProcessor
.PHONY: dump
default: clean lib
lib:
cd higgstautau/jetcleaning && ./setup.py build_ext --inplace
kill-hung:
-./pbs.py | grep HUNG | cut -d " " -f 1 | xargs qdel
hh-ntup-clean:
rm -f $(HHNTUP)/$(HHSTUDENT).root
rm -f $(HHNTUP)/$(HHSTUDENT).h5
hh-ntup-merge: hh-ntup-clean
./ntup-merge -s $(HHSTUDENT) $(HHNTUP)
(cd $(HHNTUP) && root2hd5 $(HHSTUDENT).root)
clean-pyc:
find higgstautau -name "*.pyc" -exec rm {} \;
find xaod -name "*.pyc" -exec rm {} \;
rm -f *.pyc
clean: clean-pyc
rm -f student*.root
rm -f student*.profile
rm -f TPileupReweighting.prw.root
rm -f nohup.out
rm -f supervisor*.log
rm -f *.dot
rm -f *.e[0-9]*
rm -f *.o[0-9]*
dump:
@./dump -t tau -s "hh_taus_pass && (RunNumber==207528)" --select-file etc/embed_select_ac.txt -o RunNumber,EventNumber hhskim.embed12_p1344_hadhad.root