Geant4.10
|
#include <G4UnitsTable.hh>
Public Member Functions | |
G4UnitDefinition (const G4String &name, const G4String &symbol, const G4String &category, G4double value) | |
~G4UnitDefinition () | |
G4int | operator== (const G4UnitDefinition &) const |
G4int | operator!= (const G4UnitDefinition &) const |
const G4String & | GetName () const |
const G4String & | GetSymbol () const |
G4double | GetValue () const |
void | PrintDefinition () |
Static Public Member Functions | |
static void | BuildUnitsTable () |
static void | PrintUnitsTable () |
static void | ClearUnitsTable () |
static G4UnitsTable & | GetUnitsTable () |
static G4double | GetValueOf (const G4String &) |
static G4String | GetCategory (const G4String &) |
Definition at line 64 of file G4UnitsTable.hh.
G4UnitDefinition::G4UnitDefinition | ( | const G4String & | name, |
const G4String & | symbol, | ||
const G4String & | category, | ||
G4double | value | ||
) |
Definition at line 59 of file G4UnitsTable.cc.
References GetName().
Referenced by BuildUnitsTable().
G4UnitDefinition::~G4UnitDefinition | ( | ) |
Definition at line 87 of file G4UnitsTable.cc.
|
static |
Definition at line 193 of file G4UnitsTable.cc.
References python.hepunit::ampere, python.hepunit::angstrom, python.hepunit::atmosphere, python.hepunit::bar, python.hepunit::barn, python.hepunit::becquerel, python.hepunit::centimeter, python.hepunit::centimeter2, python.hepunit::centimeter3, python.hepunit::cm, python.hepunit::cm2, python.hepunit::cm3, python.hepunit::coulomb, python.hepunit::curie, python.hepunit::degree, python.hepunit::electronvolt, python.hepunit::eplus, python.hepunit::eV, python.hepunit::fermi, g(), G4UnitDefinition(), python.hepunit::gauss, python.hepunit::GeV, python.hepunit::gigaelectronvolt, python.hepunit::gram, python.hepunit::gray, python.hepunit::hertz, python.hepunit::joule, python.hepunit::kelvin, python.hepunit::keV, python.hepunit::kg, python.hepunit::kiloelectronvolt, python.hepunit::kilogauss, python.hepunit::kilogram, python.hepunit::kilohertz, python.hepunit::kilometer, python.hepunit::kilometer2, python.hepunit::kilometer3, python.hepunit::kilovolt, python.hepunit::m, python.hepunit::m3, python.hepunit::megaelectronvolt, python.hepunit::megahertz, python.hepunit::megavolt, python.hepunit::meter, python.hepunit::meter2, python.hepunit::meter3, python.hepunit::MeV, python.hepunit::mg, python.hepunit::microampere, python.hepunit::microbarn, python.hepunit::micrometer, python.hepunit::microsecond, python.hepunit::milliampere, python.hepunit::millibarn, python.hepunit::milligram, python.hepunit::millimeter, python.hepunit::millimeter2, python.hepunit::millimeter3, python.hepunit::milliradian, python.hepunit::millisecond, python.hepunit::mole, python.hepunit::nanoampere, python.hepunit::nanobarn, python.hepunit::nanometer, python.hepunit::nanosecond, python.hepunit::newton, python.hepunit::parsec, pascal, python.hepunit::petaelectronvolt, python.hepunit::picobarn, python.hepunit::picosecond, python.hepunit::radian, python.hepunit::second, python.hepunit::steradian, python.hepunit::teraelectronvolt, python.hepunit::tesla, python.hepunit::volt, python.hepunit::watt, and python.hepunit::weber.
Referenced by export_G4UnitsTable(), G4GDMLRead::G4GDMLRead(), GetUnitsTable(), G4DimensionedTypeUtils::GetUnitValue(), and main().
|
static |
Definition at line 348 of file G4UnitsTable.cc.
Referenced by G4RunManagerKernel::~G4RunManagerKernel().
Definition at line 160 of file G4UnitsTable.cc.
References G4Exception(), GetUnitsTable(), JustWarning, and symbol.
Referenced by G4UIcommand::CategoryOf(), G4VPrimitiveScorer::CheckAndSetUnit(), export_G4UnitsTable(), and G4AttCheck::Standard().
|
inline |
Referenced by export_G4UnitsTable(), G4UnitDefinition(), and G4DimensionedTypeUtils::HasName::operator()().
|
inline |
Referenced by export_G4UnitsTable(), and G4DimensionedTypeUtils::HasName::operator()().
|
static |
Definition at line 129 of file G4UnitsTable.cc.
References BuildUnitsTable().
Referenced by export_G4UnitsTable(), G4AttCheck::G4AttCheck(), G4BestUnit::G4BestUnit(), GetCategory(), G4DimensionedTypeUtils::GetUnitValue(), GetValueOf(), operator<<(), and G4UIcommand::UnitsList().
|
inline |
Referenced by Lesson1Wx.Counter::Adjusted(), Lesson2Wx.Counter::Adjusted(), and export_G4UnitsTable().
Definition at line 138 of file G4UnitsTable.cc.
References G4Exception(), GetUnitsTable(), JustWarning, and symbol.
Referenced by G4VPrimitiveScorer::CheckAndSetUnit(), export_G4UnitsTable(), G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), G4tgrUtils::GetDouble(), G4Analysis::GetUnitValue(), HistoManager::SetHisto(), G4VisCommandsViewerSet::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), RMC01AnalysisManagerMessenger::SetNewValue(), G4AdjointSimMessenger::SetNewValue(), G4AttCheck::Standard(), and G4UIcommand::ValueOf().
G4int G4UnitDefinition::operator!= | ( | const G4UnitDefinition & | right | ) | const |
Definition at line 122 of file G4UnitsTable.cc.
G4int G4UnitDefinition::operator== | ( | const G4UnitDefinition & | right | ) | const |
Definition at line 115 of file G4UnitsTable.cc.
void G4UnitDefinition::PrintDefinition | ( | ) |
Definition at line 183 of file G4UnitsTable.cc.
References G4cout, and G4endl.
Referenced by export_G4UnitsTable().
|
static |
Definition at line 336 of file G4UnitsTable.cc.
References G4cout.
Referenced by export_G4UnitsTable(), and G4UnitsMessenger::SetNewValue().