depot/third_party/nixpkgs/doc/packages/geant4.section.md
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

963 B

Geant4

Geant4 is a toolkit for simulating how particles pass through matter. It is available through the geant4 package.

Setup hook

The setup hook included in the package applies the environment variables set by the geant4.sh script, which is typically necessary for compiling make-based programs that depend on Geant4.

Datasets

All of the Geant4 datasets provided by CERN are available through the geant4.data attrset.

Setup hook

The hook provided by the packages in geant4.data will set an appropriate environment variable in the form of G4[...]DATA. For example, for the G4RadioactiveDecay dataset, the G4RADIOACTIVEDATA environment variable is set to the value expected by Geant4.