]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Run aliroot in batch mode.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jul 2003 10:33:31 +0000 (10:33 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jul 2003 10:33:31 +0000 (10:33 +0000)
TFluka/scripts/runalifluka.csh

index 301ed326f8edf0d217aff817ff771e82128d8e8c..2757c2b71780952fcbbb7333061e9ce5d24aa4f2 100644 (file)
@@ -22,7 +22,7 @@ ln -s $FLUPRO/elasct.bin .
 cp $FLUPRO/random.dat old.seed
 
 # Give some meaningfull name to the output
-ln -s alice.out fort.11
+ln -s fluka.out fort.11
 
 # Link the pemf and input file for alice
 ln -s $ALICE_ROOT/TFluka/input/alice.pemf .
@@ -32,7 +32,10 @@ ln -s $ALICE_ROOT/TFluka/input/alice.inp .
 ln -fs $ALICE_ROOT/TFluka/macro/FlukaConfig.C Config.C
 
 # Launch aliroot
-aliroot
+aliroot -b <<EOF > run.out
+gAlice->Init();
+gAlice->Run();
+EOF
 
 # Go back on exit
 cd ..