Hammer class for dealing with units.
More...
#include <Units.hh>
Hammer class for dealing with units.
Organized as a singleton accessed by the instance()
method
Definition at line 38 of file Units.hh.
Hammer::Units::Units |
( |
const Units & |
| ) |
|
|
protecteddelete |
Hammer::Units::Units |
( |
Units && |
| ) |
|
|
protecteddelete |
Hammer::Units::~Units |
( |
| ) |
|
|
protecteddefault |
Units * Hammer::Units::getUnitsInstance |
( |
| ) |
|
|
staticprotected |
double Hammer::Units::getUnitsRescalingToMC |
( |
std::string |
mcunits, |
|
|
std::string |
localunits |
|
) |
| const |
void Hammer::Units::init |
( |
| ) |
|
|
protected |
initializes the units map
Definition at line 34 of file Units.cc.
Units & Hammer::Units::instance |
( |
| ) |
|
|
static |
Units * Hammer::Units::_theUnits = nullptr |
|
staticprivate |
std::map<std::string, double> Hammer::Units::_unitfactors |
|
private |
The documentation for this class was generated from the following files: