Skip to content

Restrict the TRD PAI model to 14 particle species - #15863

Open
sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/pai-particle-list
Open

sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/pai-particle-list

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

Reduce the Geant4 initialisation time by setting up the PAI model only for the charged species that matter in the TRD gas, instead of all 99. This reduces the PAI setup from 0.81 s to 0.11 s per o2-sim worker.

all (99) 14 species
PAI model instances 99 14
PAI setup time 809 ms 113 ms
boxgen, 1 event: hits / steps 14986 / 17871 identical
5 pythia8pp events: hits / steps 456275 / 530601 identical
5 pythia8pp events: TRD hits / total charge 69847 / 2.42322e6 identical

Assisted by Claude Code.

Reduce the Geant4 initialisation time by setting up the PAI model only for the charged species that matter in the TRD gas, instead of all 99. This reduces the PAI setup from 0.81 s to 0.11 s per o2-sim worker.

|                                             | all (99)          | 14 species |
|---------------------------------------------|-------------------|------------|
| PAI model instances                         | 99                | 14         |
| PAI setup time                              | 809 ms            | 113 ms     |
| boxgen, 1 event: hits / steps               | 14986 / 17871     | identical  |
| 5 pythia8pp events: hits / steps            | 456275 / 530601   | identical  |
| 5 pythia8pp events: TRD hits / total charge | 69847 / 2.42322e6 | identical  |

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from a team as a code owner September 29, 2026 09:21
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 83d3068 at 2026-09-29 12:12:

No log files found

Full log here.

This branch has not been deployed

No deployments
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.

2 participants