]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/scripts/runalifluka.csh
301ed326f8edf0d217aff817ff771e82128d8e8c
[u/mrichter/AliRoot.git] / TFluka / scripts / runalifluka.csh
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
8 rm -rf tmp
9 # Make a new temporary directory and move to it
10 mkdir tmp
11 cd tmp
12
13 # Link here some special Fluka files needed
14 ln -s $FLUPRO/xnloan.dat .
15 ln -s $FLUPRO/sigmapi.bin .
16 ln -s $FLUPRO/nuclear.bin .
17 ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin
18 ln -s $FLUPRO/fluodt.dat .
19 ln -s $FLUPRO/elasct.bin .
20
21 # Copy the random seed
22 cp $FLUPRO/random.dat old.seed
23
24 # Give some meaningfull name to the output
25 ln -s alice.out fort.11
26
27 # Link the pemf and input file for alice
28 ln -s $ALICE_ROOT/TFluka/input/alice.pemf .
29 ln -s $ALICE_ROOT/TFluka/input/alice.inp .
30
31 #Link FlukaConfig.C as Config.C
32 ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
33
34 # Launch aliroot
35 aliroot
36
37 # Go back on exit
38 cd ..