Skip to content

Document Geant4 scoring and its FLUKA counterpart - #61

Merged
sawenzel merged 1 commit into
mainfrom
doc/geant4-scoring
Sep 24, 2026
Merged

sawenzel merged 1 commit into
mainfrom
doc/geant4-scoring

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

This adds a "Geant4 scoring" section to the simulation documentation, so that users who want radiation maps out of a Geant4 run have something to follow, and so that a FLUKA/Geant4 comparison can be set up without rediscovering the traps.

The section has two pages and one file:

  • docs/scoring/README.md — how to switch scoring on in o2-sim (G4.g4scoring, G4.configMacroFile), how to write the macro (meshes, quantities, filters), the output format and merging of per-worker dumps, and the 1 MeV neutron equivalent fluence via the weighted cellFlux and the RD50 damage weights.
  • docs/scoring/flukacomparison.md — the same scoring in FLUKA: FlukaParam.scoringFile, the USRBIN card layout, a quantity-by-quantity translation table, the normalisation difference (per unit primary weight against per run), the settings that have to match before comparing, and the black-hole check on flukaMat.inp.
  • docs/scoring/g4scoring_alice.in — the macro used for the ALICE FLUKA/Geant4 radiation comparison, ready to append to g4config.in.

The transport engines page gets a link to each of them.

Everything described is in dev: the scoring options and the weighted cellFlux from the Geant4 fluence weighting, the per-worker dump merging and o2-sim-merge-g4scoring, and the damage weights for all hadrons and electrons.

Assisted by Claude Code.

This adds a Geant4 scoring section to the simulation documentation.

- A page on the scoring macro, the o2-sim options, the output format and the 1 MeV neutron equivalent weighting.
- A page translating USRBIN cards to Geant4 commands, with the normalisation and the settings to match before comparing.
- A ready-to-use macro g4scoring_alice.in, the one used for the ALICE FLUKA/Geant4 radiation comparison.

Co-Authored-By: Claude Opus 5 <[email protected]>
@sawenzel
sawenzel merged commit 044fe2c into main Sep 24, 2026
1 check failed
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