diff --git a/DATA/production/qc-async/zdc.json b/DATA/production/qc-async/zdc.json index 88ca06a3e..2f74fb164 100644 --- a/DATA/production/qc-async/zdc.json +++ b/DATA/production/qc-async/zdc.json @@ -36,16 +36,24 @@ "query": "zdc-bcrec:ZDC/BCREC/0;zdc-energyrec:ZDC/ENERGY/0;zdc-tdcrec:ZDC/TDCDATA/0;zdc-inforec:ZDC/INFO/0" }, "taskParameters": { - "ADC": "3025;-100;12000", - "ADCH": "1100;-100;1000", - "TDCT": "2400;-25;25", - "TDCA": "2050;-0.5;4099.5", - "TDCAH": "2000;-0.5;3999.5", - "ADCSUMvsTC": "605;-100;12000;605;-100;12000", - "ADCvsTDCT": "240;-25;25;605;-100;12000", - "TDCDIFF": "240;-25;25;240;-25;25", - "TDCAvsTDCT": "480;-25;25;500;-1;3999", - "TDCAvsTDCA": "500;-1;3999;500;-1;3999", + "ADC": "3600; -3;357", + "ADCZEM": "3025;-100;12000", + "ADCH": "2300;-3;20", + "TDCT": "2400;-13.5;11.45", + "TDCA": "3600; -3;357", + "TDCAZEM": "2050;-0.5;4099.5", + "TDCAH": "2300;-3;20", + "ADCSUMvsTC": "144;-3;357;144;-3;357", + "ADCZEMvsADCZEM": "121;-100;12000;121;-100;12000", + "ADCZEMvsTC": "144;-3;357;121;-100;12000", + "ADCvsTDCT": "120;-13.5;11.45;144;-3;357", + "ADCZEMvsTDCT": "120;-13.5;11.45;121;-100;12000", + "TDCDIFF": "240;-27;22.90;240;-27;22.90", + "TDCAvsTDCT": "120;-13.5;11.45;144;-3;357", + "TDCAZEMvsTDCT": "120;-13.5;11.45;125;-1;3999", + "TDCAvsTDCA": "144;-3;357;144;-3;357", + "TDCAZEMvsTDCAZEM": "125;-1;3999;125;-1;3999", + "TDCAZEMvsTDCA": "144;-3;357;125;-1;3999", "CENTR_ZNA": "200;-2;2;200;-2;2", "CENTR_ZNC": "200;-2;2;200;-2;2", "CENTR_ZPA": "2240;0;22.4", diff --git a/DATA/production/qc-async/zdcPbPb.json b/DATA/production/qc-async/zdcPbPb.json new file mode 100644 index 000000000..1d1ae0577 --- /dev/null +++ b/DATA/production/qc-async/zdcPbPb.json @@ -0,0 +1,65 @@ +{ + "qc": { + "config": { + "database": { + "implementation": "CCDB", + "host": "alio2-cr1-hv-qcdb1.cern.ch:8083", + "username": "not_applicable", + "password": "not_applicable", + "name": "not_applicable" + }, + "Activity": { + "number": "42", + "type": "2" + }, + "monitoring": { + "url": "influxdb-unix:///tmp/telegraf.sock" + }, + "consul": { + "url": "http://ali-consul.cern.ch:8500" + }, + "conditionDB": { + "url": "http://o2-ccdb.internal" + } + }, + "tasks": { + "ZDCRec": { + "active": "true", + "taskName": "Rec", + "className": "o2::quality_control_modules::zdc::ZDCRecDataTask", + "moduleName": "QcZDC", + "detectorName": "ZDC", + "cycleDurationSeconds": "60", + "maxNumberCycles": "-1", + "dataSource": { + "type": "direct", + "query": "zdc-bcrec:ZDC/BCREC/0;zdc-energyrec:ZDC/ENERGY/0;zdc-tdcrec:ZDC/TDCDATA/0;zdc-inforec:ZDC/INFO/0" + }, + "taskParameters": { + "ADC": "1440; -3;357", + "ADCZEM": "3025;-100;12000", + "ADCH": "115;-3;20", + "TDCT": "2400;-13.5;11.45", + "TDCA": "1440; -3;357", + "TDCAZEM": "2050;-0.5;4099.5", + "TDCAH": "230;-3;20", + "ADCSUMvsTC": "144;-3;357;144;-3;357", + "ADCZEMvsADCZEM": "121;-100;12000;121;-100;12000", + "ADCZEMvsTC": "121;-100;12000;144;-3;357", + "ADCvsTDCT": "120;-13.5;11.45;144;-3;357", + "ADCZEMvsTDCT": "120;-13.5;11.45;121;-100;12000", + "TDCDIFF": "240;-27;22.90;240;-27;22.90", + "TDCAvsTDCT": "120;-13.5;11.45;144;-3;357", + "TDCAZEMvsTDCT": ";125;-1;3999;120;-13.5;11.45", + "TDCAvsTDCA": "144;-3;357;144;-3;357", + "TDCAZEMvsTDCAZEM": "125;-1;3999;125;-1;3999", + "TDCAZEMvsTDCA": "125;-1;3999;144;-3;357;", + "CENTR_ZNA": "200;-2;2;200;-2;2", + "CENTR_ZNC": "200;-2;2;200;-2;2", + "CENTR_ZPA": "2240;0;22.4", + "CENTR_ZPC": "2240;-22.4;0" + } + } + } + } +} diff --git a/DATA/production/qc-workflow.sh b/DATA/production/qc-workflow.sh index ad0920412..dee04d539 100755 --- a/DATA/production/qc-workflow.sh +++ b/DATA/production/qc-workflow.sh @@ -188,7 +188,13 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then [[ -z "${QC_JSON_FV0:-}" ]] && QC_JSON_FV0=$O2DPG_ROOT/DATA/production/qc-async/fv0.json [[ -z "${QC_JSON_FDD:-}" ]] && QC_JSON_FDD=$O2DPG_ROOT/DATA/production/qc-async/fdd.json [[ -z "${QC_JSON_MID:-}" ]] && QC_JSON_MID=$O2DPG_ROOT/DATA/production/qc-async/mid.json - [[ -z "${QC_JSON_ZDC:-}" ]] && has_processing_step ZDC_RECO && QC_JSON_ZDC=$O2DPG_ROOT/DATA/production/qc-async/zdc.json + if [[ -z "${QC_JSON_ZDC:-}" ]] && has_processing_step ZDC_RECO; then + if [[ "$BEAMTYPE" == "PbPb" ]]; then + QQC_JSON_ZDC=$O2DPG_ROOT/DATA/production/qc-async/zdcPbPb.json + else + QC_JSON_ZDC=$O2DPG_ROOT/DATA/production/qc-async/zdc.json + fi + fi if [[ -z "${QC_JSON_EMC:-}" ]]; then if [[ "$BEAMTYPE" == "PbPb" ]]; then QC_JSON_EMC=$O2DPG_ROOT/DATA/production/qc-async/emc_PbPb.json