File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ CCDB_PATH="http://o2-ccdb.internal"
1818HOST=localhost
1919
2020# QC_CONFIG="consul-json://alio2-cr1-hv-con01.cern.ch:8500/o2/components/qc/ANY/any/tpc-raw-qcmn"
21- QC_CONFIG=" components/qc/ANY/any/tpc-pulser-calib-qcmn?run_type=${RUNTYPE:- } "
21+ QC_CONFIG=" components/qc/ANY/any/tpc-pulser-calib-qcmn?run_type=${RUNTYPE:- } &beam_type= ${BEAMTYPE :- } "
2222max_events=1000000
2323publish_after=200
2424
Original file line number Diff line number Diff line change @@ -28,7 +28,12 @@ add_QC_JSON() {
2828 fi
2929 elif [[ ${2} =~ ^apricot://.* ]]; then
3030 TMP_FILENAME=$FETCHTMPDIR /$1 .$RANDOM .$RANDOM .json
31- curl -s -o $TMP_FILENAME " ${GEN_TOPO_QC_APRICOT_SERVER} /${2/ apricot: \/\/ o2\/ / } ?process=true"
31+ if [[ ${2} =~ " ?" ]]; then
32+ curl -s -o $TMP_FILENAME " ${GEN_TOPO_QC_APRICOT_SERVER} /${2/ apricot: \/\/ o2\/ / } \&process=true"
33+ else
34+ curl -s -o $TMP_FILENAME " ${GEN_TOPO_QC_APRICOT_SERVER} /${2/ apricot: \/\/ o2\/ / } ?process=true"
35+ fi
36+
3237 if [[ $? != 0 ]]; then
3338 echo " Error fetching QC JSON $2 "
3439 exit 1
@@ -52,7 +57,7 @@ if [[ -z ${QC_JSON_FROM_OUTSIDE:-} && ! -z ${GEN_TOPO_QC_JSON_FILE:-} && -f $GEN
5257 QC_JSON_FROM_OUTSIDE=$GEN_TOPO_QC_JSON_FILE
5358elif [[ -z ${QC_JSON_FROM_OUTSIDE:- } ]]; then
5459 if [[ $EPNSYNCMODE == 1 || " ${GEN_TOPO_LOAD_QC_JSON_FROM_CONSUL:- } " == " 1" ]]; then # Sync processing running on the EPN
55- [[ -z " ${QC_JSON_TPC:- } " ]] && QC_JSON_TPC=apricot://o2/components/qc/ANY/any/tpc-full-qcmn
60+ [[ -z " ${QC_JSON_TPC:- } " ]] && QC_JSON_TPC=apricot://o2/components/qc/ANY/any/tpc-full-qcmn? run_type= ${RUNTYPE :- }
5661 [[ -z " ${QC_JSON_ITS:- } " ]] && QC_JSON_ITS=apricot://o2/components/qc/ANY/any/its-qcmn-epn-full
5762 if [[ -z " ${QC_JSON_MFT:- } " ]]; then
5863 if has_detector MFT && has_processing_step MFT_RECO; then
You can’t perform that action at this time.
0 commit comments