2 ------------------------------------------------
4 Instructions to interface FastJet in AliRoot
6 Rafael.Diaz.Valdes@cern.ch
7 ------------------------------------------------
10 The following steps help you interface Aliroot with Fastjet
12 1- Install fastjet-2.3.4 from http://www.lpthe.jussieu.fr/~salam/fastjet
14 2- Modify Fastjet installation (temporary)
15 Root can not read the fastjet classes due to a bug in the CINT interprete (see report: https://savannah.cern.ch/bugs/?41608#attached ).
16 Therefore, once you've installed fastjet, go to the installation include location and then do
18 sed -i -e 's/^FASTJET_BEGIN_NAMESPACE/namespace fastjet \{/' \
19 -e 's/^FASTJET_END_NAMESPACE.*/\} \/\/ fastjet namespace /' \
20 -e 's/^#define FASTJET/\/\/ #define FASTJET/' \
21 fastjet/*.hh fastjet/*/*.hh
24 3- Setup the following environment variables
27 setenv CGAL_MAKEFILE /path to CGAL makefile (this is mandatory for Fastjet)
28 setenv CGAL_LIB /path to CGAL libraries
29 setenv LD_LIBRARY_PATH $CGAL_LIB\:$LD_LIBRARY_PATH
32 setenv FASTJET /path to Fastjet installation directory
33 setenv LD_LIBRARY_PATH $FASTJET/lib\:$LD_LIBRARY_PATH
35 4- Update $ALICE_ROOT/JETAN module with the new Alice Fastjet classes
37 AliFastJetFinder.h .cxx
38 AliFastJetHeader.h .cxx
40 Note: as soon as the SVN AliRoot/JETAN is updated you don't have to do it anymore
42 5- Recompile JETAN module in AliRoot
47 6- Test if the interface is working.
48 Run the following test macro to check that you can call Fastjet algorithms from AliRoot.
51 root [0] .x testFastJet.C
53 7- Now you are ready to use Fastjet within the Alice Analysis framework (by the moment with local ESD files) using the AliAnalysisTaskJets class. Here is an example of configuration file for Fastjet.
55 ConfigJetAnalysisFastjet.C
60 - The following interface can be used for all the jet algorithms present in Fastjet. The interface with the SiSCone plug-in will be included soon.
62 - The defaults set up parameters are not optimized, we are working on it.