]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/scripts/runflukageo.sh
Compute vertex cut for conformal tracks.
[u/mrichter/AliRoot.git] / TFluka / scripts / runflukageo.sh
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 # 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 mkdir peg
13
14 # Link here some special Fluka files needed
15 ln -s $FLUPRO/xnloan.dat .
16 ln -s $FLUPRO/sigmapi.bin .
17 ln -s $FLUPRO/nuclear.bin .
18 ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin
19 ln -s $FLUPRO/fluodt.dat .
20 ln -s $FLUPRO/elasct.bin .
21
22 # Copy the random seed
23 cp $FLUPRO/random.dat old.seed
24
25 # Give some meaningfull name to the output
26 ln -s fluka.out fort.11
27
28 # Link the pemf and input file for alice
29 ln -s $ALICE_ROOT/TFluka/input/FlukaVmc.pemf .
30
31 #Link FlukaConfig.C as Config.C
32 ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
33 echo 'Execute: gAlice->Init() OR gAlice->RunMC() at the ROOT prompt'
34 # Launch aliroot
35 aliroot
36 # Go back on exit
37 cd ..