]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TFluka/scripts/runflukageo.sh
fix compiler warnings
[u/mrichter/AliRoot.git] / TFluka / scripts / runflukageo.sh
CommitLineData
f2ea4b9f 1#!/bin/sh
05b81d7d 2# Remove the previous temporary directory
3rm -rf tmp
4# Make a new temporary directory and move to it
5mkdir tmp
6cd tmp
7
8# Link here some special Fluka files needed
0f8c6dd6 9ln -s $FLUPRO/neuxsc-ind_260.bin neuxsc.bin
36664be5 10ln -s $FLUPRO/random.dat random.dat
05b81d7d 11# Copy the random seed
12cp $FLUPRO/random.dat old.seed
13
14# Give some meaningfull name to the output
15ln -s fluka.out fort.11
16
05b81d7d 17#Link FlukaConfig.C as Config.C
18ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
ff2d1491 19ln -fs $ALICE_ROOT/TFluka/input/coreFlukaVmc.inp coreFlukaVmc.inp
729f4468 20echo 'Execute at the root prompt:'
21echo 'AliSimulation sim'
22echo 'sim.Run()'
23
05b81d7d 24# Launch aliroot
25aliroot
26# Go back on exit
27cd ..