Alice dependencies removed.
[u/mrichter/AliRoot.git] / TFluka / scripts / runflukageo.sh
CommitLineData
05b81d7d 1#!/bin/bash
2CURDIR=`pwd`
3cd $ALICE_ROOT
05b81d7d 4echo 'Making sure that TFluka is up to date...'
5make all-TFluka
6cd $CURDIR
7# Remove the previous temporary directory
8rm -rf tmp
9# Make a new temporary directory and move to it
10mkdir tmp
11cd tmp
660610d8 12mkdir peg
05b81d7d 13
14# Link here some special Fluka files needed
15ln -s $FLUPRO/xnloan.dat .
16ln -s $FLUPRO/sigmapi.bin .
17ln -s $FLUPRO/nuclear.bin .
18ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin
19ln -s $FLUPRO/fluodt.dat .
20ln -s $FLUPRO/elasct.bin .
21
22# Copy the random seed
23cp $FLUPRO/random.dat old.seed
24
25# Give some meaningfull name to the output
26ln -s fluka.out fort.11
27
28# Link the pemf and input file for alice
3b8c325d 29ln -s $ALICE_ROOT/TFluka/input/FlukaVmc.pemf .
05b81d7d 30
31#Link FlukaConfig.C as Config.C
32ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
33echo 'Execute: gAlice->Init() OR gAlice->RunMC() at the ROOT prompt'
34# Launch aliroot
35aliroot
36# Go back on exit
37cd ..