Skip to content

Commit

Permalink
exporting CPass variable also in the mergeMakeOCDB step
Browse files Browse the repository at this point in the history
  • Loading branch information
chiarazampolli committed May 19, 2017
1 parent 063af58 commit c65a55d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion DataProc/CPass0/mergeMakeOCDB.byComponent.perStage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ main()
export TPC_CPass0_GainCalibType=1
export TPC_CPass1_GainCalibType=3


# ===| Parse config file |====================================================
parseConfig "$@"

Expand Down Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions DataProc/CPass1/mergeMakeOCDB.byComponent.perStage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c65a55d

Please sign in to comment.