re-add the ocdb storage to the QAtrain_duo.C - why did it disappear
authormkrzewic <mikolaj.krzewicki@cern.ch>
Wed, 14 May 2014 18:02:47 +0000 (20:02 +0200)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Fri, 16 May 2014 19:17:22 +0000 (21:17 +0200)
again?

PWGPP/CalibMacros/CPass1/runCPass1.sh

index e82bed0..c10e1cf 100755 (executable)
@@ -171,8 +171,8 @@ if [ -f QAtrain_duo.C ]; then
 #    echo executing aliroot -b -q "QAtrain_duo.C(\"_barrel\",$runNum,\"$ocdbPath\")"
 #    time aliroot -b -q "QAtrain_duo.C(\"_barrel\",$runNum,\"$ocdbPath\")" &> ../qa_barrel.log
 
-    echo executing aliroot -b -q -x "QAtrain_duo.C(\"_barrel\",$runNum)"
-    time aliroot -b -q -x "QAtrain_duo.C(\"_barrel\",$runNum)" &> ../qa_barrel.log
+    echo executing aliroot -b -q -x "QAtrain_duo.C(\"_barrel\",$runNum,\"wn.xml\",0,\"${ocdbPath}\")"
+    time aliroot -b -q -x "QAtrain_duo.C(\"_barrel\",$runNum,\"wn.xml\",0,\"${ocdbPath}\")" &> ../qa_barrel.log
 
     exitcode=$?
     echo "Exit code: $exitcode"
@@ -220,8 +220,8 @@ if [ -f QAtrain_duo.C ]; then
 #    echo executing aliroot -b -q "QAtrain_duo.C(\"_outer\",$runNum,\"$ocdbPath\")"
 #    time aliroot -b -q "QAtrain_duo.C(\"_outer\",$runNum,\"$ocdbPath\")" &> ../qa_outer.log
 
-    echo executing aliroot -b -q -x "QAtrain_duo.C(\"_outer\",$runNum)"
-    time aliroot -b -q -x "QAtrain_duo.C(\"_outer\",$runNum)" &> ../qa_outer.log
+    echo executing aliroot -b -q -x "QAtrain_duo.C(\"_outer\",$runNum,\"wn.xml\",0,\"${ocdbPath}\")"
+    time aliroot -b -q -x "QAtrain_duo.C(\"_outer\",$runNum,\"wn.xml\",0,\"${ocdbPath}\")" &> ../qa_outer.log
 
     exitcode=$?
     echo "Exit code: $exitcode"