Bringing Safety to HEP
High-Energy Physics software is routinely trusted with complex detector
geometries spanning millions of volumes, critical tracking and reconstruction
algorithms, and multi-day simulations running 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 without requiring a big-bang rewrite.