Changed scripts for new TrainSetup
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2012 01:38:55 +0000 (01:38 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2012 01:38:55 +0000 (01:38 +0000)
PWGLF/FORWARD/analysis2/gridAnalysis.sh
PWGLF/FORWARD/trains/TrainSetup.C

index 059ab2e..8c9181e 100755 (executable)
@@ -411,12 +411,13 @@ allAboard()
        uopt="${uopt}&par"
     fi
     url="alien://${dir}?run=${runs}&pattern=${pat}${uopt}${aliroot}${root}#${tree}"
+    opts="${opts} --include=$ALICE_ROOT/PWGLF/FORWARD/analysis2/trains"
     opts="${opts} --date=${now} --class=$cl --name=$nme"
     
     echo "Running train: runTrain2 ${opts} --url=${url} $@" 
     if test $noact -gt 0 ; then return ; fi
 
-    runTrain2 ${opts} --overwrite --url=${url} $@ 
+    runTrain ${opts} --overwrite --url=${url} $@ 
 
     cat <<EOF
 Check https://alimonitor.cern.ch/users/jobs.jsp for progress 
index dc1c3ed..bb91be1 100644 (file)
@@ -703,8 +703,8 @@ protected:
       << "  --name=$name";
     opts.Store(o, " \\\n  --", "", true);
     o << ")\n\n"
-      << "echo \"Running runTrain2 ${opts[@]} $@\"\n"
-      << "runTrain2 \"${opts[@]}\" $@\n\n"
+      << "echo \"Running runTrain ${opts[@]} $@\"\n"
+      << "runTrain \"${opts[@]}\" $@\n\n"
       << "# EOF" << std::endl;
     o.close();
     gSystem->Exec(Form("chmod a+x %s.sh", out.Data()));