|
Celeritas 0.7+0c5d30b
|
Convert unit systems without having to link against geant4. More...
Functions | |
| constexpr double | celeritas::convert_to_geant (units::MevEnergy const &energy, double units) |
| Convert Celeritas energy quantities to Geant4. | |
Convert unit systems without having to link against geant4.
|
inlineconstexpr |
Convert Celeritas energy quantities to Geant4.
The unit value should always be CLHEP::MeV which is defined to be unity.