Skip to content

[ALICE3] TF3: cluster times at the TDC bin centre, exact multi-digit mean - #16222

Merged
njacazio merged 1 commit into
AliceO2Group:devfrom
mpuccio:iotof-cluster-time
Nov 27, 2026
Merged

njacazio merged 1 commit into
AliceO2Group:devfrom
mpuccio:iotof-cluster-time

Conversation

@mpuccio

@mpuccio mpuccio commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

The multi-digit cluster time was accumulated in a time_t, an integer: every digit time was cut to whole nanoseconds before the sum and the mean cut again, and the cluster's BC and time in the BC were derived from that. Multi-digit clusters were up to 1 ns early.

The mean now sums the BCs after the precluster's earliest BC and the digit times in their BCs separately, both small, and converts once to the BC and the time in it. A digit's time in its BC is the centre of its TDC bin instead of its start, half a bin later; the last bin of a BC ends with the BC.

Assisted by LLMs

…mean

The multi-digit cluster time was accumulated in a time_t, an integer: every
digit time was cut to whole nanoseconds before the sum and the mean cut again,
and the cluster's BC and time in the BC were derived from that. Multi-digit
clusters were up to 1 ns early.

The mean now sums the BCs after the precluster's earliest BC and the digit
times in their BCs separately, both small, and converts once to the BC and the
time in it. A digit's time in its BC is the centre of its TDC bin instead of
its start, half a bin later; the last bin of a BC ends with the BC.

Assisted by LLMs.
@maciacco

Copy link
Copy Markdown
Contributor

thanks for the fix @mpuccio !

@njacazio
njacazio enabled auto-merge (squash) November 27, 2026 10:07
@njacazio
njacazio merged commit 95393a0 into AliceO2Group:dev Nov 27, 2026
12 of 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