ElectronVolt.hh File Reference
#include <boost/units/base_dimension.hpp>
#include <boost/units/base_unit.hpp>
#include <boost/units/quantity.hpp>
#include <boost/units/systems/si/energy.hpp>
Include dependency graph for ElectronVolt.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | boca::units::electronvolt::EnergyBaseDimension |
struct | boca::units::electronvolt::EnergyBaseUnit |
Namespaces | |
boca | |
Boosted Collider Analysis. | |
boca::units | |
Units. | |
boca::units::electronvolt | |
Electronvolt. | |
Typedefs | |
using | boca::units::electronvolt::EnergyDimension = EnergyBaseDimension::dimension_type |
using | boca::units::electronvolt::System = boost::units::make_system< EnergyBaseUnit >::type |
using | boca::units::electronvolt::Dimensionless = boost::units::unit< boost::units::dimensionless_type, System > |
using | boca::units::electronvolt::Energy = boost::units::unit< EnergyDimension, System > |
using | boca::units::Energy = boost::units::quantity< electronvolt::Energy > |
Energy measured in electronvolt. More... | |
using | boca::units::Mass = Energy |
Mass measured in electronvolt. More... | |
using | boca::units::Momentum = Energy |
Momentum measured in electronvolt. More... | |
using | boca::units::EnergySquare = typename boost::units::multiply_typeof_helper< Energy, Energy >::type |
using | boca::units::MassSquare = typename boost::units::multiply_typeof_helper< Mass, Mass >::type |
using | boca::units::MomentumSquare = typename boost::units::multiply_typeof_helper< Momentum, Momentum >::type |
Functions | |
boca::units::BOOST_UNITS_STATIC_CONSTANT (ElectronVolt, electronvolt::Energy) | |
boca::units::BOOST_UNITS_STATIC_CONSTANT (ElectronVolts, electronvolt::Energy) | |
std::string | boca::units::Name (Energy const &energy) |
BOOST_UNITS_DEFINE_CONVERSION_FACTOR (boca::units::electronvolt::EnergyBaseUnit, boost::units::si::energy, double, 1.602176565e-19) | |
Variables | |
Momentum const | boca::units::at_rest = 0. * ElectronVolt |
Mass const | boca::units::massless = 0. * ElectronVolt |
Function Documentation
BOOST_UNITS_DEFINE_CONVERSION_FACTOR | ( | boca::units::electronvolt::EnergyBaseUnit | , |
boost::units::si::energy | , | ||
double | , | ||
1.602176565e- | 19 | ||
) |