![]() |
HepMC Reference DocumentationHepMC |
#include <iostream>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | HepMC |
namespace | Units |
namespace | HepMC::Units |
Enumerations | |
enum | HepMC::Units::MomentumUnit { HepMC::Units::MEV, HepMC::Units::GEV } |
enum | HepMC::Units::LengthUnit { HepMC::Units::MM, HepMC::Units::CM } |
Functions | |
LengthUnit | HepMC::Units::default_length_unit () |
default unit is defined by configure | |
MomentumUnit | HepMC::Units::default_momentum_unit () |
default unit is defined by configure | |
std::string | HepMC::Units::name (MomentumUnit) |
convert enum to string | |
std::string | HepMC::Units::name (LengthUnit) |
convert enum to string | |
double | HepMC::Units::conversion_factor (MomentumUnit from, MomentumUnit to) |
scaling factor relative to MeV | |
double | HepMC::Units::conversion_factor (LengthUnit from, LengthUnit to) |