]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/scripts/runflukageo.sh
Updates for 2008.3
[u/mrichter/AliRoot.git] / TFluka / scripts / runflukageo.sh
1 #!/bin/sh
2 # Remove the previous temporary directory
3 rm -rf tmp
4 # Make a new temporary directory and move to it
5 mkdir tmp
6 cd tmp
7
8 # Link here some special Fluka files needed
9 ln -s $FLUPRO/neuxsc-ind_260.bin neuxsc.bin
10 ln -s $FLUPRO/random.dat random.dat
11 # Copy the random seed
12 cp $FLUPRO/random.dat old.seed
13
14 # Give some meaningfull name to the output
15 ln -s fluka.out fort.11
16
17 #Link FlukaConfig.C as Config.C
18 ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
19 ln -fs $ALICE_ROOT/TFluka/input/coreFlukaVmc.inp coreFlukaVmc.inp
20 echo 'Execute: gAlice->Init() OR gAlice->RunMC() at the ROOT prompt'
21 # Launch aliroot
22 aliroot
23 # Go back on exit
24 cd ..