CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (double desiredUnits, NumType val)
 
constexpr double geant_units::joule (6.24150e+12)
 
constexpr double geant_units::nanoseconds (1.)
 
constexpr double geant_units::operators::operator""_cm (long double length)
 
constexpr double geant_units::operators::operator""_cm (unsigned long long int length)
 
constexpr double geant_units::operators::operator""_cm3 (long double length)
 
constexpr double geant_units::operators::operator""_eV (long double energy)
 
constexpr double geant_units::operators::operator""_g (long double mass)
 
constexpr double geant_units::operators::operator""_g_per_cm3 (long double density)
 
constexpr double geant_units::operators::operator""_g_per_mole (long double mass)
 
constexpr double geant_units::operators::operator""_GeV (long double energy)
 
constexpr double geant_units::operators::operator""_kg (long double mass)
 
constexpr double geant_units::operators::operator""_m (long double length)
 
constexpr double geant_units::operators::operator""_m3 (long double length)
 
constexpr double geant_units::operators::operator""_MeV (long double energy)
 
constexpr double geant_units::operators::operator""_mg (long double mass)
 
constexpr double geant_units::operators::operator""_mg_per_cm3 (long double density)
 
constexpr double geant_units::operators::operator""_mm (long double length)
 
constexpr double geant_units::operators::operator""_mm (unsigned long long int length)
 
constexpr double geant_units::operators::operator""_mole (long double mass)
 
constexpr double geant_units::operators::operator""_ns (long double x)
 
constexpr double geant_units::operators::operator""_s (long double x)
 
constexpr double geant_units::operators::operator""_TeV (long double energy)
 
constexpr double geant_units::seconds (1.e+9)