Skip to content

Commit 870470a

Browse files
authored
FT0 calibration: standalone time offset calib (#554)
* FT0: some calib tests * FT0: some fixes for calibration task * FT0: time offset calibration full standalone topo(processors + aggregator) * FT0: calib fixes
1 parent 8bca4fd commit 870470a

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
PROXY_INSPEC_EOS="eos:***/INFORMATION"
10+
PROXY_INSPEC="calib:FT0/CALIB_INFO/0;${PROXY_INSPEC_EOS}"
11+
12+
WORKFLOW="o2-dpl-raw-proxy ${ARGS_ALL} --proxy-name ft0-timeoffset-input-proxy --dataspec \"${PROXY_INSPEC}\" --network-interface ib0 --channel-config \"name=ft0-timeoffset-input-proxy,method=bind,type=pull,rateLogging=1,transport=zeromq\" | "
13+
WORKFLOW+="o2-calibration-ft0-channel-offset-calibration ${ARGS_ALL} --tf-per-slot 2000 | "
14+
WORKFLOW+="o2-calibration-ccdb-populator-workflow ${ARGS_ALL} --configKeyValues \"$ARGS_ALL_CONFIG\" --ccdb-path=\"http://ccdb-test.cern.ch:8080\" | "
15+
WORKFLOW+="o2-dpl-run ${ARGS_ALL} ${GLOBALDPLOPT}"
16+
17+
if [ $WORKFLOWMODE == "print" ]; then
18+
echo Workflow command:
19+
echo $WORKFLOW | sed "s/| */|\n/g"
20+
else
21+
# Execute the command we have assembled
22+
WORKFLOW+=" --$WORKFLOWMODE ${WORKFLOWMODE_FILE}"
23+
eval $WORKFLOW
24+
fi
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
PROXY_INSPEC_EOS="eos:***/INFORMATION"
10+
PROXY_INSPEC_DD="dd:FLP/DISTSUBTIMEFRAME/0"
11+
PROXY_INSPEC="digits:FT0/DIGITSBC/0;channels:FT0/DIGITSCH/0;${PROXY_INSPEC_DD};${PROXY_INSPEC_EOS}"
12+
PROXY_OUTSPEC="calib:FT0/CALIB_INFO/0"
13+
PROXY_NAME="ft0-timeoffset-input-proxy"
14+
15+
WORKFLOW="o2-dpl-raw-proxy ${ARGS_ALL} --dataspec \"${PROXY_INSPEC}\" --channel-config \"name=readout-proxy,type=pull,method=connect,address=ipc://@${INRAWCHANNAME},transport=shmem,rateLogging=1\" | "
16+
WORKFLOW+="o2-calibration-ft0-tf-processor ${ARGS_ALL} | "
17+
WORKFLOW+="o2-dpl-output-proxy ${ARGS_ALL} --dataspec \"$PROXY_OUTSPEC\" --proxy-channel-name ${PROXY_NAME} --channel-config \"name=${PROXY_NAME},method=connect,type=push,transport=zeromq,rateLogging=1\" | "
18+
WORKFLOW+="o2-dpl-run ${ARGS_ALL} ${GLOBALDPLOPT}"
19+
20+
if [ $WORKFLOWMODE == "print" ]; then
21+
echo Workflow command:
22+
echo $WORKFLOW | sed "s/| */|\n/g"
23+
else
24+
# Execute the command we have assembled
25+
WORKFLOW+=" --$WORKFLOWMODE ${WORKFLOWMODE_FILE}"
26+
eval $WORKFLOW
27+
fi

DATA/production/standalone-calibration.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
FT0-time-offset-calibration: "O2PDPSuite" reco,1,1,"production/calib/ft0-timeoffset-processing.sh" calib,1,"production/calib/ft0-timeoffset-aggregator.sh"
2+
13
ITS-noise-calibration: "O2PDPSuite" reco,20,20,"NITSDECTHREADS=4 NITSDECTPIPELINES=6 production/calib/its-noise-processing.sh" calib,20,"NTHREADS=32 production/calib/its-noise-aggregator.sh"
24

35
ITS-noise-calibration-clusters: "O2PDPSuite" reco,20,20,"NITSDECTHREADS=4 NITSDECTPIPELINES=6 USECLUSTERS=1 production/calib/its-noise-processing.sh" calib,20,"USECLUSTERS=1 NTHREADS=32 production/calib/its-noise-aggregator.sh"

0 commit comments

Comments
 (0)