Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIcmdWith3VectorAndUnit.hh>
Static Public Member Functions | |
static G4ThreeVector | GetNew3VectorValue (const char *paramString) |
static G4ThreeVector | GetNew3VectorRawValue (const char *paramString) |
static G4double | GetNewUnitValue (const char *paramString) |
Static Public Member Functions inherited from G4UIcommand | |
static G4String | ConvertToString (G4bool boolVal) |
static G4String | ConvertToString (G4int intValue) |
static G4String | ConvertToString (G4long longValue) |
static G4String | ConvertToString (G4double doubleValue) |
static G4String | ConvertToString (G4double doubleValue, const char *unitName) |
static G4String | ConvertToString (G4ThreeVector vec) |
static G4String | ConvertToString (G4ThreeVector vec, const char *unitName) |
static G4bool | ConvertToBool (const char *st) |
static G4int | ConvertToInt (const char *st) |
static G4long | ConvertToLongInt (const char *st) |
static G4double | ConvertToDouble (const char *st) |
static G4double | ConvertToDimensionedDouble (const char *st) |
static G4ThreeVector | ConvertTo3Vector (const char *st) |
static G4ThreeVector | ConvertToDimensioned3Vector (const char *st) |
static G4double | ValueOf (const char *unitName) |
static G4String | CategoryOf (const char *unitName) |
static G4String | UnitsList (const char *unitCategory) |
Additional Inherited Members | |
Protected Types inherited from G4UIcommand | |
using | yystype = G4UItokenNum::yystype |
using | tokenNum = G4UItokenNum::tokenNum |
Protected Member Functions inherited from G4UIcommand | |
G4int | CheckNewValue (const char *newValue) |
Protected Attributes inherited from G4UIcommand | |
G4bool | toBeBroadcasted = false |
G4bool | toBeFlushed = false |
G4bool | workerThreadOnly = false |
G4int | commandFailureCode = 0 |
G4String | failureDescription = "" |
Definition at line 42 of file G4UIcmdWith3VectorAndUnit.hh.
G4UIcmdWith3VectorAndUnit::G4UIcmdWith3VectorAndUnit | ( | const char * | theCommandPath, |
G4UImessenger * | theMessenger | ||
) |
Definition at line 38 of file G4UIcmdWith3VectorAndUnit.cc.
G4String G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit | ( | G4ThreeVector | vec | ) |
Definition at line 135 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by ConvertToStringWithDefaultUnit(), G4MoleculeShootMessenger::GetCurrentValue(), and G4VisCommandsViewerSet::SetNewValue().
G4String G4UIcmdWith3VectorAndUnit::ConvertToStringWithDefaultUnit | ( | G4ThreeVector | vec | ) |
Definition at line 151 of file G4UIcmdWith3VectorAndUnit.cc.
Reimplemented from G4UIcommand.
Definition at line 54 of file G4UIcmdWith3VectorAndUnit.cc.
|
static |
Definition at line 109 of file G4UIcmdWith3VectorAndUnit.cc.
|
static |
Definition at line 102 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4GlobalMagFieldMessenger::SetNewValue(), G4EmExtraParametersMessenger::SetNewValue(), G4MoleculeShootMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4HepRepMessenger::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4RTMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4ParticleGunMessenger::SetNewValue().
|
static |
void G4UIcmdWith3VectorAndUnit::SetDefaultUnit | ( | const char * | defUnit | ) |
Definition at line 214 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4MatScanMessenger::G4MatScanMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), and G4GenericMessenger::Command::SetUnit().
void G4UIcmdWith3VectorAndUnit::SetDefaultValue | ( | G4ThreeVector | defVal | ) |
Definition at line 189 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4MatScanMessenger::G4MatScanMessenger().
void G4UIcmdWith3VectorAndUnit::SetParameterName | ( | const char * | theNameX, |
const char * | theNameY, | ||
const char * | theNameZ, | ||
G4bool | omittable, | ||
G4bool | currentAsDefault = false |
||
) |
Definition at line 168 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), and G4VisCommandsViewerSet::G4VisCommandsViewerSet().
void G4UIcmdWith3VectorAndUnit::SetUnitCandidates | ( | const char * | candidateList | ) |
Definition at line 206 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by SetUnitCategory().
void G4UIcmdWith3VectorAndUnit::SetUnitCategory | ( | const char * | unitCategory | ) |
Definition at line 200 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), SetDefaultUnit(), and G4GenericMessenger::Command::SetUnit().