Updated to the latest version of geant4_vmc
[u/mrichter/AliRoot.git] / TFluka / documents / README
CommitLineData
181017bb 1Instructions on how to use TFLuka
2
441e15fe 31) External packages needed:
181017bb 4
441e15fe 5 * Download Fluka from http://pcfluka.mi.infn.it/ and install it
181017bb 6
441e15fe 7 * Download geant4_vmc and install it (together with Geant4, CLHEP, etc)
b48c05b1 8 See http://root.cern.ch/root/vmc/VirtualMC.html
441e15fe 9 NOTE: All the geant4_vmc headers are assumed to be in
b48c05b1 10 $ALICE/geant4_vmc/include. To put them there execute `gmake includes`
11 in the geant4_vmc/source directory
181017bb 12
441e15fe 132) Set the your environment:
181017bb 14
441e15fe 15 * Set the path to Fluka in the environment variable FLUPRO
181017bb 16
441e15fe 17 * Set your geant4 environment in the usual way.
181017bb 18
441e15fe 19 * Make sure that your LD_LIBRARY_PATH includes the path to CLHEP, GEANT4
20 and geant4_vmc libraries
181017bb 21
441e15fe 223) Compile TFluka and Flugg. In AliRoot do:
23
24 * gmake all-TFluka
25
26 * gmake all-Flugg
27
284) Run aliroot with FLUKA:
29
30 * Execute the $ALICE_ROOT/TFluka/scripts/runalifluka.csh
31
32 * [root] .x $ALICE_ROOT/TFluka/macro/loadlibs.C
33
34 * [root] gAlice->RunMC();
181017bb 35
181017bb 36
37This will run 50 particles from TGenerator.