11 Commits

Author SHA1 Message Date
lars 62945c95c4 Add export_xsec executable for PbWO4 gamma attenuation coefficients
Builds a minimal PbWO4 geometry, forces EM physics tables via a
zero-event run, then sweeps photon energy 1 eV-10 MeV with
G4EmCalculator to dump per-process mass attenuation coefficients to CSV.
2026-06-25 16:53:23 +02:00
lars 11d01d7015 Add run_sampling executable for sampling calorimeter geometries
Mirrors run_pbwo4 but alternates thin absorber and active layers,
with four selectable configs (by name or 1-based index): pb_scint,
fe_scint, w_scint_ecal (homogeneous ECAL-like preshower + W/scint
sampling section), and pb_lar. Each is sized to reach ~20-25 X0 of
absorber despite the dilution from inactive gaps. Wired into the
top-level CMakeLists, superbuild, and Dockerfile alongside run_pbwo4.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 09:45:31 +02:00
lars 38a0273087 link run_pbwo4 to build root in both build modes
Superbuild: install step creates build/run_pbwo4 symlink pointing at
the executable in build/minicalosim-build/.
Regular build: CMAKE_RUNTIME_OUTPUT_DIRECTORY ensures the executable
lands in build/ regardless of generator.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 11:10:44 +02:00
lars 2a0a23a45b remove example files, mac files, and unused docker variants
Keep only the core C++ source and docker/Dockerfile-mini. Removes:
- exampleB4a (example executable and associated scripts)
- Geant4 macro (.mac) files
- ROOT plotting scripts
- GNUmakefile (old non-CMake build system)
- All Dockerfiles and scripts except Dockerfile-mini

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 10:45:17 +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
Jan Kieseler e849d0bac5 changed to be serialisable for multiprocessing 2024-07-23 14:01:20 +02:00
Jan Kieseler a03b3d780a fixes 2023-09-08 22:53:07 +02:00
Jan Kieseler a01466f649 python bindings to be tested (arm vs intep python issues) 2023-09-08 16:40:28 +02:00
Jan Kieseler 0adb64f763 construction wrapper seems to work 2023-09-07 23:31:46 +02:00
Jan Kieseler 3521cfd79e added bindings skeleton 2023-09-07 20:40:09 +02:00
Jan Kieseler cbb59ee8d7 initial 2023-09-07 20:35:46 +02:00