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