Skip to content

Commit

Permalink
[EMCAL-1118] Fixes in EMCAL pedestal run scripts
Browse files Browse the repository at this point in the history
- Fix multiprocessing setting in processor workflow
- Attach QC to aggregator
  • Loading branch information
mfasDa committed Mar 28, 2024
1 parent addb388 commit 0fa2f33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions DATA/production/calib/emc-pedestal-aggregator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ if [[ $RUNTYPE == "SYNTHETIC" || "${GEN_TOPO_DEPLOYMENT_TYPE:-}" == "ALICE_STAGI
CCDBPATH2="http://ccdb-test.cern.ch:8080"
fi

QC_CONFIG="/o2/components/qc/ANY/any/emc-pedestal-qc"

WORKFLOW=
add_W o2-dpl-raw-proxy "--proxy-name emc-pedestal-input-proxy --dataspec \"$PROXY_INSPEC\" --network-interface ib0 --channel-config \"name=emc-pedestal-input-proxy,method=bind,type=pull,rateLogging=1,transport=zeromq\"" "" 0
add_W o2-calibration-emcal-pedestal-calib-workflow
add_W o2-calibration-ccdb-populator-workflow "--ccdb-path=\"$CCDBPATH1\" --sspec-min 0 --sspec-max 0"
add_W o2-calibration-ccdb-populator-workflow "--ccdb-path=\"$CCDBPATH2\" --sspec-min 1 --sspec-max 1 --name-extention dcs"
add_QC_from_consul "${QC_CONFIG}"
WORKFLOW+="o2-dpl-run $ARGS_ALL $GLOBALDPLOPT"

if [ $WORKFLOWMODE == "print" ]; then
Expand Down
4 changes: 2 additions & 2 deletions DATA/production/calib/emc-pedestal-processing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ PROXY_INSPEC="A:EMC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0;eos:***/INFORMATION"

PROXY_OUTSPEC="downstream:EMC/PEDDATA/0"

[[ -z $NEMCPROCPIPELINES ]] && NEMCPROCPIPELINES=2
[[ -z $NEMCPROCPIPELINES ]] && NEMCPROCPIPELINES=30

WORKFLOW=
add_W o2-dpl-raw-proxy "--dataspec \"$PROXY_INSPEC\" --inject-missing-data --channel-config \"name=readout-proxy,type=pull,method=connect,address=ipc://@$INRAWCHANNAME,transport=shmem,rateLogging=1\"" "" 0
add_W o2-calibration-emcal-pedestal-processor-workflow "--pipeline calibration-emcal-pedestal-processor-workflow:${NITSDECTPIPELINES}"
add_W o2-calibration-emcal-pedestal-processor-workflow "--pipeline PedestalProcessor:${NEMCPROCPIPELINES}"
add_W o2-dpl-output-proxy "--dataspec \"$PROXY_OUTSPEC\" --proxy-channel-name emc-pedestal-input-proxy --channel-config \"name=emc-pedestal-input-proxy,method=connect,type=push,transport=zeromq,rateLogging=1\"" "" 0
WORKFLOW+="o2-dpl-run ${ARGS_ALL} ${GLOBALDPLOPT}"

Expand Down

0 comments on commit 0fa2f33

Please sign in to comment.