Skip to content

Commit a8a4a25

Browse files
dstoccochiarazampolli
authored andcommitted
Move MID bad channels calibration workflow in standalone-calibration.desc
1 parent 648d801 commit a8a4a25

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/env bash
2+
3+
# shellcheck disable=SC1091
4+
source common/setenv.sh
5+
6+
# shellcheck disable=SC1091
7+
source common/getCommonArgs.sh
8+
9+
MID_PROXY_INSPEC_EOS="eos:***/INFORMATION"
10+
MID_PROXY_INSPEC_DD="dd:FLP/DISTSUBTIMEFRAME/0"
11+
MID_RAW_PROXY_INSPEC="A:MID/RAWDATA;$MID_PROXY_INSPEC_DD;$MID_PROXY_INSPEC_EOS"
12+
MID_DPL_CHANNEL_CONFIG="name=readout-proxy,type=pull,method=connect,address=ipc://@$INRAWCHANNAME,transport=shmem,rateLogging=1"
13+
14+
WORKFLOW="o2-dpl-raw-proxy $ARGS_ALL --dataspec \"$MID_RAW_PROXY_INSPEC\" --channel-config \"$MID_DPL_CHANNEL_CONFIG\" | "
15+
WORKFLOW+="o2-mid-raw-to-digits-workflow $ARGS_ALL | "
16+
WORKFLOW+="o2-mid-calibration-workflow $ARGS_ALL | "
17+
WORKFLOW+="o2-calibration-ccdb-populator-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --ccdb-path=\"http://o2-ccdb.internal\" --sspec-min 0 --sspec-max 0 | "
18+
WORKFLOW+="o2-calibration-ccdb-populator-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --ccdb-path=\"http://alio2-cr1-flp199.cern.ch:8083\" --sspec-min 1 --sspec-max 1 --name-extention dcs | "
19+
WORKFLOW+="o2-dpl-run $ARGS_ALL $GLOBALDPLOPT"
20+
21+
if [ "$WORKFLOWMODE" == "print" ]; then
22+
echo Workflow command:
23+
echo "$WORKFLOW" | sed "s/| */|\n/g"
24+
else
25+
# Execute the command we have assembled
26+
WORKFLOW+=" --$WORKFLOWMODE"
27+
eval "$WORKFLOW"
28+
fi

DATA/production/standalone-calibration.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ MFT-noise-calibration: "O2PDPSuite" reco,20,20,"production/calib/mft-noise-proce
1818

1919
MCH-badchannel-calibration: "O2PDPSuite" reco,5,5,"production/calib/mch-badchannel-processing.sh" calib,1,"production/calib/mch-badchannel-aggregator.sh"
2020

21+
MID-calib-workflow: "O2PDPSuite" reco,1,1,"production/calib/mid-badchannels.sh"
22+
2123
PHS-pedestal-calibration: "O2PDPSuite" reco,1,1," production/calib/phs-pedestal.sh"
2224

2325
PHS-led-calibration: "O2PDPSuite" reco,1,1," production/calib/phs-led.sh"

0 commit comments

Comments
 (0)