From c65a55d41a7fe090f79ef7b23959f2e93021a6b4 Mon Sep 17 00:00:00 2001 From: Chiara Zampolli Date: Fri, 19 May 2017 10:21:08 +0200 Subject: [PATCH] exporting CPass variable also in the mergeMakeOCDB step --- DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh | 8 +++++++- DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh b/DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh index 7aba33c7..3191d9dd 100755 --- a/DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh +++ b/DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh @@ -65,7 +65,6 @@ main() export TPC_CPass0_GainCalibType=1 export TPC_CPass1_GainCalibType=3 - # ===| Parse config file |==================================================== parseConfig "$@" @@ -101,6 +100,13 @@ main() echo "TPC_CPass1_GainCalibType=${TPC_CPass1_GainCalibType}" | tee -a ocdb.log echo "targetStorageResidual=${targetStorageResidual}" | tee -a ocdb.log + # CPass mode - 0 here + export CPASSMODE=0 + + export CPASSMODE=${ALIEN_JDL_LPMCPASSMODE-$CPASSMODE} + + echo "CPASSMODE = ${CPASSMODE}" | tee -a ocdb.log + ################################################################# echo "" | tee -a merge.log echo "$0 ${save_args[*]}" | tee -a merge.log diff --git a/DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh b/DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh index 1c4a21b3..66e968e6 100755 --- a/DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh +++ b/DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh @@ -101,6 +101,13 @@ main() echo "TPC_CPass1_GainCalibType=${TPC_CPass1_GainCalibType}" | tee -a ocdb.log echo "targetStorageResidual=${targetStorageResidual}" | tee -a ocdb.log + # CPass mode - 1 here + export CPASSMODE=1 + + export CPASSMODE=${ALIEN_JDL_LPMCPASSMODE-$CPASSMODE} + + echo "CPASSMODE = ${CPASSMODE}" | tee -a ocdb.log + ################################################################# echo "" | tee -a merge.log echo "$0 ${save_args[*]}" | tee -a merge.log