]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/scripts/runflukageo.sh
New macro for checking new misaligner class.
[u/mrichter/AliRoot.git] / FMD / scripts / runflukageo.sh
CommitLineData
d389af40 1#!/bin/bash
2CURDIR=`pwd`
3cd $ALICE_ROOT
4echo 'Making sure that TFluka is up to date...'
5make all-TFluka
6cd $CURDIR
7
8# Make working directory
9rm -rf fluka
10mkdir -p fluka
11cd fluka
12
13# Make a peg directory
14mkdir -p peg
15
16# Link here some special Fluka files needed
17ln -s $FLUPRO/xnloan.dat .
18ln -s $FLUPRO/sigmapi.bin .
19ln -s $FLUPRO/nuclear.bin .
20ln -s $FLUPRO/neuxsc_72.bin neuxsc.bin
21ln -s $FLUPRO/fluodt.dat .
22ln -s $FLUPRO/elasct.bin .
23
24# Copy the random seed
25cp $FLUPRO/random.dat old.seed
26
27# Give some meaningfull name to the output
28ln -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
34cp $ALICE_ROOT/TFluka/input/alice.pemf FlukaVmc.pemf
35
36#Link FlukaConfig.C as Config.C
37cp $ALICE_ROOT/FMD/scripts/ConfigInner.C .
38cp $ALICE_ROOT/.rootrc .
39# echo 'Execute: gAlice->Init() OR gAlice->RunMC() at the ROOT prompt'
40# Launch aliroot
41aliroot -l # -b -q ../runIt.C > run.log 2>&1
42
43cd $CURDIR
a1f80595 44# ____________________________________________________________________
45#
46# EOF
47#