Repository navigation
Commit 83d3068
Restrict the TRD PAI model to 14 particle species
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>1 parent 93e2a54 commit 83d3068
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments