Skip to content

TPC: rate-limit TPCScaler weight errors - #16027

Merged
wiechula merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:tpc-scaler-weight-log
Nov 11, 2026
Merged

wiechula merged 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 <[email protected]>
@wiechula
wiechula merged commit e642cfc into AliceO2Group:dev Nov 11, 2026
13 checks passed
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.

3 participants