Skip to content

Commit 68dd9b9

Browse files
committed
adapt scripts for new digital scan run type
1 parent a53c0bd commit 68dd9b9

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

DATA/production/calib/its-threshold-aggregator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PROXY_INSPEC="tunestring:ITS/TSTR;runtype:ITS/RUNT;fittype:ITS/FITT;scantype:ITS
1010

1111
CCDBPATH1=""
1212
CCDBPATH2=""
13-
if [ $RUNTYPE_ITS == "tuning" ] || [ $RUNTYPE_ITS == "digital" ] || [ $RUNTYPE_ITS == "tuningbb" ]; then
13+
if [[ $RUNTYPE_ITS == "tuning" ]] || [[ $RUNTYPE_ITS == *digital* ]] || [[ $RUNTYPE_ITS == "tuningbb" ]]; then
1414
CCDBPATH1="$DCSCCDBSERVER_PERS"
1515
CCDBPATH2="http://o2-ccdb.internal"
1616
else
@@ -26,7 +26,7 @@ WORKFLOW=
2626
add_W o2-dpl-raw-proxy "--exit-transition-timeout 20 --proxy-name its-thr-input-proxy --dataspec \"$PROXY_INSPEC\" --network-interface ib0 --channel-config \"name=its-thr-input-proxy,method=bind,type=pull,rateLogging=0,transport=zeromq\"" "" 0
2727
add_W o2-its-threshold-aggregator-workflow "-b" "" 0
2828
add_W o2-calibration-ccdb-populator-workflow "--ccdb-path=\"$CCDBPATH1\" --sspec-min 0 --sspec-max 0 --name-extention dcs"
29-
if [ $RUNTYPE_ITS == "digital" ]; then
29+
if [[ $RUNTYPE_ITS == *digital* ]]; then
3030
add_W o2-calibration-ccdb-populator-workflow "--ccdb-path=\"$CCDBPATH2\" --sspec-min 1 --sspec-max 1"
3131
fi
3232

DATA/production/calib/its-threshold-processing.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ PROXY_OUTSPEC="tunestring:ITS/TSTR;runtype:ITS/RUNT;fittype:ITS/FITT;scantype:IT
1414

1515
CHIPMODBASE=5
1616
NDECODERS=6
17+
ADDITIONAL_OPTIONS_DEC=""
18+
ADDITIONAL_OPTIONS_CAL=""
1719
if [ $RUNTYPE_ITS == "digital" ]; then
1820
CHIPMODBASE=10
1921
fi
22+
if [ $RUNTYPE_ITS == "digitalnomask" ]; then
23+
CHIPMODBASE=10
24+
ADDITIONAL_OPTIONS_CAL="--ninj 5"
25+
fi
2026
if [ $RUNTYPE_ITS == "thrfull" ]; then
2127
CHIPMODBASE=20
2228
NDECODERS=10
2329
fi
24-
ADDITIONAL_OPTIONS_DEC=""
25-
ADDITIONAL_OPTIONS_CAL=""
2630
if [ $RUNTYPE_ITS == "tuningbb" ]; then
2731
ADDITIONAL_OPTIONS_CAL="--min-vcasn 30 --max-vcasn 130"
2832
fi

DATA/production/standalone-calibration.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ ITS-thr-full: "O2PDPSuite" reco,80,80,"RUNTYPE_ITS=thrfull production/calib/its-
1818

1919
ITS-digital: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=digital production/calib/its-threshold-processing.sh" calib,40,"RUNTYPE_ITS=digital production/calib/its-threshold-aggregator.sh"
2020

21+
ITS-digital-no-mask: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=digitalnomask production/calib/its-threshold-processing.sh" calib,40,"RUNTYPE_ITS=digitalnomask production/calib/its-threshold-aggregator.sh"
22+
2123
ITS-pulselength: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=pulselength production/calib/its-threshold-processing.sh" calib,40,"RUNTYPE_ITS=pulselength production/calib/its-threshold-aggregator.sh"
2224

2325
ITS-tot-1row: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=tot1row production/calib/its-threshold-processing.sh" calib,40,"RUNTYPE_ITS=tot1row production/calib/its-threshold-aggregator.sh"

0 commit comments

Comments
 (0)