3 Commits

Author SHA1 Message Date
lars 14cfc18369 Add optional primary particle energy argument to dataset scripts
run_pbwo4 and run_sampling previously hardcoded 1 GeV mono-energetic
e- primaries. Both now accept a trailing energy_GeV CLI argument
(default 1.0, unchanged) so datasets at other energies can be
produced without recompiling.
2026-07-13 14:01:23 +02:00
lars 068cf93604 Allow MINICALOSIM_SEED env var to override RNG seed in run_pbwo4/run_sampling
Concurrent job launches can land in the same wall-clock second, causing
G4System::init's time-based seed (seed=-1) to collide and produce
byte-identical physics across separately-named shards. Falls back to
the existing time-based seed if the variable is unset, empty, or invalid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 10:04:47 +02:00
lars 01df646aa9 add run_pbwo4 C++ executable; fix missing std headers for Geant4 11.4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 09:19:55 +02:00