Document Geant4 scoring and its FLUKA counterpart - #61
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ino2-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 weightedcellFluxand the RD50 damage weights.docs/scoring/flukacomparison.md— the same scoring in FLUKA:FlukaParam.scoringFile, theUSRBINcard 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 onflukaMat.inp.docs/scoring/g4scoring_alice.in— the macro used for the ALICE FLUKA/Geant4 radiation comparison, ready to append tog4config.in.The transport engines page gets a link to each of them.
Everything described is in
dev: the scoring options and the weightedcellFluxfrom the Geant4 fluence weighting, the per-worker dump merging ando2-sim-merge-g4scoring, and the damage weights for all hadrons and electrons.Assisted by Claude Code.