Fork me on GitHub

source: git/doc/update_fastjet.sh@ c438758

Last change on this file since c438758 was cb80e6f, checked in by Pavel Demin <pavel.demin@…>, 4 years ago

update FastJet library to 3.3.4 and FastJet Contrib library to 1.045

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[cb80e6f]1version=3.3.4
[d7d2da3]2
[554babf]3wget http://fastjet.fr/repo/fastjet-${version}.tar.gz
[d7d2da3]4
5tar -zxf fastjet-${version}.tar.gz
6mkdir -p fastjet/plugins
7mkdir -p fastjet/internal
8mkdir -p fastjet/tools
9
10cd fastjet-${version}
[e15936c]11./configure --enable-allcxxplugins --disable-auto-ptr
[d7d2da3]12cd -
13
14cd fastjet
15cp -a ../fastjet-${version}/AUTHORS .
16cp -a ../fastjet-${version}/COPYING .
17cp -a ../fastjet-${version}/src/*.cc .
18cp -a ../fastjet-${version}/include/fastjet/*.h .
19cp -a ../fastjet-${version}/include/fastjet/*.hh .
20cp -a ../fastjet-${version}/include/fastjet/internal/*.hh internal
21cp -a ../fastjet-${version}/include/fastjet/internal/*.icc internal
22cp -a ../fastjet-${version}/tools/*.cc tools
23cp -a ../fastjet-${version}/tools/fastjet/tools/*.hh tools
24cd -
25
26cd fastjet/plugins
27
28mkdir -p ATLASCone/fastjet
29cp -a ../../fastjet-${version}/plugins/ATLASCone/*.hh ATLASCone
30cp -a ../../fastjet-${version}/plugins/ATLASCone/*.cc ATLASCone
31cp -a ../../fastjet-${version}/plugins/ATLASCone/README ATLASCone
32cp -a ../../fastjet-${version}/plugins/ATLASCone/fastjet/*.hh ATLASCone/fastjet
33
34mkdir -p CDFCones/fastjet
35cp -a ../../fastjet-${version}/plugins/CDFCones/*.cc CDFCones
36cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.hh CDFCones
37cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.cc CDFCones
38cp -a ../../fastjet-${version}/plugins/CDFCones/fastjet/*.hh CDFCones/fastjet
39
40mkdir -p CMSIterativeCone/fastjet
41cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.h CMSIterativeCone
42cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.cc CMSIterativeCone
43cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/README CMSIterativeCone
44cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/fastjet/*.hh CMSIterativeCone/fastjet
45
46mkdir -p D0RunICone/fastjet
47cp -a ../../fastjet-${version}/plugins/D0RunICone/*.h D0RunICone
48cp -a ../../fastjet-${version}/plugins/D0RunICone/*.hpp D0RunICone
49cp -a ../../fastjet-${version}/plugins/D0RunICone/*.cc D0RunICone
50cp -a ../../fastjet-${version}/plugins/D0RunICone/fastjet/*.hh D0RunICone/fastjet
51
52mkdir -p D0RunIICone/fastjet
53cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.h D0RunIICone
54cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.hpp D0RunIICone
55cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.cc D0RunIICone
56cp -a ../../fastjet-${version}/plugins/D0RunIICone/fastjet/*.hh D0RunIICone/fastjet
57
58mkdir -p EECambridge/fastjet
59cp -a ../../fastjet-${version}/plugins/EECambridge/*.cc EECambridge
60cp -a ../../fastjet-${version}/plugins/EECambridge/fastjet/*.hh EECambridge/fastjet
61
62mkdir -p GridJet/fastjet
63cp -a ../../fastjet-${version}/plugins/GridJet/*.cc GridJet
64cp -a ../../fastjet-${version}/plugins/GridJet/fastjet/*.hh GridJet/fastjet
65
66mkdir -p Jade/fastjet
67cp -a ../../fastjet-${version}/plugins/Jade/*.cc Jade
68cp -a ../../fastjet-${version}/plugins/Jade/fastjet/*.hh Jade/fastjet
69
70mkdir -p NestedDefs/fastjet
71cp -a ../../fastjet-${version}/plugins/NestedDefs/*.cc NestedDefs
72cp -a ../../fastjet-${version}/plugins/NestedDefs/fastjet/*.hh NestedDefs/fastjet
73
74cp -a ../../fastjet-${version}/plugins/README .
75
76mkdir -p SISCone/fastjet
77cp -a ../../fastjet-${version}/plugins/SISCone/SISConePlugin.cc SISCone
78cp -a ../../fastjet-${version}/plugins/SISCone/siscone/AUTHORS SISCone
79cp -a ../../fastjet-${version}/plugins/SISCone/siscone/COPYING SISCone
80cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.h SISCone
81cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.cpp SISCone
82cp -a ../../fastjet-${version}/plugins/SISCone/fastjet/*.hh SISCone/fastjet
[c503d22]83rename 's/\.cpp$/.cc/' SISCone/*.cpp
[d7d2da3]84
85mkdir -p TrackJet/fastjet
86cp -a ../../fastjet-${version}/plugins/TrackJet/*.cc TrackJet
87cp -a ../../fastjet-${version}/plugins/TrackJet/fastjet/*.hh TrackJet/fastjet
88
[c503d22]89sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIpre96ConePlugin.hh
90sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIConePlugin.hh
[35cdc46]91
92sed -i 's/#include "siscone\//#include "/' SISCone/SISConePlugin.cc
[1d208a2]93sed -i 's/#include <siscone\/config.h>/#include "config.h"/' SISCone/split_merge.h
[16747bf]94cd -
Note: See TracBrowser for help on using the repository browser.