Skip to content

ALICE3: TRK/FT3 digitizer response matrix on the heap, not the stack - #16033

Merged
shahor02 merged 3 commits into
AliceO2Group:devfrom
f3sch:its/digi
Nov 4, 2026
Merged

shahor02 merged 3 commits into
AliceO2Group:devfrom
f3sch:its/digi

Conversation

@f3sch

@f3sch f3sch commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Move response matrix allocation away from the stack and to the heap to be reused across hits of the same event.
For ALICE3 very low-pT QED electrons passing at oblique angles one can run into the stack overflow limit.
Ported to ITS2/3&MFT since the keeping the buffer on the heap for synchronicity and maybe to avoid the same problem (although I have not seen it yet); in any case the code change is straightforward.

f3sch added 3 commits November 2, 2026 11:08
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
@njacazio
njacazio enabled auto-merge (squash) November 3, 2026 09:04
@f3sch

f3sch commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator Author

@shahor02 could we merge this or do you see any problems?

@shahor02
shahor02 disabled auto-merge November 4, 2026 15:02
@shahor02
shahor02 merged commit aeb75a7 into AliceO2Group:dev Nov 4, 2026
13 checks passed
@f3sch
f3sch deleted the its/digi branch November 4, 2026 15:03
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