Skip to content

Commit 36f656b

Browse files
committed
Add LIGHTNUCLEI flag, extend pp settings on BEAMTYPE leading to LIGHTNUCLEI=1
1 parent 38e8f24 commit 36f656b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ fi
2929
: ${CTF_FREE_DISK_WAIT:="10"} # if disk on EPNs is close to full, wait X seconds before retrying to write
3030
: ${CTF_MAX_FREE_DISK_WAIT:="600"} # if not enough disk space after this time throw error
3131

32+
[[ -z ${LIGHTNUCLEI:-} ]] && export LIGHTNUCLEI="0" # temporarily, in case O2DPG is not synced yet to the version knowing LIGHTNUCLEI
33+
3234
# entropy encoding/decoding mode, '' is equivalent to '--ans-version compat' (compatible with < 09/2023 data),
3335
# use '--ans-version 1.0 --ctf-dict none' for the new per-TF dictionary mode
3436
: ${RANS_OPT:="--ans-version 1.0 --ctf-dict none"}
@@ -118,7 +120,7 @@ if [[ $SYNCMODE == 1 ]]; then
118120
ITS_CONFIG_KEY+="fastMultConfig.cutMultClusLow=${CUT_MULT_MIN_ITS:-100};fastMultConfig.cutMultClusHigh=${CUT_MULT_MAX_ITS:-200};fastMultConfig.cutMultVtxHigh=${CUT_MULT_VTX_ITS:-20};"
119121
MCH_CONFIG_KEY="MCHTracking.maxCandidates=50000;MCHTracking.maxTrackingDuration=20;"
120122
MFT_CONFIG_KEY+="MFTTracking.cutMultClusLow=0;MFTTracking.cutMultClusHigh=20000;"
121-
elif [[ $BEAMTYPE == "pp" ]]; then
123+
elif [[ $BEAMTYPE == "pp" || $LIGHTNUCLEI == "1" ]]; then
122124
ITS_CONFIG_KEY+="fastMultConfig.cutMultClusLow=${CUT_MULT_MIN_ITS:--1};fastMultConfig.cutMultClusHigh=${CUT_MULT_MAX_ITS:--1};fastMultConfig.cutMultVtxHigh=${CUT_MULT_VTX_ITS:--1};ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;"
123125
MCH_CONFIG_KEY="MCHTracking.maxCandidates=20000;MCHTracking.maxTrackingDuration=10;"
124126
MFT_CONFIG_KEY+="MFTTracking.cutMultClusLow=0;MFTTracking.cutMultClusHigh=3000;"
@@ -147,7 +149,7 @@ if [[ $SYNCMODE == 1 ]]; then
147149
has_detector ITS && TRD_FILTER_CONFIG+=" --filter-trigrec"
148150
else
149151
has_detectors_gpu TPC ITS && ITS_CONFIG_KEY+="ITSCATrackerParam.trackingMode=1;" # sets ITS gpu reco to async
150-
if [[ $BEAMTYPE == "pp" ]]; then
152+
if [[ $BEAMTYPE == "pp" || $LIGHTNUCLEI == "1" ]]; then
151153
ITS_CONFIG_KEY+="ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;"
152154
elif [[ $BEAMTYPE == "PbPb" ]]; then
153155
ITS_CONFIG_KEY+="ITSVertexerParam.lowMultBeamDistCut=0;"
@@ -169,6 +171,8 @@ if [[ $BEAMTYPE == "PbPb" ]]; then
169171
INTERACTION_TAG_CONFIG_KEY="ft0tag.minAmplitudeA=${INT_TAG_FT0A:-5};ft0tag.minAmplitudeC=${INT_TAG_FT0C:-5};ft0tag.minAmplitudeAC=${INT_TAG_FT0AC:-20};"
170172
elif [[ $BEAMTYPE == "pp" ]]; then
171173
PVERTEXING_CONFIG_KEY+="pvertexer.maxChi2TZDebris=10;"
174+
elif [[ $LIGHTNUCLEI == "1" ]]; then
175+
PVERTEXING_CONFIG_KEY+="pvertexer.maxChi2TZDebris=100;"
172176
fi
173177

174178
if [[ $BEAMTYPE == "cosmic" ]]; then
@@ -360,7 +364,7 @@ if has_processing_step MUON_SYNC_RECO; then
360364
[[ -z ${ARGS_EXTRA_PROCESS_o2_mch_reco_workflow:-} ]] && ARGS_EXTRA_PROCESS_o2_mch_reco_workflow="--digits"
361365
if [[ $IS_SIMULATED_DATA == 1 ]]; then
362366
MCH_CONFIG_KEY+="MCHTimeClusterizer.peakSearchSignalOnly=false;MCHDigitFilter.rejectBackground=false;"
363-
elif [[ $RUNTYPE == "PHYSICS" && $BEAMTYPE == "pp" ]] || [[ $RUNTYPE == "COSMICS" ]]; then
367+
elif [[ $RUNTYPE == "PHYSICS" && $BEAMTYPE == "pp" || $LIGHTNUCLEI == "1" ]] || [[ $RUNTYPE == "COSMICS" ]]; then
364368
MCH_CONFIG_KEY+="MCHTracking.chamberResolutionX=0.4;MCHTracking.chamberResolutionY=0.4;MCHTracking.sigmaCutForTracking=7.;MCHTracking.sigmaCutForImprovement=6.;"
365369
fi
366370
has_detector_reco ITS && [[ $RUNTYPE != "COSMICS" ]] && MCH_CONFIG_KEY+="MCHTimeClusterizer.irFramesOnly=true;"

0 commit comments

Comments
 (0)