File tree Expand file tree Collapse file tree
prodtests/full-system-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,18 +271,20 @@ GPU_CONFIG_SELF="--severity $SEVERITY_TPC"
271271parse_TPC_CORR_SCALING ()
272272{
273273local IGNOREIDC=1
274+ local CTPLUMY_DISABLED=0
274275while [[ $# -gt 0 ]]; do
275276 case " $1 " in
276277 --lumi-type=* ) TPC_CORR_OPT+=" --lumi-type ${1#* =} " ; [[ ${1#* =} == " 2" ]] && { NEED_TPC_SCALERS_WF=1; IGNOREIDC=0; }; shift 1;;
277278 --lumi-type) TPC_CORR_OPT+=" --lumi-type ${2} " ; [[ ${2} == " 2" ]] && { NEED_TPC_SCALERS_WF=1; IGNOREIDC=0; }; shift 2;;
278279 --enable-M-shape-correction) TPC_CORR_OPT+=" --enable-M-shape-correction" ; NEED_TPC_SCALERS_WF=1; TPC_SCALERS_CONF+=" --enable-M-shape-correction" ; shift 1;;
279280 --corrmap-lumi-mode=* ) TPC_CORR_OPT+=" --corrmap-lumi-mode ${1#* =} " ; shift 1;;
280281 --corrmap-lumi-mode) TPC_CORR_OPT+=" --corrmap-lumi-mode ${2} " ; shift 2;;
281- --disable-ctp-lumi-request) TPC_CORR_OPT+=" --disable-ctp-lumi-request" ; shift 1;;
282+ --disable-ctp-lumi-request) TPC_CORR_OPT+=" --disable-ctp-lumi-request" ; CTPLUMY_DISABLED=1 ; shift 1;;
282283 * ) TPC_CORR_KEY+=" $1 ;" ; shift 1;;
283284 esac
284285done
285286[[ ${NEED_TPC_SCALERS_WF:- } == 1 ]] && [[ $IGNOREIDC == 1 ]] && TPC_SCALERS_CONF+=" --disable-IDC-scalers"
287+ ! has_detector CTP && [[ ${CTPLUMY_DISABLED:- } != 1 ]] && TPC_CORR_OPT+=" --disable-ctp-lumi-request"
286288}
287289
288290parse_TPC_CORR_SCALING $TPC_CORR_SCALING
You can’t perform that action at this time.
0 commit comments