1 | version=3.1.2
|
---|
2 |
|
---|
3 | wget http://fastjet.fr/repo/fastjet-${version}.tar.gz
|
---|
4 |
|
---|
5 | tar -zxf fastjet-${version}.tar.gz
|
---|
6 | mkdir -p fastjet/plugins
|
---|
7 | mkdir -p fastjet/internal
|
---|
8 | mkdir -p fastjet/tools
|
---|
9 |
|
---|
10 | cd fastjet-${version}
|
---|
11 | ./configure --enable-allcxxplugins
|
---|
12 | cd -
|
---|
13 |
|
---|
14 | echo ${version} > fastjet/VERSION
|
---|
15 |
|
---|
16 | cd fastjet
|
---|
17 | cp -a ../fastjet-${version}/AUTHORS .
|
---|
18 | cp -a ../fastjet-${version}/COPYING .
|
---|
19 | cp -a ../fastjet-${version}/src/*.cc .
|
---|
20 | cp -a ../fastjet-${version}/include/fastjet/*.h .
|
---|
21 | cp -a ../fastjet-${version}/include/fastjet/*.hh .
|
---|
22 | cp -a ../fastjet-${version}/include/fastjet/internal/*.hh internal
|
---|
23 | cp -a ../fastjet-${version}/include/fastjet/internal/*.icc internal
|
---|
24 | cp -a ../fastjet-${version}/tools/*.cc tools
|
---|
25 | cp -a ../fastjet-${version}/tools/fastjet/tools/*.hh tools
|
---|
26 | cd -
|
---|
27 |
|
---|
28 | cd fastjet/plugins
|
---|
29 |
|
---|
30 | mkdir -p ATLASCone/fastjet
|
---|
31 | cp -a ../../fastjet-${version}/plugins/ATLASCone/*.hh ATLASCone
|
---|
32 | cp -a ../../fastjet-${version}/plugins/ATLASCone/*.cc ATLASCone
|
---|
33 | cp -a ../../fastjet-${version}/plugins/ATLASCone/README ATLASCone
|
---|
34 | cp -a ../../fastjet-${version}/plugins/ATLASCone/fastjet/*.hh ATLASCone/fastjet
|
---|
35 |
|
---|
36 | mkdir -p CDFCones/fastjet
|
---|
37 | cp -a ../../fastjet-${version}/plugins/CDFCones/*.cc CDFCones
|
---|
38 | cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.hh CDFCones
|
---|
39 | cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.cc CDFCones
|
---|
40 | cp -a ../../fastjet-${version}/plugins/CDFCones/fastjet/*.hh CDFCones/fastjet
|
---|
41 |
|
---|
42 | mkdir -p CMSIterativeCone/fastjet
|
---|
43 | cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.h CMSIterativeCone
|
---|
44 | cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.cc CMSIterativeCone
|
---|
45 | cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/README CMSIterativeCone
|
---|
46 | cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/fastjet/*.hh CMSIterativeCone/fastjet
|
---|
47 |
|
---|
48 | mkdir -p D0RunICone/fastjet
|
---|
49 | cp -a ../../fastjet-${version}/plugins/D0RunICone/*.h D0RunICone
|
---|
50 | cp -a ../../fastjet-${version}/plugins/D0RunICone/*.hpp D0RunICone
|
---|
51 | cp -a ../../fastjet-${version}/plugins/D0RunICone/*.cc D0RunICone
|
---|
52 | cp -a ../../fastjet-${version}/plugins/D0RunICone/fastjet/*.hh D0RunICone/fastjet
|
---|
53 |
|
---|
54 | mkdir -p D0RunIICone/fastjet
|
---|
55 | cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.h D0RunIICone
|
---|
56 | cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.hpp D0RunIICone
|
---|
57 | cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.cc D0RunIICone
|
---|
58 | cp -a ../../fastjet-${version}/plugins/D0RunIICone/fastjet/*.hh D0RunIICone/fastjet
|
---|
59 |
|
---|
60 | mkdir -p EECambridge/fastjet
|
---|
61 | cp -a ../../fastjet-${version}/plugins/EECambridge/*.cc EECambridge
|
---|
62 | cp -a ../../fastjet-${version}/plugins/EECambridge/fastjet/*.hh EECambridge/fastjet
|
---|
63 |
|
---|
64 | mkdir -p GridJet/fastjet
|
---|
65 | cp -a ../../fastjet-${version}/plugins/GridJet/*.cc GridJet
|
---|
66 | cp -a ../../fastjet-${version}/plugins/GridJet/fastjet/*.hh GridJet/fastjet
|
---|
67 |
|
---|
68 | mkdir -p Jade/fastjet
|
---|
69 | cp -a ../../fastjet-${version}/plugins/Jade/*.cc Jade
|
---|
70 | cp -a ../../fastjet-${version}/plugins/Jade/fastjet/*.hh Jade/fastjet
|
---|
71 |
|
---|
72 | mkdir -p NestedDefs/fastjet
|
---|
73 | cp -a ../../fastjet-${version}/plugins/NestedDefs/*.cc NestedDefs
|
---|
74 | cp -a ../../fastjet-${version}/plugins/NestedDefs/fastjet/*.hh NestedDefs/fastjet
|
---|
75 |
|
---|
76 | cp -a ../../fastjet-${version}/plugins/README .
|
---|
77 |
|
---|
78 | mkdir -p SISCone/fastjet
|
---|
79 | cp -a ../../fastjet-${version}/plugins/SISCone/SISConePlugin.cc SISCone
|
---|
80 | cp -a ../../fastjet-${version}/plugins/SISCone/siscone/AUTHORS SISCone
|
---|
81 | cp -a ../../fastjet-${version}/plugins/SISCone/siscone/COPYING SISCone
|
---|
82 | cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.h SISCone
|
---|
83 | cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.cpp SISCone
|
---|
84 | cp -a ../../fastjet-${version}/plugins/SISCone/fastjet/*.hh SISCone/fastjet
|
---|
85 | rename 's/\.cpp$/.cc/' SISCone/*.cpp
|
---|
86 |
|
---|
87 | mkdir -p TrackJet/fastjet
|
---|
88 | cp -a ../../fastjet-${version}/plugins/TrackJet/*.cc TrackJet
|
---|
89 | cp -a ../../fastjet-${version}/plugins/TrackJet/fastjet/*.hh TrackJet/fastjet
|
---|
90 |
|
---|
91 | sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIpre96ConePlugin.hh
|
---|
92 | sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIConePlugin.hh
|
---|
93 |
|
---|
94 | sed -i 's/#include "siscone\//#include "/' SISCone/SISConePlugin.cc
|
---|
95 |
|
---|
96 | cd -
|
---|