update to cpass0 executable scripts. current implementation taken from AliEn dir...
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Nov 2011 13:52:57 +0000 (13:52 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Nov 2011 13:52:57 +0000 (13:52 +0000)
PWG1/CalibMacros/Pass0/mergeMakeOCDB.sh
PWG1/CalibMacros/Pass0/runPass0.sh

index 684f33a..97cd66c 100755 (executable)
@@ -3,15 +3,15 @@
 # Script to merge objects coming out of the calibration train:
 # Arguments:
 #    1 - directory on which to look for the files to be merged 
-#    2 - pattern
+#    2 - run number
 #    3 - OCDB output path
 
 # example:
-# mergeMakeOCDB.sh /alice/cern.ch/user/j/jotwinow/Pass0/output/ 000120691 alien://folder=/alice/cern.ch/user/j/jotwinow/Pass0/output
+# mergeMakeOCDB.sh /alice/cern.ch/user/a/aliprod/Pass0/output/ 000120691 alien://folder=/alice/cern.ch/user/a/aliprod/Pass0/output
 
 #ALIEN setting
 # $1 = directory where to perform the find 
-# $2 = pattern
+# $2 = run number
 # $3 = OCDB path
 
 echo ">>>>>>> Running AliRoot to merge calib objects found in $1 with pattern AliESDfriends_v1.root"
index b932cac..a35cadf 100644 (file)
@@ -16,7 +16,6 @@
 # runPass0.sh raw.root  50  104892
 
 #ALIEN setting
-entries=500
 # $1 = raw input filename
 runnum=`echo $1 | cut -d "/" -f 6`
 
@@ -36,7 +35,7 @@ cat recPass0.C
 echo
 
 echo ">>>>>>> Running AliRoot to reconstruct $1. Run number is $runnum..."
-aliroot -l -b -q recPass0.C\(\"alien://$1\",$entries\) 2>&1 | tee rec.log
+aliroot -l -b -q recPass0.C\(\"alien://$1\"\) 2>&1 | tee rec.log
 mv syswatch.log syswatch_rec.log
 
 echo ">>>>>>> Running AliRoot to make calibration..."