]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
M CPass0/mergeMakeOCDB.byComponent.sh - Adding merging of new TPC calibration...
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 May 2012 21:08:52 +0000 (21:08 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 May 2012 21:08:52 +0000 (21:08 +0000)
M       CPass1/mergeMakeOCDB.byComponent.sh  - Adding merging of new TPC calibration components

PWGPP/CalibMacros/CPass0/mergeMakeOCDB.byComponent.sh
PWGPP/CalibMacros/CPass1/mergeMakeOCDB.byComponent.sh

index 9a3530538baac0267cce7acbc962541c1a03dc12..455f98b2479cd78965946e74a1268e13d83bae23 100755 (executable)
@@ -22,17 +22,18 @@ path=$1
 run=$2
 ocdb=$3
 isLocal=0
-[[ -f path ]] && isLocal=1
+[[ -f $path ]] && isLocal=1
 
 echo "***********************" 2>&1 | tee -a merge.log
-echo mergeMakeOCDB.sh started 2>&1 | tee -a merge.log
+echo mergeMakeOCDB.byComponent.sh started 2>&1 | tee -a merge.log
 echo path = $path 2>&1 | tee -a merge.log
 echo run  = $run 2>&1 | tee -a merge.log
 echo ocdb = $ocdb 2>&1 | tee -a merge.log
+echo isLocal = $isLocal 2>&1 | tee -a merge.log
 echo "***********************" 2>&1 | tee -a merge.log
 
 # setup components
-components="TOF MeanVertex T0 TRD TPC SDD"
+components="TOF MeanVertex T0 SDD TRD TPCCalib  TPCAlign TPCCluster"
 
 # copy
 if [ $isLocal -eq 0 ]; then
@@ -40,8 +41,10 @@ if [ $isLocal -eq 0 ]; then
     echo copying files for run $run 2>&1 | tee -a merge.log
     echo from $path 2>&1 | tee -a merge.log
     echo "***********************" 2>&1 | tee -a merge.log
-    aliroot -b -q "$ALICE_ROOT/PWGPP/CalibMacros/CPass0/mergeByComponent.C(\"COPY\",0,  \"$path\", \"$pattern\")" 2>&1 | tee -a merge.log
+    aliroot -b -q "$ALICE_ROOT/PWGPP/CalibMacros/CPass0/mergeByComponent.C(\"COPY\",0,  \"$path\", \"AliESDfriends_v1.root\")" 2>&1 | tee -a merge.log
 #mv syswatch.log copy_syswatch.log
+else
+  cp $path calib.list
 fi;
 
 # process by component
index 7f80f73a35ba8203fe67644dd52053ba9618fa92..0fe0e2ad26ccdf54433d9af41302680da75e60d4 100755 (executable)
@@ -12,7 +12,7 @@ echo ocdb = $ocdb 2>&1 | tee -a merge.log
 echo "***********************" 2>&1 | tee -a merge.log
 
 # setup components
-components="TOF MeanVertex T0 TRD TPC SDD"
+components="TOF MeanVertex T0 SDD TRD TPCCalib TPCAlign TPCCluster"
 
 # copy
 echo "***********************" 2>&1 | tee -a merge.log