Run with compiled macros
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 16:11:01 +0000 (16:11 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 16:11:01 +0000 (16:11 +0000)
MUON/AlirootRun_MUONtestAlign.sh

index 55dcf18..8783eae 100755 (executable)
@@ -20,7 +20,9 @@ echo "Generating misalignment ..."
 
 aliroot -b >& testMisalign.out << EOF
 gAlice->Init("$ALICE_ROOT/MUON/Config.C");
-.x $ALICE_ROOT/MUON/MUONCheckMisAligner.C(0., 0.03, 0., 0.03, 0., 0.03, "FullMisAlignCDB");
+gGeoManager->Export("geometry.root");
+.L $ALICE_ROOT/MUON/MUONCheckMisAligner.C+
+MUONCheckMisAligner(0., 0.03, 0., 0.03, 0., 0.03, "FullMisAlignCDB");
 .q
 EOF
 
@@ -60,7 +62,8 @@ EOF
 echo "Running alignment ..."
 
 aliroot -b >& testAlign.out << EOF
-.x $ALICE_ROOT/MUON/MUONAlignment.C
+.L $ALICE_ROOT/MUON/MUONAlignment.C+
+MUONAlignment();
 .q
 EOF