![]() |
HepMC Reference DocumentationHepMC |
Enumerations | |
enum | MomentumUnit { MEV, GEV } |
enum | LengthUnit { MM, CM } |
Functions | |
LengthUnit | default_length_unit () |
default unit is defined by configure | |
MomentumUnit | default_momentum_unit () |
default unit is defined by configure | |
std::string | name (MomentumUnit) |
convert enum to string | |
std::string | name (LengthUnit) |
convert enum to string | |
double | conversion_factor (MomentumUnit from, MomentumUnit to) |
scaling factor relative to MeV | |
double | conversion_factor (LengthUnit from, LengthUnit to) |
LengthUnit HepMC::Units::default_length_unit | ( | ) |
default unit is defined by configure
Referenced by HepMC::GenEvent::clear(), and main().
MomentumUnit HepMC::Units::default_momentum_unit | ( | ) |
default unit is defined by configure
Referenced by HepMC::GenEvent::clear(), and main().
std::string HepMC::Units::name | ( | MomentumUnit | ) |
convert enum to string
Referenced by HepMC::IO_PDG_ParticleDataTable::add_quarks_to_table(), main(), HepMC::IO_PDG_ParticleDataTable::read_entry(), HepMC::GenEvent::write(), and HepMC::GenEvent::write_units().
std::string HepMC::Units::name | ( | LengthUnit | ) |
convert enum to string
double HepMC::Units::conversion_factor | ( | MomentumUnit | from, | |
MomentumUnit | to | |||
) |
double HepMC::Units::conversion_factor | ( | LengthUnit | from, | |
LengthUnit | to | |||
) |