Skip to content

Commit

Permalink
Fix setting dump flag for corrupted raw data
Browse files Browse the repository at this point in the history
But disable producing dumps by default on EPNs.
Could be enabled by defining DPL env.var ALPIDE_ERR_DUMPS=1 or ALPIDE_ERR_DUMPS=2 for
dumping single HBF of the corrupted link or the whole TF for all links resp.
  • Loading branch information
shahor02 committed Jul 2, 2024
1 parent 2ba8adc commit b72614b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void RUDecodeData::fillChipStatistics(int icab, const ChipPixelData* chipData)
cableLinkPtr[icab]->chipStat.nHits += chipData->getData().size();
uint32_t action = 0;
if (chipData->getErrorFlags()) {
cableLinkPtr[icab]->chipStat.addErrors(*chipData, verbosity);
action = cableLinkPtr[icab]->chipStat.addErrors(*chipData, verbosity);
auto compid = ChipError::composeID(cableLinkPtr[icab]->feeID, chipData->getChipID());
auto& chErr = chipErrorsTF[compid];
chErr.first++;
Expand Down
4 changes: 1 addition & 3 deletions prodtests/full-system-test/dpl-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@ INTERACTION_TAG_CONFIG_KEY=
: ${ITSTPC_CONFIG_KEY:=}
: ${AOD_SOURCES:=$TRACK_SOURCES}
: ${AODPROD_OPT:=}
: ${ALPIDE_ERR_DUMPS:=0}

[[ "0$DISABLE_ROOT_OUTPUT" == "00" ]] && DISABLE_ROOT_OUTPUT=

if [[ -z ${ALPIDE_ERR_DUMPS:-} ]]; then
[[ $EPNSYNCMODE == 1 ]] && ALPIDE_ERR_DUMPS="1" || ALPIDE_ERR_DUMPS="0"
fi
if [[ $CTFINPUT != 1 ]]; then
GPU_OUTPUT+=",tpc-triggers"
fi
Expand Down

0 comments on commit b72614b

Please sign in to comment.