1 Instructions on how to use TFLuka
3 1) External packages needed:
5 * Download Fluka from http://pcfluka.mi.infn.it/ and install it
7 * Download geant4_vmc and install it (together with Geant4, CLHEP, etc)
8 NOTE: All the geant4_vmc headers are assumed to be in
9 $ALICE/geant4_vmc/include. To put them there:
10 - Go to $ALICE/geant4_vmc
11 [host] cd $ALICE/geant4_vmc
12 - Make the include directory
14 - Put links to the headers:
16 [host] find $ALICE/geant4_vmc -name "*.h" -exec ln -s {} . \;
18 2) Set the your environment:
20 * Set the path to Fluka in the environment variable FLUPRO
22 * Set your geant4 environment in the usual way.
24 * Make sure that your LD_LIBRARY_PATH includes the path to CLHEP, GEANT4
25 and geant4_vmc libraries
27 3) Compile TFluka and Flugg. In AliRoot do:
33 4) Run aliroot with FLUKA:
35 * Execute the $ALICE_ROOT/TFluka/scripts/runalifluka.csh
37 * [root] .x $ALICE_ROOT/TFluka/macro/loadlibs.C
39 * [root] gAlice->RunMC();
42 This will run 50 particles from TGenerator.