]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 684f33a4a14e1c56c2f134749ba90c8b0cbca78b..97cd66c0f8192672a59d0a4affa21b4ca2c5ec26 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 b932cac9290d083380a23a8ce2c3aff761599278..a35cadffd4d996ebc33ba3c88e99cee369bb3ae4 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..."