|
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) |
| double HepMC::Units::conversion_factor | ( | LengthUnit | from, | |
| LengthUnit | to | |||
| ) |
| double HepMC::Units::conversion_factor | ( | MomentumUnit | from, | |
| MomentumUnit | to | |||
| ) |
scaling factor relative to MeV
| LengthUnit HepMC::Units::default_length_unit | ( | ) |
| MomentumUnit HepMC::Units::default_momentum_unit | ( | ) |
| std::string HepMC::Units::name | ( | LengthUnit | ) |
convert enum to string
Referenced by HepMC::IO_PDG_ParticleDataTable::add_quarks_to_table(), HepMC::IO_PDG_ParticleDataTable::read_entry(), HepMC::IO_GenEvent::write_unit_info(), and HepMC::GenEvent::write_units().
| std::string HepMC::Units::name | ( | MomentumUnit | ) |
1.5.1-3