]>
Commit | Line | Data |
---|---|---|
d389af40 | 1 | #!/bin/bash |
2 | CURDIR=`pwd` | |
3 | cd $ALICE_ROOT | |
4 | echo 'Making sure that TFluka is up to date...' | |
5 | make all-TFluka | |
6 | cd $CURDIR | |
7 | ||
8 | # Make working directory | |
9 | rm -rf fluka | |
10 | mkdir -p fluka | |
11 | cd fluka | |
12 | ||
13 | # Make a peg directory | |
14 | mkdir -p peg | |
15 | ||
16 | # Link here some special Fluka files needed | |
17 | ln -s $FLUPRO/xnloan.dat . | |
18 | ln -s $FLUPRO/sigmapi.bin . | |
19 | ln -s $FLUPRO/nuclear.bin . | |
20 | ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin | |
21 | ln -s $FLUPRO/fluodt.dat . | |
22 | ln -s $FLUPRO/elasct.bin . | |
23 | ||
24 | # Copy the random seed | |
25 | cp $FLUPRO/random.dat old.seed | |
26 | ||
27 | # Give some meaningfull name to the output | |
28 | ln -s fluka.out fort.11 | |
29 | ||
30 | # Link the pemf and input file for alice | |
31 | # This is wrong: | |
32 | # ln -s $ALICE_ROOT/TFluka/input/FlukaVmc.pemf . | |
33 | # Maybe | |
34 | cp $ALICE_ROOT/TFluka/input/alice.pemf FlukaVmc.pemf | |
35 | ||
36 | #Link FlukaConfig.C as Config.C | |
37 | cp $ALICE_ROOT/FMD/scripts/ConfigInner.C . | |
38 | cp $ALICE_ROOT/.rootrc . | |
39 | # echo 'Execute: gAlice->Init() OR gAlice->RunMC() at the ROOT prompt' | |
40 | # Launch aliroot | |
41 | aliroot -l # -b -q ../runIt.C > run.log 2>&1 | |
42 | ||
43 | cd $CURDIR | |
a1f80595 | 44 | # ____________________________________________________________________ |
45 | # | |
46 | # EOF | |
47 | # |