Skip to content

Share the scaled TPC distortions between the digitizers of a job - #2541

Draft
sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:tpc-distortion-file-standalone
Draft

sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:tpc-distortion-file-standalone

Conversation

@sawenzel

@sawenzel sawenzel commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

For distortion type 2, the TPC digitizer lanes now share the scaled distortions through tpc_scaled_distortions.root in the job directory, so that they are computed once per job instead of once per lane and timeframe. Since only one lane computes, the lanes get NWORKERS_TF threads for the computation.

The option is only passed when o2-sim-digitizer-workflow knows --tpc-distortion-file (AliceO2Group/AliceO2#16091), so nothing changes with older software. For a Pb-Pb timeframe this brings the TPC digitization from 216 s to 48 s and saves about 4 GiB of memory, with identical digits.

Assisted by Claude Code.

This passes a common distortion file to the TPC digitizer lanes, so that the scaled distortions are computed once per job.

- Used for distortion type 2 when o2-sim-digitizer-workflow knows --tpc-distortion-file.
- The file is tpc_scaled_distortions.root in the job directory.
- Only one lane computes, so the lanes get NWORKERS_TF threads for the distortions.

https://its.cern.ch/jira/browse/O2-7309

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant