]>
Commit | Line | Data |
---|---|---|
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 | 8 | rm -rf tmp |
be0fa9d9 | 9 | # Make a new temporary directory and move to it |
df7d802a | 10 | mkdir tmp |
11 | cd tmp | |
be0fa9d9 | 12 | |
13 | # Link here some special Fluka files needed | |
df7d802a | 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 | |
df7d802a | 18 | ln -s $FLUPRO/fluodt.dat . |
19 | ln -s $FLUPRO/elasct.bin . | |
be0fa9d9 | 20 | |
21 | # Copy the random seed | |
22 | cp $FLUPRO/random.dat old.seed | |
23 | ||
24 | # Give some meaningfull name to the output | |
625e7673 | 25 | ln -s fluka.out fort.11 |
be0fa9d9 | 26 | |
27 | # Link the pemf and input file for alice | |
710b36eb | 28 | ln -s $ALICE_ROOT/TFluka/input/alice.pemf . |
8f8b4a96 | 29 | #ln -s $ALICE_ROOT/TFluka/input/alice.inp . |
710b36eb | 30 | |
31 | #Link FlukaConfig.C as Config.C | |
32 | ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C | |
be0fa9d9 | 33 | |
34 | # Launch aliroot | |
625e7673 | 35 | aliroot -b <<EOF > run.out |
36 | gAlice->Init(); | |
37 | gAlice->Run(); | |
38 | EOF | |
be0fa9d9 | 39 | |
40 | # Go back on exit | |
df7d802a | 41 | cd .. |