forked from AliceO2Group/O2DPG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AliceO2Group:master' into tpc-cleanup
- Loading branch information
Showing
11 changed files
with
156 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
source common/setenv.sh | ||
|
||
# --------------------------------------------------------------------------------------------------------------------- | ||
# Set general arguments | ||
source common/getCommonArgs.sh | ||
|
||
INPTYPE="" | ||
PROXY_INSPEC="A:EMC/PEDDATA/0;eos:***/INFORMATION" | ||
|
||
CCDBPATH1="http://o2-ccdb.internal" | ||
CCDBPATH2="$DCSCCDBSERVER" | ||
if [[ $RUNTYPE == "SYNTHETIC" || "${GEN_TOPO_DEPLOYMENT_TYPE:-}" == "ALICE_STAGING" || ! -z $ISTEST ]]; then | ||
CCDBPATH1="http://ccdb-test.cern.ch:8080" | ||
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}" "--local --host localhost" | ||
WORKFLOW+="o2-dpl-run $ARGS_ALL $GLOBALDPLOPT" | ||
|
||
if [ $WORKFLOWMODE == "print" ]; then | ||
echo Workflow command: | ||
echo $WORKFLOW | sed "s/| */|\n/g" | ||
else | ||
# Execute the command we have assembled | ||
WORKFLOW+=" --$WORKFLOWMODE ${WORKFLOWMODE_FILE}" | ||
eval $WORKFLOW | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
source common/setenv.sh | ||
|
||
# --------------------------------------------------------------------------------------------------------------------- | ||
# Set general arguments | ||
source common/getCommonArgs.sh | ||
|
||
PROXY_INSPEC="A:EMC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0;eos:***/INFORMATION" | ||
|
||
PROXY_OUTSPEC="downstream:EMC/PEDDATA/0" | ||
|
||
[[ -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 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}" | ||
|
||
if [ $WORKFLOWMODE == "print" ]; then | ||
echo Workflow command: | ||
echo $WORKFLOW | sed "s/| */|\n/g" | ||
else | ||
# Execute the command we have assembled | ||
WORKFLOW+=" --$WORKFLOWMODE ${WORKFLOWMODE_FILE}" | ||
eval $WORKFLOW | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters