ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::units Namespace Reference

Legacy namespace for backward-compatibility. More...

Variables

length units
constexpr double _km = UnitConstants::km
 
constexpr double _m = UnitConstants::m
 
constexpr double _cm = UnitConstants::cm
 
constexpr double _mm = UnitConstants::mm
 
constexpr double _um = UnitConstants::um
 
constexpr double _nm = UnitConstants::nm
 
constexpr double _pm = UnitConstants::pm
 
constexpr double _fm = UnitConstants::fm
 
constexpr double _mm2 = _mm * _mm
 Higher orders.
 
time units
constexpr double _h = UnitConstants::h
 
constexpr double _s = UnitConstants::s
 
constexpr double _ms = UnitConstants::ms
 
energy/momentum/mass units
constexpr double _GeV = UnitConstants::GeV
 
constexpr double _TeV = UnitConstants::TeV
 
constexpr double _MeV = UnitConstants::MeV
 
constexpr double _keV = UnitConstants::keV
 
constexpr double _eV = UnitConstants::eV
 
constexpr double _g = UnitConstants::g
 
constexpr double _kg = UnitConstants::kg
 
charge units
constexpr double _C = UnitConstants::C
 
constexpr double _e = UnitConstants::e
 
constexpr double _e2 = _e * _e
 Higher orders.
 
magnetic field units
constexpr double _T = UnitConstants::T
 
constexpr double _Gauss = UnitConstants::Gauss
 
constexpr double _kGauss = UnitConstants::kGauss
 

Detailed Description

Legacy namespace for backward-compatibility.

Variable Documentation

constexpr double Acts::units::_C = UnitConstants::C

Definition at line 231 of file Units.hpp.

View newest version in sPHENIX GitHub at line 231 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_e2 = _e * _e

Higher orders.

Definition at line 234 of file Units.hpp.

View newest version in sPHENIX GitHub at line 234 of file Units.hpp

constexpr double Acts::units::_eV = UnitConstants::eV

Definition at line 224 of file Units.hpp.

View newest version in sPHENIX GitHub at line 224 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), and Acts::Material::meanExcitationEnergy().

constexpr double Acts::units::_fm = UnitConstants::fm

Definition at line 206 of file Units.hpp.

View newest version in sPHENIX GitHub at line 206 of file Units.hpp

constexpr double Acts::units::_g = UnitConstants::g

Definition at line 225 of file Units.hpp.

View newest version in sPHENIX GitHub at line 225 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE(), and main().

constexpr double Acts::units::_Gauss = UnitConstants::Gauss

Definition at line 240 of file Units.hpp.

View newest version in sPHENIX GitHub at line 240 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_h = UnitConstants::h

Definition at line 213 of file Units.hpp.

View newest version in sPHENIX GitHub at line 213 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE(), and half::operator float().

constexpr double Acts::units::_keV = UnitConstants::keV

Definition at line 223 of file Units.hpp.

View newest version in sPHENIX GitHub at line 223 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::IntegrationTest::constant_field_propagation().

constexpr double Acts::units::_kg = UnitConstants::kg

Definition at line 226 of file Units.hpp.

View newest version in sPHENIX GitHub at line 226 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_kGauss = UnitConstants::kGauss

Definition at line 241 of file Units.hpp.

View newest version in sPHENIX GitHub at line 241 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_km = UnitConstants::km

Definition at line 199 of file Units.hpp.

View newest version in sPHENIX GitHub at line 199 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_mm2 = _mm * _mm

Higher orders.

Definition at line 208 of file Units.hpp.

View newest version in sPHENIX GitHub at line 208 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().

constexpr double Acts::units::_ms = UnitConstants::ms

Definition at line 215 of file Units.hpp.

View newest version in sPHENIX GitHub at line 215 of file Units.hpp

constexpr double Acts::units::_nm = UnitConstants::nm

Definition at line 204 of file Units.hpp.

View newest version in sPHENIX GitHub at line 204 of file Units.hpp

constexpr double Acts::units::_pm = UnitConstants::pm

Definition at line 205 of file Units.hpp.

View newest version in sPHENIX GitHub at line 205 of file Units.hpp

constexpr double Acts::units::_s = UnitConstants::s

Definition at line 214 of file Units.hpp.

View newest version in sPHENIX GitHub at line 214 of file Units.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and TSRunAction::EndOfRunAction().

constexpr double Acts::units::_T = UnitConstants::T

Definition at line 239 of file Units.hpp.

View newest version in sPHENIX GitHub at line 239 of file Units.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), main(), FW::Options::readBField(), and FW::RootBFieldWriter< bfield_t >::run().

constexpr double Acts::units::_TeV = UnitConstants::TeV

Definition at line 221 of file Units.hpp.

View newest version in sPHENIX GitHub at line 221 of file Units.hpp

Referenced by BOOST_AUTO_TEST_CASE().