CMS 3D CMS Logo

Namespaces | Functions
GeantUnits.h File Reference
#include "DataFormats/Math/interface/angle_units.h"

Go to the source code of this file.

Namespaces

 geant_units
 
 geant_units::operators
 

Functions

template<class NumType >
constexpr NumType geant_units::operators::convertCm2ToMm2 (NumType centimeters)
 
template<class NumType >
constexpr NumType geant_units::operators::convertCmToMm (NumType centimeters)
 
template<class NumType >
constexpr NumType geant_units::operators::convertGeVToMeV (NumType gev)
 
template<class NumType >
constexpr NumType geant_units::operators::convertMeVToGeV (NumType mev)
 
template<class NumType >
constexpr NumType geant_units::operators::convertMm3ToM3 (NumType mm3)
 
template<class NumType >
constexpr NumType geant_units::operators::convertMmToCm (NumType millimeters)
 
template<class NumType >
constexpr NumType geant_units::operators::convertUnitsTo (long double desiredUnits, NumType val)
 
constexpr long double geant_units::joule (6.24150e+12)
 
constexpr long double geant_units::nanoseconds (1.)
 
constexpr long double geant_units::operators::operator""_cm (long double length)
 
constexpr long double geant_units::operators::operator""_cm (unsigned long long int length)
 
constexpr long double geant_units::operators::operator""_cm3 (long double length)
 
constexpr long double geant_units::operators::operator""_eV (long double energy)
 
constexpr long double geant_units::operators::operator""_g (long double mass)
 
constexpr long double geant_units::operators::operator""_g_per_cm3 (long double density)
 
constexpr long double geant_units::operators::operator""_g_per_mole (long double mass)
 
constexpr long double geant_units::operators::operator""_GeV (long double energy)
 
constexpr long double geant_units::operators::operator""_kg (long double mass)
 
constexpr long double geant_units::operators::operator""_m (long double length)
 
constexpr long double geant_units::operators::operator""_m3 (long double length)
 
constexpr long double geant_units::operators::operator""_MeV (long double energy)
 
constexpr long double geant_units::operators::operator""_mg (long double mass)
 
constexpr long double geant_units::operators::operator""_mg_per_cm3 (long double density)
 
constexpr long double geant_units::operators::operator""_mm (long double length)
 
constexpr long double geant_units::operators::operator""_mm (unsigned long long int length)
 
constexpr long double geant_units::operators::operator""_mole (long double mass)
 
constexpr long double geant_units::operators::operator""_ns (long double x)
 
constexpr long double geant_units::operators::operator""_s (long double x)
 
constexpr long double geant_units::operators::operator""_TeV (long double energy)
 
constexpr long double geant_units::seconds (1.e+9)