From 625e7673f9a5709bbd4ba98fabc79424c3cb485d Mon Sep 17 00:00:00 2001 From: morsch Date: Wed, 30 Jul 2003 10:33:31 +0000 Subject: [PATCH] Run aliroot in batch mode. --- TFluka/scripts/runalifluka.csh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/TFluka/scripts/runalifluka.csh b/TFluka/scripts/runalifluka.csh index 301ed326f8e..2757c2b7178 100644 --- a/TFluka/scripts/runalifluka.csh +++ b/TFluka/scripts/runalifluka.csh @@ -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 < run.out +gAlice->Init(); +gAlice->Run(); +EOF # Go back on exit cd .. -- 2.43.0