Skip to content

TPC: rate-limit TPCScaler weight errors - #16027

Open
matthias-kleiner wants to merge 1 commit into
AliceO2Group:devfrom
matthias-kleiner:tpc-scaler-weight-log
Open

matthias-kleiner wants to merge 1 commit into
AliceO2Group:devfrom
matthias-kleiner:tpc-scaler-weight-log

Conversation

@matthias-kleiner

Copy link
Copy Markdown
Contributor

TPCScalerWeights::getWeight logged an error for every scaler value outside the stored weights. For a timestamp within the first ion drift time of a TPCScaler object (e.g. at the start of a run) the clamped averaging range extends beyond the timestamp, which produced hundreds of identical error lines per call. The weight (1) is unchanged; getMeanScaler now counts these values and reports them in one line per call, at most 20 times per process.

TPCScalerWeights::getWeight logged an error for every scaler value outside
the stored weights. For a timestamp within the first ion drift time of a
TPCScaler object (e.g. at the start of a run) the clamped averaging range
extends beyond the timestamp, which produced hundreds of identical error
lines per call. The weight (1) is unchanged; getMeanScaler now counts these
values and reports them in one line per call, at most 20 times per process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants