Repository navigation
Conversation
…of the ALMIRA timestamp: 12 bits filled as following [frame (8 bits) | clock cycle in the ROF (4 bits)]
…from the TF length and rounded up. This was introduced to cope with the new default ROF length of 16 BC (required by designers) which does not divide exactly the orbit.
atriolo
requested review from
fcolamar,
mconcas,
njacazio,
sawenzel and
shahor02
as code owners
November 16, 2026 16:35
njacazio
approved these changes
Nov 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ToA stored in TRK/FT3 digits is no longer a float in ns: it is encoded as it will be in the ALMIRA chip
Digit:float mToA->uint16_t mTimestampToAThe default ROF length is now 16 BC for all layers (it was 18 BC). This value was chosen after discussing with the designers and the tracking experts.
--configKeyValues "TRKAlmiraParam.roFrameLengthInBCPerLayer[0]=16;..."The number of ROFs per TF is now computed from the TF length and rounded up. The previous formula,
(3564 / ROFLength) * nOrbitsPerTF, lost the last ROFs of each TF when the ROF length does not divide the orbit (16 BC, 32 orbits: 7104 instead of 7128 ROFs). Results are unchanged for ROF lengths that divide the orbit (e.g. the previous default of 18 BC).