Configuration in synch with ConfigPPR.C (E. Futo).
[u/mrichter/AliRoot.git] / TFluka / scripts / runalifluka.csh
CommitLineData
be0fa9d9 1#####################################################################
2# runalifluka.csh: Script File that sets up the needed input/output
3# files for TFluka
4# Author: I. Gonzalez
5# Date: 11/2002
6#####################################################################
7# Remove the previous temporary directory
df7d802a 8rm -rf tmp
be0fa9d9 9# Make a new temporary directory and move to it
df7d802a 10mkdir tmp
11cd tmp
be0fa9d9 12
13# Link here some special Fluka files needed
df7d802a 14ln -s $FLUPRO/xnloan.dat .
15ln -s $FLUPRO/sigmapi.bin .
16ln -s $FLUPRO/nuclear.bin .
17ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin
df7d802a 18ln -s $FLUPRO/fluodt.dat .
19ln -s $FLUPRO/elasct.bin .
be0fa9d9 20
21# Copy the random seed
22cp $FLUPRO/random.dat old.seed
23
24# Give some meaningfull name to the output
625e7673 25ln -s fluka.out fort.11
be0fa9d9 26
27# Link the pemf and input file for alice
710b36eb 28ln -s $ALICE_ROOT/TFluka/input/alice.pemf .
29ln -s $ALICE_ROOT/TFluka/input/alice.inp .
30
31#Link FlukaConfig.C as Config.C
32ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
be0fa9d9 33
34# Launch aliroot
625e7673 35aliroot -b <<EOF > run.out
36gAlice->Init();
37gAlice->Run();
38EOF
be0fa9d9 39
40# Go back on exit
df7d802a 41cd ..