ATLAS Offline Software
|
Wrapper to avoid constant divisions when using units. More...
#include <Units.h>
Wrapper to avoid constant divisions when using units.
The Unit class defined here is a placeholder. A specialization will be generated for each unit by the UNIT macro below. TAG is used to distinguish these specializations.
(We used to do this with a single, non-template, class, but that didn't work with clang when -ffp-exception-behavior=maytrap is used.)