Skip to content

Commit e6c0f20

Browse files
fix logic to run calibrations
1 parent 64b3bd1 commit e6c0f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DATA/common/setenv_calib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
source $O2DPG_ROOT/DATA/common/setenv.sh
1111

12-
if [[ $BEAMTYPE != "cosmic" ]] && [[ $FORCECALIBRATIONS != 1 ]] ; then
12+
if [[ $BEAMTYPE != "cosmic" ]] || [[ $FORCECALIBRATIONS == 1 ]] ; then
1313

1414
# calibrations for primary vertex
1515
if has_detector_calib ITS && has_detectors_reco ITS && has_detector_matching PRIMVTX && [[ ! -z "$VERTEXING_SOURCES" ]]; then

0 commit comments

Comments
 (0)