Skip to content

Commit 30afe49

Browse files
authored
Enable IDC and SAC processing by default (#1485)
* Enable IDC and SAC processing by default * Add missing fi
1 parent 62aaa86 commit 30afe49

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

DATA/common/setenv_calib.sh

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,25 @@ if [[ $BEAMTYPE != "cosmic" ]] || [[ ${FORCECALIBRATIONS:-} == 1 ]] ; then
7676
if [[ $CAN_DO_CALIB_TPC_VDRIFTTGL == 1 ]]; then
7777
if [[ -z ${CALIB_TPC_VDRIFTTGL+x} ]]; then CALIB_TPC_VDRIFTTGL=1; fi
7878
fi
79-
# IDCs
79+
# IDCs (by default we enable it for running the synch. reco on the EPNs)
8080
if [[ $CAN_DO_CALIB_TPC_IDC == 1 ]]; then
81-
if [[ -z ${CALIB_TPC_IDC+x} ]] || [[ $CALIB_TPC_IDC == 0 ]]; then
82-
CALIB_TPC_IDC=0; # default is off
81+
if [[ -z ${CALIB_TPC_IDC+x} ]]; then
82+
if [[ $EPNSYNCMODE == 1 ]]; then
83+
CALIB_TPC_IDC=1;
84+
else
85+
CALIB_TPC_IDC=0;
86+
fi
8387
fi
8488
fi
85-
# SAC
89+
# SAC (by default we enable it for running the synch. reco on the EPNs)
8690
if [[ $CAN_DO_CALIB_TPC_SAC == 1 ]]; then
87-
if [[ -z ${CALIB_TPC_SAC+x} ]]; then CALIB_TPC_SAC=0; fi # default is off
91+
if [[ -z ${CALIB_TPC_SAC+x} ]]; then
92+
if [[ $EPNSYNCMODE == 1 ]]; then
93+
CALIB_TPC_SAC=1;
94+
else
95+
CALIB_TPC_SAC=0;
96+
fi
97+
fi
8898
fi
8999

90100
# calibrations for TRD

0 commit comments

Comments
 (0)