Bringing Safety to HEP
High-Energy Physics software runs detector geometries spanning millions of
volumes, tracking and reconstruction algorithms, and multi-day simulations on
the Grid. A single silent unit mismatch in a double can invalidate an entire
analysis or produce detector geometry that is 10× the wrong size. This post
shows how mp-units can bring compile-time safety to HEP codebases (including
a dedicated HEP system of quantities and units) and how large projects like
ATLAS can adopt it incrementally.